Instructions to use hf-internal-testing/tiny-random-LongformerForQuestionAnswering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-LongformerForQuestionAnswering with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="hf-internal-testing/tiny-random-LongformerForQuestionAnswering")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-LongformerForQuestionAnswering") model = AutoModelForQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-LongformerForQuestionAnswering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 8164a9d0d581cce62924aa31409afccd4d1b15571de2553068b7d6200c52ce7c
- Size of remote file:
- 557 kB
- SHA256:
- ce5f07505306582210e2dd0ee1556730c13db86eb6f038ed4b86fe5433958d0d
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.