asigalov61
commited on
Commit
•
aef984f
1
Parent(s):
eec9447
Upload Score_2_Performance_Transformer_Eval_Colab.ipynb
Browse files
code/Score_2_Performance_Transformer_Eval_Colab.ipynb
CHANGED
@@ -164,7 +164,7 @@
|
|
164 |
"outputs": [],
|
165 |
"source": [
|
166 |
"hf_hub_download(repo_id='asigalov61/Score-2-Performance-Transformer',\n",
|
167 |
-
" filename='
|
168 |
" local_dir='/home/ubuntu/Model/',\n",
|
169 |
" )"
|
170 |
]
|
@@ -203,7 +203,7 @@
|
|
203 |
"print('=' * 70)\n",
|
204 |
"print('Loading model checkpoint...')\n",
|
205 |
"\n",
|
206 |
-
"model_path = '/home/ubuntu/Model/
|
207 |
"\n",
|
208 |
"model.load_state_dict(torch.load(model_path, weights_only=True))\n",
|
209 |
"\n",
|
@@ -511,7 +511,7 @@
|
|
511 |
"name": "python",
|
512 |
"nbconvert_exporter": "python",
|
513 |
"pygments_lexer": "ipython3",
|
514 |
-
"version": "3.
|
515 |
}
|
516 |
},
|
517 |
"nbformat": 4,
|
|
|
164 |
"outputs": [],
|
165 |
"source": [
|
166 |
"hf_hub_download(repo_id='asigalov61/Score-2-Performance-Transformer',\n",
|
167 |
+
" filename='Score_2_Performance_Transformer_Final_Small_Trained_Model_4496_steps_1.5185_loss_0.5589_acc.pth',\n",
|
168 |
" local_dir='/home/ubuntu/Model/',\n",
|
169 |
" )"
|
170 |
]
|
|
|
203 |
"print('=' * 70)\n",
|
204 |
"print('Loading model checkpoint...')\n",
|
205 |
"\n",
|
206 |
+
"model_path = '/home/ubuntu/Model/Score_2_Performance_Transformer_Final_Small_Trained_Model_4496_steps_1.5185_loss_0.5589_acc.pth'\n",
|
207 |
"\n",
|
208 |
"model.load_state_dict(torch.load(model_path, weights_only=True))\n",
|
209 |
"\n",
|
|
|
511 |
"name": "python",
|
512 |
"nbconvert_exporter": "python",
|
513 |
"pygments_lexer": "ipython3",
|
514 |
+
"version": "3.12.7"
|
515 |
}
|
516 |
},
|
517 |
"nbformat": 4,
|