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/1000M/special_tokens_map.json from SynthCode-Project/OLMo2-7B-all-milestones: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones/resolve/main/g2_2_oldcode_synthcm_newcode/1000M/special_tokens_map.json
- Command line
-
hf download hf://SynthCode-Project/OLMo2-7B-all-milestones/g2_2_oldcode_synthcm_newcode/1000M/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones/resolve/main/g2_2_oldcode_synthcm_newcode/1000M/special_tokens_map.json
581 Bytes
| { | |
| "bos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|pad|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |