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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f53f8f042fb695a3fc17b743402629fd8003dcee4068a523a50cdb8a5c69a0da
- Size of remote file:
- 1.18 GB
- SHA256:
- a552ef58691854fcbfe9f7e5197ad9e9801c42f4cc47f4b05c20fbd36e8c4561
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.