Instructions to use hf-internal-testing/tiny-random-BlenderbotSmallForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BlenderbotSmallForConditionalGeneration with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BlenderbotSmallForConditionalGeneration") model = AutoModelForSeq2SeqLM.from_pretrained("hf-internal-testing/tiny-random-BlenderbotSmallForConditionalGeneration") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "__start__", | |
| "eos_token": "__end__", | |
| "model_max_length": 20, | |
| "name_or_path": "facebook/blenderbot_small-90M", | |
| "pad_token": "__null__", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "BlenderbotSmallTokenizer", | |
| "tokenizer_file": null, | |
| "unk_token": "__unk__" | |
| } | |