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