argument-backend / hugging_hub.py
p2002814
now using the best fine tuned bert model, uploaded to hugging face hub
bb34072
raw
history blame contribute delete
227 Bytes
# File to automatically push the model to hugging face hub
from huggingface_hub import upload_folder
upload_folder(
repo_id="edgar-demeude/bert-argument",
folder_path="./models/bert-argument",
repo_type="model"
)