via code:
https://zhuanlan.zhihu.com/p/390826470
from transformers import AutoModelForMaskedLM, AutoTokenizer
checkpoint = “camembert-base”
model = AutoModelForMaskedLM.from_pretrained(checkpoint)
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model.push_to_hub(“dummy-model”)
tokenizer.push_to_hub(“dummy-model”)