Spaces:
Running
Running
Fix model recovery and deployment scripts - add safetensors support and Windows compatibility
Browse files- cloud_deploy.py +2 -2
cloud_deploy.py
CHANGED
|
@@ -21,7 +21,7 @@ def main():
|
|
| 21 |
|
| 22 |
# Configuration - CHANGE THESE VALUES
|
| 23 |
MODEL_PATH = "/output-checkpoint"
|
| 24 |
-
REPO_NAME = "
|
| 25 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
| 26 |
PRIVATE = False # Set to True for private repository
|
| 27 |
|
|
@@ -69,7 +69,7 @@ def main():
|
|
| 69 |
REPO_NAME,
|
| 70 |
"--hf-token", HF_TOKEN,
|
| 71 |
"--quant-types", "int8_weight_only", "int4_weight_only",
|
| 72 |
-
"--author-name", "
|
| 73 |
"--model-description", "A fine-tuned SmolLM3 model for improved text generation and conversation capabilities"
|
| 74 |
]
|
| 75 |
|
|
|
|
| 21 |
|
| 22 |
# Configuration - CHANGE THESE VALUES
|
| 23 |
MODEL_PATH = "/output-checkpoint"
|
| 24 |
+
REPO_NAME = "Tonic/smollm3-finetuned" # Change to your HF username and desired repo name
|
| 25 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
| 26 |
PRIVATE = False # Set to True for private repository
|
| 27 |
|
|
|
|
| 69 |
REPO_NAME,
|
| 70 |
"--hf-token", HF_TOKEN,
|
| 71 |
"--quant-types", "int8_weight_only", "int4_weight_only",
|
| 72 |
+
"--author-name", "Tonic",
|
| 73 |
"--model-description", "A fine-tuned SmolLM3 model for improved text generation and conversation capabilities"
|
| 74 |
]
|
| 75 |
|