Instructions to use mohsenfayyaz/albert-fa-base-v2_pquad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohsenfayyaz/albert-fa-base-v2_pquad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="mohsenfayyaz/albert-fa-base-v2_pquad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("mohsenfayyaz/albert-fa-base-v2_pquad") model = AutoModelForQuestionAnswering.from_pretrained("mohsenfayyaz/albert-fa-base-v2_pquad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
144e82a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7f331972658f3132bd5543a38ac47759b9234992a4e14592da884955985d9f58
size 69990551
|