Instructions to use hf-internal-testing/tiny-random-ctrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-ctrl with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-ctrl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from hf-internal-testing/tiny-random-ctrl: direct link, hf CLI and curl.
- Browser
- Download file 164 Bytes
-
https://huggingface.co/hf-internal-testing/tiny-random-ctrl/resolve/refs%2Fpr%2F1/tokenizer_config.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-ctrl@refs/pr/1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/hf-internal-testing/tiny-random-ctrl/resolve/refs%2Fpr%2F1/tokenizer_config.json
164 Bytes
| {"unk_token": "<unk>", "model_max_length": 256, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "ctrl", "tokenizer_class": "CTRLTokenizer"} |