Instructions to use hf-internal-testing/tiny-random-LEDForQuestionAnswering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-LEDForQuestionAnswering 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-LEDForQuestionAnswering")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-LEDForQuestionAnswering") model = AutoModelForQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-LEDForQuestionAnswering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-LEDForQuestionAnswering: direct link, hf CLI and curl.
- Browser
- Download file 1.23 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-LEDForQuestionAnswering/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-LEDForQuestionAnswering@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-LEDForQuestionAnswering/resolve/refs%2Fpr%2F1/model.safetensors
1.23 MB
- Xet hash:
- 859b8e091c08f3144dff5bdd67eda999afb4cecfef57965d9516b416645f8b12
- Size of remote file:
- 1.23 MB
- SHA256:
- 5381baf73712c0e4ef22b5673a0a286c1858205e6730fbe8b8c01baeada68b91
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.