ktcapraz commited on
Commit
d19b41d
·
verified ·
1 Parent(s): 8f147df

Training in progress, step 50

Browse files
README.md CHANGED
@@ -1,22 +1,59 @@
1
  ---
2
  base_model: unsloth/LFM2.5-1.2B-Instruct
 
 
3
  tags:
4
- - text-generation-inference
5
- - transformers
6
  - unsloth
7
- - lfm2
8
  - trl
9
- license: apache-2.0
10
- language:
11
- - en
12
  ---
13
 
14
- # Uploaded model
15
 
16
- - **Developed by:** ktcapraz
17
- - **License:** apache-2.0
18
- - **Finetuned from model :** unsloth/LFM2.5-1.2B-Instruct
19
 
20
- This lfm2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
21
 
22
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  base_model: unsloth/LFM2.5-1.2B-Instruct
3
+ library_name: transformers
4
+ model_name: actor_alignments
5
  tags:
6
+ - generated_from_trainer
7
+ - sft
8
  - unsloth
 
9
  - trl
10
+ licence: license
 
 
11
  ---
12
 
13
+ # Model Card for actor_alignments
14
 
15
+ This model is a fine-tuned version of [unsloth/LFM2.5-1.2B-Instruct](https://huggingface.co/unsloth/LFM2.5-1.2B-Instruct).
16
+ It has been trained using [TRL](https://github.com/huggingface/trl).
 
17
 
18
+ ## Quick start
19
 
20
+ ```python
21
+ from transformers import pipeline
22
+
23
+ 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?"
24
+ generator = pipeline("text-generation", model="ktcapraz/actor_alignments", device="cuda")
25
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
26
+ print(output["generated_text"])
27
+ ```
28
+
29
+ ## Training procedure
30
+
31
+
32
+
33
+
34
+ This model was trained with SFT.
35
+
36
+ ### Framework versions
37
+
38
+ - TRL: 0.22.2
39
+ - Transformers: 4.57.3
40
+ - Pytorch: 2.10.0+cu128
41
+ - Datasets: 4.3.0
42
+ - Tokenizers: 0.22.2
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ 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{\'e}dec},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
adapter_config.json CHANGED
@@ -33,14 +33,14 @@
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
36
- "v_proj",
37
- "w1",
38
- "in_proj",
39
  "w2",
 
40
  "q_proj",
41
- "k_proj",
42
- "out_proj",
43
- "w3"
 
44
  ],
45
  "target_parameters": null,
46
  "task_type": "CAUSAL_LM",
 
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
36
+ "out_proj",
 
 
37
  "w2",
38
+ "w3",
39
  "q_proj",
40
+ "in_proj",
41
+ "v_proj",
42
+ "w1",
43
+ "k_proj"
44
  ],
45
  "target_parameters": null,
46
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a14e44ee95c3ff008e00f77ee17fd44a66d9ce66be8068be0e38e0bd3dddb8d3
3
  size 44457856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5736c925db7f325caa64064fa8c0c51ab5fa9a598482c0300d3b977751127823
3
  size 44457856
tokenizer_config.json CHANGED
@@ -4086,7 +4086,7 @@
4086
  ],
4087
  "model_max_length": 128000,
4088
  "pad_token": "<|pad|>",
4089
- "padding_side": "left",
4090
  "sp_model_kwargs": {},
4091
  "spaces_between_special_tokens": false,
4092
  "tokenizer_class": "PreTrainedTokenizerFast",
 
4086
  ],
4087
  "model_max_length": 128000,
4088
  "pad_token": "<|pad|>",
4089
+ "padding_side": "right",
4090
  "sp_model_kwargs": {},
4091
  "spaces_between_special_tokens": false,
4092
  "tokenizer_class": "PreTrainedTokenizerFast",
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:688a6761a22b79afbe6742b918b8c7c5ea39cbbdc735735112f8fe014a9713b7
3
+ size 6353