lewtun HF Staff commited on
Commit
dbe37dc
·
verified ·
1 Parent(s): 50d1d5b

Update ML Intern artifact metadata

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -8,6 +8,7 @@ tags:
8
  - hf_jobs
9
  - trackio:https://lewtun-mlintern-omr360m1.hf.space?project=huggingface&runs=smollm2-360m-openmath-cot-lr2e5-bs16&sidebar=collapsed
10
  - trl
 
11
  licence: license
12
  ---
13
 
@@ -57,4 +58,24 @@ Cite TRL as:
57
  url = {https://github.com/huggingface/trl},
58
  year = {2020}
59
  }
60
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  - hf_jobs
9
  - trackio:https://lewtun-mlintern-omr360m1.hf.space?project=huggingface&runs=smollm2-360m-openmath-cot-lr2e5-bs16&sidebar=collapsed
10
  - trl
11
+ - ml-intern
12
  licence: license
13
  ---
14
 
 
58
  url = {https://github.com/huggingface/trl},
59
  year = {2020}
60
  }
61
+ ```
62
+
63
+ <!-- ml-intern-provenance -->
64
+ ## Generated by ML Intern
65
+
66
+ This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
67
+
68
+ - Try ML Intern: https://smolagents-ml-intern.hf.space
69
+ - Source code: https://github.com/huggingface/ml-intern
70
+
71
+ ## Usage
72
+
73
+ ```python
74
+ from transformers import AutoModelForCausalLM, AutoTokenizer
75
+
76
+ model_id = 'lewtun/SmolLM2-360M-OpenMathReasoning'
77
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
78
+ model = AutoModelForCausalLM.from_pretrained(model_id)
79
+ ```
80
+
81
+ For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.