Spaces:
Sleeping
Sleeping
Update train.py
Browse files
train.py
CHANGED
|
@@ -55,7 +55,7 @@ model.save_pretrained("./tuned_model")
|
|
| 55 |
tokenizer.save_pretrained("./tuned_model")
|
| 56 |
|
| 57 |
# Hugging Face Repo setup for uploading the model
|
| 58 |
-
repo_name = "
|
| 59 |
repo = Repository(local_dir="./tuned_model", clone_from=repo_name)
|
| 60 |
|
| 61 |
# Upload the model to Hugging Face Hub
|
|
|
|
| 55 |
tokenizer.save_pretrained("./tuned_model")
|
| 56 |
|
| 57 |
# Hugging Face Repo setup for uploading the model
|
| 58 |
+
repo_name = "krisha06/Python_tutor" # Replace with your repo name
|
| 59 |
repo = Repository(local_dir="./tuned_model", clone_from=repo_name)
|
| 60 |
|
| 61 |
# Upload the model to Hugging Face Hub
|