jeduardogruiz
commited on
Commit
•
46e4cf8
1
Parent(s):
6111c82
Create Readme.md
Browse files
Readme.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import AutoModel
|
2 |
+
|
3 |
+
model = AutoModel.from_pretrained("google-bert/bert-base-cased")
|
4 |
+
|
5 |
+
# Push the model to your namespace with the name "my-finetuned-bert".
|
6 |
+
model.push_to_hub("my-finetuned-bert")
|
7 |
+
|
8 |
+
# Push the model to an organization with the name "my-finetuned-bert".
|
9 |
+
model.push_to_hub("huggingface/my-finetuned-bert")
|