USato/openthaigpt-iot-lora-instruct
04
<!-- 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.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
</details><br>
outputs/openthaigpt-iot-finetune-L4
This model is a fine-tuned version of openthaigpt/openthaigpt1.5-7b-instruct on the iottrainchat.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
- trainbatchsize: 8
- evalbatchsize: 8
- seed: 42
- gradientaccumulationsteps: 2
- totaltrainbatch_size: 16
- optimizer: Use OptimizerNames.PAGEDADAMW8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lrschedulertype: cosine
- lrschedulerwarmup_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
