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