File size: 384 Bytes
911d674
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from huggingface_hub import login
from transformers import AutoTokenizer, AutoModelForCausalLM

login()  # Enter your HF token

model.push_to_hub("skilllink-coach")
tokenizer.push_to_hub("skilllink-coach")
# This code pushes the model and tokenizer to the Hugging Face Hub under the name "skilllink-coach".
# Make sure you have the necessary permissions to push to this repository.