How to use this model directly from the ?/transformers library:
from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HooshvareLab/bert-fa-base-uncased-sentiment-digikala") model = AutoModelForSequenceClassification.from_pretrained("HooshvareLab/bert-fa-base-uncased-sentiment-digikala")
How to clone the model repo
git lfs install git clone https://huggingface.co/HooshvareLab/bert-fa-base-uncased-sentiment-digikala
# if you want to clone without large files – just their pointers # prepend your git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=1