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