tritesh commited on
Commit
a6bb181
·
verified ·
1 Parent(s): 0bcf60f

Update ML Intern artifact metadata

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -5,6 +5,7 @@ tags:
5
  - transformers
6
  - unsloth
7
  - llama
 
8
  license: apache-2.0
9
  language:
10
  - en
@@ -19,3 +20,23 @@ language:
19
  This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
20
 
21
  [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - transformers
6
  - unsloth
7
  - llama
8
+ - ml-intern
9
  license: apache-2.0
10
  language:
11
  - en
 
20
  This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
21
 
22
  [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
23
+
24
+ <!-- ml-intern-provenance -->
25
+ ## Generated by ML Intern
26
+
27
+ 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.
28
+
29
+ - Try ML Intern: https://smolagents-ml-intern.hf.space
30
+ - Source code: https://github.com/huggingface/ml-intern
31
+
32
+ ## Usage
33
+
34
+ ```python
35
+ from transformers import AutoModelForCausalLM, AutoTokenizer
36
+
37
+ model_id = 'tritesh/Erato-V1-Foundation'
38
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
39
+ model = AutoModelForCausalLM.from_pretrained(model_id)
40
+ ```
41
+
42
+ For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.