Instructions to use aware-ai/longformer-squadv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aware-ai/longformer-squadv2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="aware-ai/longformer-squadv2")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("aware-ai/longformer-squadv2") model = AutoModelForQuestionAnswering.from_pretrained("aware-ai/longformer-squadv2") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
3d3b1d3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7928ea07adf5f243252704080a27acbeb05d6461354c6b912cac53892f56d63c
size 1794
|