Instructions to use SynthCode-Project/OLMo2-7B-all-milestones with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SynthCode-Project/OLMo2-7B-all-milestones with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SynthCode-Project/OLMo2-7B-all-milestones", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download g2_2_oldcode_synthcm_newcode/500M/generation_config.json from SynthCode-Project/OLMo2-7B-all-milestones: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones/resolve/main/g2_2_oldcode_synthcm_newcode/500M/generation_config.json
- Command line
-
hf download hf://SynthCode-Project/OLMo2-7B-all-milestones/g2_2_oldcode_synthcm_newcode/500M/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones/resolve/main/g2_2_oldcode_synthcm_newcode/500M/generation_config.json
157 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 100257, | |
| "eos_token_id": [ | |
| 100257 | |
| ], | |
| "pad_token_id": 100277, | |
| "transformers_version": "4.57.6" | |
| } | |