Downloads · 30 days
0
daeun1013/hugginghub
hugginghub is a machine learning model from daeun1013. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
from transformers import AutoModel, AutoTokenizer from huggingfacehub import notebooklogin
Downloads · 30 days
0
Access
Public
Updated Oct 6, 2023
Repo size
19 MB
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 74%
From the Hugging Face model README
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")