Instructions to use hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple") model = AutoModelForQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple: direct link, hf CLI and curl.
- Browser
- Download file 8.97 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple/resolve/refs%2Fpr%2F2/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple@refs/pr/2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-FlaubertForQuestionAnsweringSimple/resolve/refs%2Fpr%2F2/model.safetensors
8.97 MB
- Xet hash:
- cc67c97b51ae2d29a7b66bb919747c104848d24e38343d6fc0ad0535735f6fa7
- Size of remote file:
- 8.97 MB
- SHA256:
- 08e3d509e4701e1ac3b244861ee243c63bf6b4af417ef7d184bd7cd0c4ac71b6
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.