nroggendorff
commited on
Commit
•
325dd23
1
Parent(s):
3942a63
Update README.md
Browse files
README.md
CHANGED
@@ -1,54 +1,43 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
4 |
tags:
|
5 |
-
- trl
|
6 |
-
- sft
|
7 |
-
- generated_from_trainer
|
8 |
model-index:
|
9 |
-
- name: mayo
|
10 |
-
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
-
|
14 |
-
should probably proofread and complete it, then remove this comment. -->
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
19 |
|
20 |
-
|
|
|
21 |
|
22 |
-
|
23 |
|
24 |
-
|
25 |
|
26 |
-
|
|
|
27 |
|
28 |
-
|
29 |
|
30 |
-
|
|
|
31 |
|
32 |
-
|
|
|
|
|
33 |
|
34 |
-
|
35 |
|
36 |
-
|
37 |
-
- learning_rate: 0.0001
|
38 |
-
- train_batch_size: 4
|
39 |
-
- eval_batch_size: 16
|
40 |
-
- seed: 42
|
41 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
-
- lr_scheduler_type: linear
|
43 |
-
- training_steps: 112
|
44 |
-
|
45 |
-
### Training results
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
### Framework versions
|
50 |
-
|
51 |
-
- Transformers 4.39.3
|
52 |
-
- Pytorch 2.1.2
|
53 |
-
- Datasets 2.18.0
|
54 |
-
- Tokenizers 0.15.2
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
4 |
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
|
|
7 |
model-index:
|
8 |
+
- name: mayo
|
9 |
+
results: []
|
10 |
+
datasets:
|
11 |
+
- nroggendorff/mayo
|
12 |
+
language:
|
13 |
+
- en
|
14 |
---
|
15 |
|
16 |
+
# Mayonnaise LLM
|
|
|
17 |
|
18 |
+
Mayo is a language model fine-tuned on the [Mayo dataset](https://huggingface.co/datasets/nroggendorff/mayo) using Supervised Fine-Tuning (SFT) and Teacher Reinforced Learning (TRL) techniques. It is based on the [TinyLlama/TinyLlama-1.1B-Chat-v1.0 model](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0).
|
19 |
|
20 |
+
## Features
|
21 |
|
22 |
+
- Utilizes SFT and TRL techniques for improved performance
|
23 |
+
- Supports English language
|
24 |
|
25 |
+
## Usage
|
26 |
|
27 |
+
To use the Mayo LLM, you can load the model using the Hugging Face Transformers library:
|
28 |
|
29 |
+
```python
|
30 |
+
from transformers import pipeline
|
31 |
|
32 |
+
pipe = pipeline("text-generation", model="nroggendorff/mayo")
|
33 |
|
34 |
+
question = "What color is the sky?"
|
35 |
+
conv = [{"role": "system", "content": "You are a very bored real human named Noa Roggendorff."}, {"role": "user", "content": question}]
|
36 |
|
37 |
+
response = pipe(conv, max_new_tokens=2048)[0]['generated_text'][-1]['content']
|
38 |
+
print(response)
|
39 |
+
```
|
40 |
|
41 |
+
## License
|
42 |
|
43 |
+
This project is licensed under the MIT License.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|