Instructions to use hf-tiny-model-private/tiny-random-CTRLModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-CTRLModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-tiny-model-private/tiny-random-CTRLModel")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-CTRLModel") model = AutoModel.from_pretrained("hf-tiny-model-private/tiny-random-CTRLModel") - Notebooks
- Google Colab
- Kaggle
File size: 167 Bytes
2ca155b | 1 2 3 4 5 6 7 8 | {
"clean_up_tokenization_spaces": true,
"model_max_length": 512,
"special_tokens_map_file": null,
"tokenizer_class": "CTRLTokenizer",
"unk_token": "<unk>"
}
|