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 vocab.json from michaelfeil/ct2fast-codegen-2B-mono: direct link, hf CLI and curl.
- Browser
- Download file 798 kB
-
https://huggingface.co/michaelfeil/ct2fast-codegen-2B-mono/resolve/main/vocab.json
- Command line
-
hf download hf://michaelfeil/ct2fast-codegen-2B-mono/vocab.json
-
curl -L -o vocab.json https://huggingface.co/michaelfeil/ct2fast-codegen-2B-mono/resolve/main/vocab.json
798 kB
File too large to display, you can check the raw version instead.