Oysiyl commited on
Commit
3f56ce1
·
verified ·
1 Parent(s): 716d816

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +52 -6
README.md CHANGED
@@ -5,17 +5,63 @@ tags:
5
  - transformers
6
  - unsloth
7
  - gemma4
 
 
8
  license: apache-2.0
9
  language:
10
  - en
11
  ---
12
 
13
- # Uploaded finetuned model
14
 
15
- - **Developed by:** Oysiyl
16
- - **License:** apache-2.0
17
- - **Finetuned from model :** unsloth/gemma-4-31B-it
 
 
18
 
19
- This gemma4 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
20
 
21
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - transformers
6
  - unsloth
7
  - gemma4
8
+ - rewrite
9
+ - lora
10
  license: apache-2.0
11
  language:
12
  - en
13
  ---
14
 
15
+ # gemma-4-31b-unslop-good-lora-v2-full
16
 
17
+ - Developed by: Oysiyl
18
+ - Base model: unsloth/gemma-4-31B-it
19
+ - Dataset: N8Programs/unslop-good (full train split)
20
+ - Training stack: Unsloth + TRL (SFTTrainer, response-only masking)
21
+ - Output type: merged full weights (fp16-style merged artifacts)
22
 
23
+ ## Training configuration (run: 69d9faf6cd8c002f31df81c4)
24
 
25
+ - max_seq_length: 8192
26
+ - epochs: 1
27
+ - batch_size: 1
28
+ - grad_accumulation: 4
29
+ - learning_rate: 1e-4
30
+ - warmup_steps: 10
31
+ - scheduler: cosine
32
+ - LoRA: r=8, alpha=8, dropout=0.0
33
+
34
+ ## Normalized training loss
35
+
36
+ ![Gemma-4-31B training loss vs normalized progress](./training_loss_vs_progress.svg)
37
+
38
+ - max_steps: 250
39
+ - observed points: 250
40
+ - first loss: 3.0173 (step 1)
41
+ - last loss: 2.0200 (step 250)
42
+
43
+ ## Long-form inference example
44
+
45
+ Input:
46
+
47
+ ```text
48
+ The wind rose all at once, as if the mountain itself had inhaled. She stood at the edge of the pass, cloak snapping like a torn banner behind her, staring down at the valley where the last lights were going out one by one. Each flame extinguished felt deliberate—an answer to a question she had been too afraid to ask. Somewhere below, bells began to ring, not in warning, but in mourning. They already knew. ‘Don’t,’ he said, breathless, reaching for her arm. His fingers brushed fabric, then air. ‘If you cross that line, there’s no coming back.’ She didn’t turn. The cold burned her lungs, sharpened her thoughts. ‘There was never a way back,’ she replied softly. ‘Only a way forward you were willing to pretend didn’t exist.’ Thunder rolled, low and ancient. For a moment, the sky fractured into white fire, and in that instant he saw her face—resolved, terrified, incandescent with purpose. Not the girl he had sworn to protect, but the woman the world had demanded she become. ‘You’ll die,’ he said. She smiled then, finally facing him, eyes bright with unshed tears. ‘So will everyone,’ she answered. ‘The difference is what we leave burning when we’re gone.’ She stepped forward. The mountain exhaled.
49
+ ```
50
+
51
+ Output:
52
+
53
+ ```text
54
+ The wind surged suddenly, as though the mountain had drawn a breath. At the edge of the pass, her cloak snapped behind her like a tattered flag. Below, the last lights of the valley flickered out one by one; each extinguished flame felt intentional, an answer to a question she hadn't dared to voice. Then came the bells, tolling not for alarm, but for grief. They knew.
55
+
56
+ "Don't," he gasped, lunging for her arm. His fingers caught cloth, then empty air. "If you cross that line, you can't come back."
57
+
58
+ She didn't look at him. The freezing air seared her lungs, clearing her mind. "There was never a way back," she said quietly. "Just a path forward you chose to ignore."
59
+
60
+ A low, ancient thunder rumbled. A flash of white fire split the sky, illuminating her face for a heartbeat—determined, frightened, alight with resolve. This wasn't the girl he had promised to shield, but the woman the world had forced her to be.
61
+
62
+ "You'll die," he said.
63
+
64
+ She turned to him then, smiling through eyes shimmering with unshed tears. "We all will," she replied. "The only thing that matters is what we leave burning."
65
+
66
+ She stepped forward. The mountain breathed out.
67
+ ```