Downloads · 30 days
29
46% of all-time downloads
cfierro/qwen3-8b-tos-game-docs-c4-lora-round2
qwen3-8b-tos-game-docs-c4-lora-round2 is a machine learning model from cfierro. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
29
46% of all-time downloads
All-time downloads
63
Public
Repo size
361 MB
Likes
0
Public
Click a slice to open those files.
.safetensors349 MB · 96%
From the Hugging Face model README
axolotl version: 0.10.0
base_model: Qwen/Qwen3-8B
model_type: Qwen3ForCausalLM
tokenizer_type: AutoTokenizer
load_in_8bit: false
load_in_4bit: false
# Round2 cumulative documents + a newly sized C4 subset, ~1:1 raw tokens.
# Build cfierro/c4-en-tos-game-replay using
# data/build_c4_replay_subset.py --docs_split 'train_verified_round2[:95%]'
# --destination_split round2_10k_docs --ratio 1.0; see ../README.md for the full command. Use the same subset for 8B/14B/32B.
# Start from the base Qwen checkpoint; retain three epochs over this larger mix.
datasets:
- path: cfierro/tos_game_synthetic_docs
type: completion
split: train_verified_round2[:95%]
field: text
- path: cfierro/c4-en-tos-game-replay
type: completion
split: round2_10k_docs
field: text
# Raw document completion: no chat template or thinking traces are inserted.
# Long documents are chunked during completion preprocessing.
sequence_len: 4096
sample_packing: true
eval_sample_packing: false
val_set_size: 0
# Evaluate only the round2 held-out game documents, identical across 8B/14B/32B.
test_datasets:
- path: cfierro/tos_game_synthetic_docs
type: completion
split: train_verified_round2[95%:]
field: text
dataset_prepared_path: /scratch/project/eu-26-55/knowledge-ft/axolotl/datasets/qwen3-8b/tos-game-docs-c4-lora-round2
output_dir: /scratch/project/eu-26-55/knowledge-ft/axolotl/models/qwen3-8b-tos-game-docs-c4-lora-round2
adapter: lora
lora_model_dir:
lora_r: 32
lora_alpha: 64
lora_dropout: 0.05
lora_target_linear: true
# One 48GB L40S on Hendrix; BF16 LoRA with activation checkpointing.
# Effective batch: 8 packed sequences, at most 32,768 tokens per update.
micro_batch_size: 1
gradient_accumulation_steps: 8
num_epochs: 3
optimizer: adamw_bnb_8bit
learning_rate: 3.5e-5
lr_scheduler: cosine
warmup_ratio: 0.03
weight_decay: 0.0
bf16: true
tf32: false
gradient_checkpointing: true
flash_attention: true
logging_steps: 1
eval_strategy: epoch
save_strategy: epoch
save_total_limit: 3
load_best_model_at_end: true
metric_for_best_model: eval_loss
greater_is_better: false
resume_from_checkpoint:
wandb_project: synthetic-document-ft
wandb_entity: cfierro
wandb_watch:
wandb_name: qwen3-8b-tos-game-docs-c4-lora-round2
wandb_log_model: "false"
hub_model_id: cfierro/qwen3-8b-tos-game-docs-c4-lora-round2
hub_strategy: end
hub_private_repo: false
# IMPORTANT for evaluation: Qwen3-8B defaults to thinking. Pass
# enable_thinking=False to tokenizer.apply_chat_template(...), both before
# and after training. This is an inference setting; raw completion training
# does not invoke the chat template and cannot set that inference default.
# Preserve the model tokenizer's EOS and padding tokens.
#
# CPU preprocessing on Hendrix (keep BF16 enabled for GPU training):
# CUDA_VISIBLE_DEVICES="" python -m axolotl.cli.preprocess axolotl_configs/continued_pretraining/round2/qwen3-8b-tos-game-docs-c4-lora-round2.yaml --bf16=False --debug
</details><br>
This model is a fine-tuned version of Qwen/Qwen3-8B on the cfierro/tos_game_synthetic_docs and the cfierro/c4-en-tos-game-replay datasets. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0 | 0 | 2.1775 |
| 1.782 | 1.0 | 716 | 1.4789 |
| 1.5153 | 2.0 | 1432 | 1.4374 |
| 1.9327 | 3.0 | 2148 | 1.4302 |