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") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a2bdd17f72e82ee0fcd8f67b0661a02c632b6f3dc5f8becc67207bffa1beb695
- Size of remote file:
- 412 kB
- SHA256:
- eb17760fb30917751464c65eb1c54965b858ac8f522f15894f9b06ddaf90ba36
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.