Update pytorch_model.bin
Browse files- pytorch_model.bin +3 -6
pytorch_model.bin
CHANGED
@@ -1,7 +1,4 @@
|
|
1 |
-
import
|
2 |
|
3 |
-
# Assuming
|
4 |
-
|
5 |
-
|
6 |
-
# Save the model state dictionary
|
7 |
-
torch.save(model.state_dict(), 'pytorch_model.bin')
|
|
|
1 |
+
from transformers import ViTForImageClassification
|
2 |
|
3 |
+
# Assuming you're loading the model using the ViTForImageClassification class
|
4 |
+
model = ViTForImageClassification.from_pretrained('/home/user/.cache/huggingface/hub/models--rameye--1/snapshots/c2c5c38a641e6c048f33c2db25afa765727a04ed', from_tf=True)
|
|
|
|
|
|