Instructions to use Mergeability/codegen-mono-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mergeability/codegen-mono-multi with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Mergeability/codegen-mono-multi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download task_arithmetic__aligned/generation_config.json from Mergeability/codegen-mono-multi: direct link, hf CLI and curl.
- Browser
- Download file 136 Bytes
-
https://huggingface.co/Mergeability/codegen-mono-multi/resolve/main/task_arithmetic__aligned/generation_config.json
- Command line
-
hf download hf://Mergeability/codegen-mono-multi/task_arithmetic__aligned/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Mergeability/codegen-mono-multi/resolve/main/task_arithmetic__aligned/generation_config.json
136 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 50256, | |
| "transformers_version": "5.14.1", | |
| "use_cache": true | |
| } | |