Downloads · 30 days
22
32% of all-time downloads
BirdToast/Gemma-4-31B-glimmer-rp-v0.3
Gemma-4-31B-glimmer-rp-v0.3 is a text generation model from BirdToast. Use it when you need the model to write or continue text. It is set up for peft.
Downloads · 30 days
22
32% of all-time downloads
All-time downloads
68
Public
Repo size
522 MB
Likes
1
Public
Click a slice to open those files.
.safetensors490 MB · 94%
From the Hugging Face model README
This model was fine-tuned using SFT.
| Parameter | Value |
|---|---|
| Learning rate | 5e-06 |
| LR scheduler | SchedulerType.CONSTANT_WITH_WARMUP |
| Per-device batch size | 1 |
| Gradient accumulation | 4 |
| Effective batch size | 4 |
| Epochs | 1 |
| Max sequence length | 6144 |
| Optimizer | OptimizerNames.PAGED_ADAMW_8BIT |
| Warmup ratio | 0.05 |
| Max gradient norm | 1.0 |
| Precision | bf16 |
| Loss type | nll |
| Assistant-only loss | yes |
| Chunked cross-entropy | yes |
| Parameter | Value |
|---|---|
| Rank (r) | 16 |
| Alpha | 32 |
| Target modules | .*language_model.layers.\d+.(self_attn.(q |
| Quantization | 4-bit (nf4) |
| Dataset | Samples | Total tokens | Trainable tokens |
|---|---|---|---|
| instruct.jsonl | 932 | 902,452 | 810,983 |
| rp_generation_final.jsonl | 261 | 1,015,876 | 475,576 |
| Total | 1,193 | 1,918,328 | 1,286,559 |
model_name_or_path: gemma-4-31B-glimmer-rp-v0.2-merged
data_config: data_v3.yaml
prepared_dataset: prepared_packed_fixed
output_dir: gemma4-31b-it-glimmer-rp-r16a32-v3
chat_template_path: chat_template_with_channel_v4_train.jinja
attn_implementation: flex_attention
bf16: true
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
use_cce: true
chunked_mlp: true
chunked_mlp_chunks: 16
dataloader_num_workers: 2
dataloader_pin_memory: true
model_parallel: true
max_memory:
0: 16GiB
1: 24GiB
max_length: 6144
per_device_train_batch_size: 1
gradient_accumulation_steps: 4
pad_to_multiple_of: 128
use_peft: true
load_in_4bit: true
bnb_4bit_quant_type: nf4
lora_r: 16
lora_alpha: 32
lora_dropout: 0.0
use_rslora: false
lora_target_modules: .*language_model\.layers\.\d+\.(self_attn\.(q|k|v|o)_proj|mlp\.(gate|up|down)_proj)$
learning_rate: 5.0e-06
lr_scheduler_type: constant_with_warmup
warmup_ratio: 0.05
weight_decay: 0.0
max_grad_norm: 1.0
optim: paged_adamw_8bit
num_train_epochs: 1
saves_per_epoch: 2
save_total_limit: 4
rolling_save_steps: 30
rolling_save_total_limit: 1
assistant_only_loss: true
full_mask_reasoning: true
logging_steps: 1
disable_tqdm: false
report_to: wandb
run_name: g4-31b-it-glimmer-rp-v3
</details>
<details>
<summary>Data config</summary>
datasets:
- path: instruct.jsonl
type: chat
truncation_strategy: split
- path: rp_generation_final.jsonl
type: chat
truncation_strategy: split
shuffle_datasets: true
shuffle_combined: true
shuffle_seed: 42
eval_split: 0
split_seed: 42
assistant_only_loss: true
</details>