region:us
from transformers import AutoModel, AutoTokenizer
from huggingface_hub import notebook_login

# 노트북에서 로그인
notebook_login()

# 모델 초기화
model = AutoModel.from_pretrained("bert-base-uncased")
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")

# 모델 업로드
model.push_to_hub("daeun1013/hugginghub", use_auth_token=True)

# 허브에서 모델 다운로드
downloaded_model = AutoModel.from_pretrained("daeun1013/hugginghub")
downloaded_tokenizer = AutoTokenizer.from_pretrained("daeun1013/hugginghub")



