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