Instructions to use valhalla/longformer-base-4096-finetuned-squadv1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valhalla/longformer-base-4096-finetuned-squadv1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="valhalla/longformer-base-4096-finetuned-squadv1")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("valhalla/longformer-base-4096-finetuned-squadv1") model = AutoModelForQuestionAnswering.from_pretrained("valhalla/longformer-base-4096-finetuned-squadv1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- ed05d449db4373591865145e9fdddae526216bec56a0ab6f2506d8b186b8f8d1
- Size of remote file:
- 595 MB
- SHA256:
- 663ec3932c42be1d75baf80037b31411c5fb136b128fee3d5f98decadb4a3770
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.