Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,18 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: π
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 6.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
license:
|
|
|
|
| 11 |
hf_oauth: true
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# π Blindfold Model Tool
|
|
@@ -25,17 +29,18 @@ This Gradio-based tool allows you to:
|
|
| 25 |
|
| 26 |
## How to use
|
| 27 |
|
| 28 |
-
1. **
|
| 29 |
-
2. **
|
| 30 |
3. **Set output repository name**: Choose a name for your new repository
|
| 31 |
4. **Click "Process & Upload"**: The tool will download, process, and upload the model
|
| 32 |
|
| 33 |
## Requirements
|
| 34 |
|
| 35 |
- A Hugging Face account
|
| 36 |
-
- A Hugging Face token with **write** permissions (get it at https://huggingface.co/settings/tokens)
|
| 37 |
- The source model must be in safetensors format
|
| 38 |
|
|
|
|
|
|
|
| 39 |
## What gets removed
|
| 40 |
|
| 41 |
The tool removes:
|
|
@@ -43,6 +48,17 @@ The tool removes:
|
|
| 43 |
- Vision configuration sections from `config.json`
|
| 44 |
- Image/video token IDs
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
## License
|
| 47 |
|
| 48 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Blindfold Model Tool
|
| 3 |
emoji: π
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.9.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
|
| 12 |
hf_oauth: true
|
| 13 |
+
hf_oauth_scopes:
|
| 14 |
+
- write-repos
|
| 15 |
+
- manage-repos
|
| 16 |
---
|
| 17 |
|
| 18 |
# π Blindfold Model Tool
|
|
|
|
| 29 |
|
| 30 |
## How to use
|
| 31 |
|
| 32 |
+
1. **Login with your Hugging Face account**: Click the "Login" button to authenticate
|
| 33 |
+
2. **Enter the model URL**: Provide the Hugging Face model ID or full URL (e.g., `Qwen/Qwen2.5-VL-32B-Instruct`)
|
| 34 |
3. **Set output repository name**: Choose a name for your new repository
|
| 35 |
4. **Click "Process & Upload"**: The tool will download, process, and upload the model
|
| 36 |
|
| 37 |
## Requirements
|
| 38 |
|
| 39 |
- A Hugging Face account
|
|
|
|
| 40 |
- The source model must be in safetensors format
|
| 41 |
|
| 42 |
+
> **Note**: This tool uses OAuth to authenticate with your Hugging Face account. Your token is handled securely and is never stored.
|
| 43 |
+
|
| 44 |
## What gets removed
|
| 45 |
|
| 46 |
The tool removes:
|
|
|
|
| 48 |
- Vision configuration sections from `config.json`
|
| 49 |
- Image/video token IDs
|
| 50 |
|
| 51 |
+
The architecture is changed to `Qwen3_5MoeForCausalLM` for text-only inference.
|
| 52 |
+
|
| 53 |
+
## Local Development
|
| 54 |
+
|
| 55 |
+
To run this locally:
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
pip install -r requirements.txt
|
| 59 |
+
python blindfold_gradio.py
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
## License
|
| 63 |
|
| 64 |
+
MIT License
|