Metadata-Version: 2.4
Name: hf-ms-transfer
Version: 0.1.0
Summary: A tool to transfer models from Hugging Face to ModelScope
Home-page: https://github.com/your_username/hf-ms-transfer
Author: Your Name
Author-email: Your Name <your.email@example.com>
Project-URL: Homepage, https://github.com/your_username/hf-ms-transfer
Project-URL: Bug Tracker, https://github.com/your_username/hf-ms-transfer/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: huggingface_hub
Requires-Dist: modelscope
Requires-Dist: python-dotenv
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Hugging Face to ModelScope Transfer

A tool to transfer models from the Hugging Face Hub to the ModelScope platform.

## Installation

```bash
pip install .
```

## Setup

1.  Create a `.env` file in the directory where you will run the command and add your ModelScope token and username:
    ```
    ms_token="your_modelscope_token"
    ms_name="your_modelscope_username"
    ```
    Alternatively, you can provide these directly via command-line arguments.

## Usage

```bash
hf-ms-transfer <huggingface_model_id> [--private] [--ms-token <token>] [--ms-name <username>]
```

*   `<huggingface_model_id>`: The ID of the Hugging Face model to transfer (e.g., `bert-base-uncased`).
*   `--private`: (Optional) Make the ModelScope repository private (default is public).
*   `--ms-token <token>`: (Optional) Your ModelScope access token. Overrides the value in `.env`.
*   `--ms-name <username>`: (Optional) Your ModelScope username. Overrides the value in `.env`.
