Instructions to use michaelfeil/ct2fast-codegen-2B-mono with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use michaelfeil/ct2fast-codegen-2B-mono with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("michaelfeil/ct2fast-codegen-2B-mono", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from michaelfeil/ct2fast-codegen-2B-mono: direct link, hf CLI and curl.
- Browser
- Download file 90 Bytes
-
https://huggingface.co/michaelfeil/ct2fast-codegen-2B-mono/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://michaelfeil/ct2fast-codegen-2B-mono/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/michaelfeil/ct2fast-codegen-2B-mono/resolve/main/special_tokens_map.json
90 Bytes
| {"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"} |