enseven commited on
Commit
badeb06
·
verified ·
1 Parent(s): ade355c

Training in progress, step 250

Browse files
README.md CHANGED
@@ -1,3 +1,58 @@
1
  ---
2
- license: cc-by-nc-4.0
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: LiquidAI/LFM2.5-1.2B-Thinking
3
+ library_name: transformers
4
+ model_name: lfm-2.5-think-code
5
+ tags:
6
+ - generated_from_trainer
7
+ - sft
8
+ - trl
9
+ licence: license
10
  ---
11
+
12
+ # Model Card for lfm-2.5-think-code
13
+
14
+ This model is a fine-tuned version of [LiquidAI/LFM2.5-1.2B-Thinking](https://huggingface.co/LiquidAI/LFM2.5-1.2B-Thinking).
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="enseven/lfm-2.5-think-code", 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/e23bcau0045-bennett-university/lfm25-kodcode/runs/8tz1n3sx)
31
+
32
+
33
+
34
+ This model was trained with SFT.
35
+
36
+ ### Framework versions
37
+
38
+ - TRL: 1.9.0
39
+ - Transformers: 5.14.1
40
+ - Pytorch: 2.10.0+cu128
41
+ - Datasets: 5.0.0
42
+ - Tokenizers: 0.22.2
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @software{vonwerra2020trl,
52
+ title = {{TRL: Transformers Reinforcement Learning}},
53
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
54
+ license = {Apache-2.0},
55
+ url = {https://github.com/huggingface/trl},
56
+ year = {2020}
57
+ }
58
+ ```
adapter_config.json CHANGED
@@ -30,15 +30,15 @@
30
  "rank_pattern": {},
31
  "revision": null,
32
  "target_modules": [
33
- "out_proj",
34
- "w2",
35
  "w3",
36
  "v_proj",
37
- "k_proj",
 
38
  "q_proj",
 
39
  "in_proj",
40
- "w1",
41
- "o_proj"
42
  ],
43
  "target_parameters": null,
44
  "task_type": "CAUSAL_LM",
 
30
  "rank_pattern": {},
31
  "revision": null,
32
  "target_modules": [
33
+ "o_proj",
 
34
  "w3",
35
  "v_proj",
36
+ "w1",
37
+ "w2",
38
  "q_proj",
39
+ "k_proj",
40
  "in_proj",
41
+ "out_proj"
 
42
  ],
43
  "target_parameters": null,
44
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c0b61df776369abde888bf8e917aff9409efff2a408fc8de4f4851681bbe2ff
3
- size 88891320
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34ff8b858574d48b103bd046ada2cdc96ba364ff870bad5da9cd6583dab02e9a
3
+ size 44458040
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1be508886cd187b77d2df7d207adc5ee7e63ad4c8437c47b158efc4bdd998d08
3
- size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06dc8a62efd1d9c723956615b41c7dcee7c7ac98f02c0c894936b33b95d63ecf
3
+ size 5841