CoolFace
Modelpublic

mrcuddle/Tiny-Darkllama3.2-1B-Instruct

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes17downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/> <details><summary>See axolotl config</summary>

axolotl version: 0.6.0

yaml
base_model: unsloth/Llama-3.2-1B
bf16: false
dataset_prepared_path: last_run_prepared
datasets:
- chat_template: alpaca
  field_messages: conversations
  message_field_content: value
  message_field_role: from
  path: ChaoticNeutrals/Luminous_Opus
  split: train
  type: chat_template
debug: null
deepspeed: null
early_stopping_patience: null
evals_per_epoch: null
flash_attention: false
fp16: false
fsdp: null
fsdp_config: null
gradient_accumulation_steps: 1
gradient_checkpointing: true
group_by_length: false
hub_model_id: mrcuddle/Tiny-Darkllama3.2-1B-Instruct
is_llama_derived_model: true
learning_rate: 0.0002
load_in_4bit: false
load_in_8bit: false
local_rank: null
logging_steps: 1
lr_scheduler: linear
max_steps: 20
micro_batch_size: 1
mlflow_experiment_name: colab-example
model_type: LlamaForCausalLM
num_epochs: 4
optimizer: adamw_torch
output_dir: ./llama2
pad_to_sequence_len: true
resume_from_checkpoint: null
sample_packing: true
saves_per_epoch: null
sequence_len: 1096
special_tokens: null
strict: false
tf32: false
tokenizer_type: LlamaTokenizer
train_on_inputs: false
wandb_entity: null
wandb_log_model: null
wandb_name: null
wandb_project: null
wandb_watch: null
warmup_steps: 10
weight_decay: 0.0
xformers_attention: null

</details><br>

Tiny-Darkllama3.2-1B-Instruct

This model was trained from unsloth/Llama-3.2-1B on the ChaoticNeutrals/Luminous_Opus, Synthetic-Dark-RP, Synthetic-RP datasets.

Training and evaluation data

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0002
  • —trainbatchsize: 1
  • —evalbatchsize: 1
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 10
  • —training_steps: 20

Training results

[2025-02-11 13:09:27,300] [INFO] [axolotl.train.train:173] [PID:7240] [RANK:0] Starting trainer... [2025-02-11 13:09:27,706] [INFO] [axolotl.utils.samplers.multipack.calcminlen:203] [PID:7240] [RANK:0] gatherlenbatches: [35] [2025-02-11 13:09:27,761] [INFO] [axolotl.callbacks.ontrainbegin:39] [PID:7240] [RANK:0] The Axolotl config has been saved to the MLflow artifacts. {'loss': 3.4922, 'gradnorm': 9.877531051635742, 'learningrate': 2e-05, 'epoch': 0.03} 5% 1/20 [00:02<00:37, 1.98s/it][2025-02-11 13:09:31,221] [INFO] [axolotl.callbacks.onstepend:127] [PID:7240] [RANK:0] cuda memory usage while training: 12.320GB (+8.604GB cache, +0.565GB misc) {'loss': 3.3057, 'gradnorm': 11.661816596984863, 'learningrate': 4e-05, 'epoch': 0.06} {'loss': 2.4733, 'gradnorm': 8.751928329467773, 'learningrate': 6e-05, 'epoch': 0.09} {'loss': 2.9842, 'gradnorm': 10.503549575805664, 'learningrate': 8e-05, 'epoch': 0.11} {'loss': 2.6624, 'gradnorm': 12.645892143249512, 'learningrate': 0.0001, 'epoch': 0.14} {'loss': 2.7616, 'gradnorm': 10.691230773925781, 'learningrate': 0.00012, 'epoch': 0.17} {'loss': 2.9891, 'gradnorm': 10.076760292053223, 'learningrate': 0.00014, 'epoch': 0.2} {'loss': 2.3745, 'gradnorm': 10.034379959106445, 'learningrate': 0.00016, 'epoch': 0.23} {'loss': 2.4965, 'gradnorm': 9.778562545776367, 'learningrate': 0.00018, 'epoch': 0.26} {'loss': 2.3811, 'gradnorm': 19.146963119506836, 'learningrate': 0.0002, 'epoch': 0.29} {'loss': 3.3611, 'gradnorm': 14.556534767150879, 'learningrate': 0.00018, 'epoch': 0.31} {'loss': 2.9619, 'gradnorm': 16.88424301147461, 'learningrate': 0.00016, 'epoch': 0.34} {'loss': 2.121, 'gradnorm': 9.94941520690918, 'learningrate': 0.00014, 'epoch': 0.37} {'loss': 2.1042, 'gradnorm': 23.178285598754883, 'learningrate': 0.00012, 'epoch': 0.4} {'loss': 2.4722, 'gradnorm': 10.403461456298828, 'learningrate': 0.0001, 'epoch': 0.43} {'loss': 2.7434, 'gradnorm': 11.339975357055664, 'learningrate': 8e-05, 'epoch': 0.46} {'loss': 2.2349, 'gradnorm': 202.98793029785156, 'learningrate': 6e-05, 'epoch': 0.49} {'loss': 2.3479, 'gradnorm': 10.250885009765625, 'learningrate': 4e-05, 'epoch': 0.51} {'loss': 2.4169, 'gradnorm': 14.021651268005371, 'learningrate': 2e-05, 'epoch': 0.54} {'loss': 3.4686, 'gradnorm': 10.988056182861328, 'learningrate': 0.0, 'epoch': 0.57} {'trainruntime': 172.0118, 'trainsamplespersecond': 0.116, 'trainstepspersecond': 0.116, 'trainloss': 2.707640600204468, 'epoch': 0.57} 100% 20/20 [02:52<00:00, 8.65s/it]

Framework versions

  • —Transformers 4.48.3
  • —Pytorch 2.5.1+cu124
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0