Run this model with HF Jobs
Run SynthCode-Project/OLMo2-7B-all-milestones on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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_1_oldcode_cm_newcode__edit/250M/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_1_oldcode_cm_newcode__edit/250M/special_tokens_map.json
- Command line
-
hf download hf://SynthCode-Project/OLMo2-7B-all-milestones/g2_1_oldcode_cm_newcode__edit/250M/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/SynthCode-Project/OLMo2-7B-all-milestones/resolve/main/g2_1_oldcode_cm_newcode__edit/250M/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 | |
| } | |
| } | |