How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="m3hrdadfi/bert-fa-base-uncased-farstail-mean-tokens")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("m3hrdadfi/bert-fa-base-uncased-farstail-mean-tokens")
model = AutoModel.from_pretrained("m3hrdadfi/bert-fa-base-uncased-farstail-mean-tokens", device_map="auto")
Quick Links

FarsTail + ParsBERT

Please follow the FarsTail repo for the latest information about the dataset. For accessing the beneficiary models from this dataset, check out the Sentence-Transformer repo.

@article{amirkhani2020farstail,
  title={FarsTail: A Persian Natural Language Inference Dataset},
  author={Hossein Amirkhani, Mohammad Azari Jafari, Azadeh Amirak, Zohreh Pourjafari, Soroush Faridan Jahromi, and Zeinab Kouhkan},
  journal={arXiv preprint arXiv:2009.08820},
  year={2020}
}
Downloads last month
21
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for m3hrdadfi/bert-fa-base-uncased-farstail-mean-tokens