rishirath commited on
Commit
f86ce89
·
verified ·
1 Parent(s): 387fe02

Training in progress, epoch 1

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-4b-it
3
+ library_name: transformers
4
+ model_name: gemma-text-image-finetune
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for gemma-text-image-finetune
13
+
14
+ This model is a fine-tuned version of [google/gemma-3-4b-it](https://huggingface.co/google/gemma-3-4b-it).
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="rishirath/gemma-text-image-finetune", 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
+
31
+
32
+
33
+ This model was trained with SFT.
34
+
35
+ ### Framework versions
36
+
37
+ - TRL: 0.22.1
38
+ - Transformers: 4.56.0
39
+ - Pytorch: 2.8.0.dev20250319+cu128
40
+ - Datasets: 4.0.0
41
+ - Tokenizers: 0.22.0
42
+
43
+ ## Citations
44
+
45
+
46
+
47
+ Cite TRL as:
48
+
49
+ ```bibtex
50
+ @misc{vonwerra2022trl,
51
+ title = {{TRL: Transformer Reinforcement Learning}},
52
+ 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},
53
+ year = 2020,
54
+ journal = {GitHub repository},
55
+ publisher = {GitHub},
56
+ howpublished = {\url{https://github.com/huggingface/trl}}
57
+ }
58
+ ```
adapter_config.json CHANGED
@@ -28,16 +28,16 @@
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
 
 
 
31
  "v_proj",
32
- "up_proj",
33
  "fc2",
34
- "fc1",
35
- "down_proj",
36
- "o_proj",
37
- "out_proj",
38
  "gate_proj",
39
- "k_proj",
40
- "q_proj"
 
41
  ],
42
  "target_parameters": null,
43
  "task_type": "CAUSAL_LM",
 
28
  "rank_pattern": {},
29
  "revision": null,
30
  "target_modules": [
31
+ "down_proj",
32
+ "fc1",
33
+ "k_proj",
34
  "v_proj",
 
35
  "fc2",
36
+ "up_proj",
 
 
 
37
  "gate_proj",
38
+ "q_proj",
39
+ "o_proj",
40
+ "out_proj"
41
  ],
42
  "target_parameters": null,
43
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b7f060dded3d174be943da15bf53be935a5ecba22c53181692103c01cd23b89
3
  size 5524138880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f2f51f76d1a80dccc9c318964e1abce4dc51a28388243c264b194b8c508992c
3
  size 5524138880
runs/Sep01_11-22-26_f80229a91f19/events.out.tfevents.1756725753.f80229a91f19.2175.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:032c968384ca55879d7f8c1f6c29d7631e96bf526d2bdb897436b3839fa91bb2
3
- size 7323
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:658af015716d7b0d8f746e2727c1d2647aba4ddf92575bfed39ffaf74a685003
3
+ size 8073
runs/Sep01_11-34-41_8960e6502684/events.out.tfevents.1756726488.8960e6502684.282.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d16b764a61f7acda412d431db993c93e886f2951d189ec4219c84c4caafad7b9
3
+ size 7322
runs/Sep01_11-37-38_8960e6502684/events.out.tfevents.1756726668.8960e6502684.282.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4f231b884d0dc223129fe76b77b5db98ed149841d79b350ee844e5a1e781ab8
3
+ size 7274
runs/Sep01_11-39-03_8960e6502684/events.out.tfevents.1756726749.8960e6502684.675.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1846e7b590b8324bbeb84ef0ed8b998db2b7fe40ec584f4709aaeeb9f9056fd1
3
+ size 7322
runs/Sep01_11-41-47_8960e6502684/events.out.tfevents.1756726913.8960e6502684.675.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48188a5763471f0cb71ca2c7547973b55d68392f3a902aa6210541e9552eab0c
3
+ size 7322
runs/Sep01_11-45-49_8960e6502684/events.out.tfevents.1756727155.8960e6502684.938.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcf23a553653ce50c77786ab06a538138508d98b764816e2ba188983977702c9
3
+ size 7322
runs/Sep01_11-48-54_8960e6502684/events.out.tfevents.1756727341.8960e6502684.1191.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1971bdcf9214c600bb5bc07b694a216eb6d63ab56130df25bd0673cde5c44a2
3
+ size 7839
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:71b6c71604c784cfaef8032e4c47e1758029330970bdb8d507259312501a79f6
3
  size 6161
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fd9009f301d2e964deb6b17a27dc66ed1f6b0b1d364ed0aeced9c1af1cfc9b2
3
  size 6161