SHIROI-07 commited on
Commit
911d674
·
verified ·
1 Parent(s): d28124f

Update push.py

Browse files
Files changed (1) hide show
  1. push.py +11 -0
push.py CHANGED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import login
2
+ from transformers import AutoTokenizer, AutoModelForCausalLM
3
+
4
+ login() # Enter your HF token
5
+
6
+ model.push_to_hub("skilllink-coach")
7
+ tokenizer.push_to_hub("skilllink-coach")
8
+ # This code pushes the model and tokenizer to the Hugging Face Hub under the name "skilllink-coach".
9
+ # Make sure you have the necessary permissions to push to this repository.
10
+
11
+