Built with Axolotl

See axolotl config

axolotl version: 0.12.2

adapter: qlora
base_model: openthaigpt/openthaigpt1.5-7b-instruct
bf16: true
chat_template: chatml
dataloader_num_workers: 2
dataset_processes: 2
datasets:
- ds_type: json
  eot_tokens:
  - <|im_end|>
  field_messages: messages
  message_property_mappings:
    content: content
    role: role
  path: iot_train_chat.json
  split: train
  type: chat_template
flash_attention: true
fp16: false
gradient_accumulation_steps: 2
gradient_checkpointing: true
learning_rate: 0.0002
load_in_4bit: true
logging_steps: 1
lora_alpha: 32
lora_dropout: 0.05
lora_r: 16
lora_target_modules:
- q_proj
- k_proj
- v_proj
- o_proj
- gate_proj
- up_proj
- down_proj
lr_scheduler: cosine
max_grad_norm: 1.0
micro_batch_size: 8
model_type: AutoModelForCausalLM
num_epochs: 2
optimizer: paged_adamw_8bit
output_dir: ./outputs/openthaigpt-iot-finetune-L4
pad_to_sequence_len: true
plugins:
- axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
preprocessing_num_workers: 2
sample_packing: true
save_steps: 50
save_strategy: steps
sequence_len: 4096
tokenizer_type: AutoTokenizer
warmup_steps: 100
xformers_attention: false

outputs/openthaigpt-iot-finetune-L4

This model is a fine-tuned version of openthaigpt/openthaigpt1.5-7b-instruct on the iot_train_chat.json dataset.

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0002
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 16
  • optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_steps: 100
  • training_steps: 52

Training results

Framework versions

  • PEFT 0.17.0
  • Transformers 4.55.2
  • Pytorch 2.5.1+cu124
  • Datasets 4.0.0
  • Tokenizers 0.21.4
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for USato/openthaigpt-iot-lora-instruct

Adapter
(6)
this model