Instructions to use hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration") model = AutoModelForSeq2SeqLM.from_pretrained("hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download onnx/encoder_model.onnx from hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration: direct link, hf CLI and curl.
- Browser
- Download file 128 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration/resolve/d99e681ec0f9917ebc8ce20c8c4be5adddc3ec63/onnx/encoder_model.onnx
- Command line
-
hf download hf://hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration@d99e681ec0f9917ebc8ce20c8c4be5adddc3ec63/onnx/encoder_model.onnx
-
curl -L -o encoder_model.onnx https://huggingface.co/hf-internal-testing/tiny-random-BlenderbotForConditionalGeneration/resolve/d99e681ec0f9917ebc8ce20c8c4be5adddc3ec63/onnx/encoder_model.onnx
128 kB
- Xet hash:
- e1493c10ad68997a2bf1130cdfb1b14110ea6851da7ba639e878ef9c88a712be
- Size of remote file:
- 128 kB
- SHA256:
- da67ea3755ededd549fd57e5eb11bc1981278bf02c81ca91d1fb02174e8454a8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.