jkilpatrick/tension
Browse files- .gitattributes +1 -0
- README.md +37 -63
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- runs/Nov06_22-54-32_40eb697e7e59/events.out.tfevents.1730933682.40eb697e7e59.1849.0 +3 -0
- tokenizer.json +0 -0
- training_args.bin +2 -2
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,83 +1,57 @@
|
|
1 |
---
|
2 |
base_model: NousResearch/Meta-Llama-3.1-8B-Instruct
|
3 |
-
|
4 |
-
|
5 |
-
library_name: peft
|
6 |
-
license: llama3.1
|
7 |
tags:
|
|
|
8 |
- trl
|
9 |
- sft
|
10 |
-
|
11 |
-
model-index:
|
12 |
-
- name: llama381binstruct_summarize_short
|
13 |
-
results: []
|
14 |
---
|
15 |
|
16 |
-
|
17 |
-
should probably proofread and complete it, then remove this comment. -->
|
18 |
-
|
19 |
-
# llama381binstruct_summarize_short
|
20 |
-
|
21 |
-
This model is a fine-tuned version of [NousResearch/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/NousResearch/Meta-Llama-3.1-8B-Instruct) on the generator dataset.
|
22 |
-
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 2.8489
|
24 |
-
|
25 |
-
## Model description
|
26 |
|
27 |
-
|
|
|
28 |
|
29 |
-
##
|
30 |
|
31 |
-
|
|
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
36 |
|
37 |
## Training procedure
|
38 |
|
39 |
-
|
|
|
|
|
40 |
|
41 |
-
|
42 |
-
- learning_rate: 0.0002
|
43 |
-
- train_batch_size: 1
|
44 |
-
- eval_batch_size: 8
|
45 |
-
- seed: 42
|
46 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
-
- lr_scheduler_type: linear
|
48 |
-
- lr_scheduler_warmup_steps: 30
|
49 |
-
- training_steps: 500
|
50 |
|
51 |
-
|
|
|
|
|
|
|
|
|
52 |
|
53 |
-
|
54 |
-
|:-------------:|:-----:|:----:|:---------------:|
|
55 |
-
| 1.7667 | 1.25 | 25 | 1.7939 |
|
56 |
-
| 0.7156 | 2.5 | 50 | 1.8135 |
|
57 |
-
| 0.3944 | 3.75 | 75 | 1.8429 |
|
58 |
-
| 0.2053 | 5.0 | 100 | 2.0996 |
|
59 |
-
| 0.1153 | 6.25 | 125 | 2.3466 |
|
60 |
-
| 0.0316 | 7.5 | 150 | 2.6045 |
|
61 |
-
| 0.0224 | 8.75 | 175 | 2.5789 |
|
62 |
-
| 0.0198 | 10.0 | 200 | 2.5765 |
|
63 |
-
| 0.0112 | 11.25 | 225 | 2.7507 |
|
64 |
-
| 0.0053 | 12.5 | 250 | 2.6317 |
|
65 |
-
| 0.0047 | 13.75 | 275 | 2.6792 |
|
66 |
-
| 0.0039 | 15.0 | 300 | 2.7628 |
|
67 |
-
| 0.0041 | 16.25 | 325 | 2.7830 |
|
68 |
-
| 0.0013 | 17.5 | 350 | 2.7905 |
|
69 |
-
| 0.0014 | 18.75 | 375 | 2.8053 |
|
70 |
-
| 0.0017 | 20.0 | 400 | 2.8236 |
|
71 |
-
| 0.0017 | 21.25 | 425 | 2.8352 |
|
72 |
-
| 0.0012 | 22.5 | 450 | 2.8429 |
|
73 |
-
| 0.0011 | 23.75 | 475 | 2.8473 |
|
74 |
-
| 0.0013 | 25.0 | 500 | 2.8489 |
|
75 |
|
76 |
|
77 |
-
### Framework versions
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
base_model: NousResearch/Meta-Llama-3.1-8B-Instruct
|
3 |
+
library_name: transformers
|
4 |
+
model_name: llama381binstruct_summarize_short
|
|
|
|
|
5 |
tags:
|
6 |
+
- generated_from_trainer
|
7 |
- trl
|
8 |
- sft
|
9 |
+
licence: license
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
+
# Model Card for llama381binstruct_summarize_short
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
This model is a fine-tuned version of [NousResearch/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/NousResearch/Meta-Llama-3.1-8B-Instruct).
|
15 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
+
## Quick start
|
18 |
|
19 |
+
```python
|
20 |
+
from transformers import pipeline
|
21 |
|
22 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
23 |
+
generator = pipeline("text-generation", model="JKilpatrick/llama381binstruct_summarize_short", device="cuda")
|
24 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
+
print(output["generated_text"])
|
26 |
+
```
|
27 |
|
28 |
## Training procedure
|
29 |
|
30 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/jacob-kilpatrick/huggingface/runs/106enyqe)
|
31 |
+
|
32 |
+
This model was trained with SFT.
|
33 |
|
34 |
+
### Framework versions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
+
- TRL: 0.12.0
|
37 |
+
- Transformers: 4.46.2
|
38 |
+
- Pytorch: 2.5.0+cu121
|
39 |
+
- Datasets: 3.1.0
|
40 |
+
- Tokenizers: 0.20.3
|
41 |
|
42 |
+
## Citations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
|
|
|
45 |
|
46 |
+
Cite TRL as:
|
47 |
+
|
48 |
+
```bibtex
|
49 |
+
@misc{vonwerra2022trl,
|
50 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
51 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
52 |
+
year = 2020,
|
53 |
+
journal = {GitHub repository},
|
54 |
+
publisher = {GitHub},
|
55 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
56 |
+
}
|
57 |
+
```
|
adapter_config.json
CHANGED
@@ -20,13 +20,13 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"o_proj",
|
24 |
-
"v_proj",
|
25 |
-
"down_proj",
|
26 |
-
"gate_proj",
|
27 |
"q_proj",
|
|
|
|
|
|
|
28 |
"up_proj",
|
29 |
-
"
|
|
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
|
|
|
|
23 |
"q_proj",
|
24 |
+
"v_proj",
|
25 |
+
"k_proj",
|
26 |
+
"o_proj",
|
27 |
"up_proj",
|
28 |
+
"down_proj",
|
29 |
+
"gate_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167832240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38143cefb99da77cd7a201eb2c7bbda8828ee3533b17c65f43041d5e5182ae16
|
3 |
size 167832240
|
runs/Nov06_22-54-32_40eb697e7e59/events.out.tfevents.1730933682.40eb697e7e59.1849.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e3b533ea7355e20f12327becef71bfd459b135ddadb22bd888d4dba594d82d2
|
3 |
+
size 20268
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee77a671a9673d65d90f492135a0bffc87228720cce1637269443d6213264ec4
|
3 |
+
size 5624
|