--- base_model: microsoft/Phi-3-mini-4k-instruct library_name: peft license: mit tags: - axolotl - generated_from_trainer model-index: - name: phi3-nosys-gpt4ominiplans-27k-512rank-long results: [] --- [Built with Axolotl](https://github.com/axolotl-ai-cloud/axolotl)
See axolotl config axolotl version: `0.4.1` ```yaml # model and tokenizer base_model: microsoft/Phi-3-mini-4k-instruct # change for model trust_remote_code: true sequence_len: 2048 strict: false model_type: AutoModelForCausalLM tokenizer_type: AutoTokenizer bf16: auto pad_to_sequence_len: true save_safetensors: true datasets: - path: verifiers-for-code/sampled_10k_from_27k type: completion field: text_nosys_phi train_on_split: train val_set_size: 0.05 # lora adapter: lora lora_r: 512 lora_alpha: 32 lora_dropout: 0.05 lora_target_linear: true lora_modules_to_save: - embed_tokens - lm_head use_rslora: true # logging wandb_project: valeris wandb_name: phi3-nosys-gpt4ominiplans-27k-512rank-long output_dir: ./outputs/phi3-nosys-gpt4ominiplans-27k-512rank-long gradient_accumulation_steps: 2 gradient_checkpointing: true gradient_checkpointing_kwargs: use_reentrant: true micro_batch_size: 2 num_epochs: 3 eval_batch_size: 2 warmup_ratio: 0.05 learning_rate: 1e-5 lr_scheduler: cosine optimizer: adamw_torch hub_model_id: verifiers-for-code/phi3-nosys-gpt4ominiplans-27k-512rank-long push_to_hub: true hub_strategy: all_checkpoints hub_always_push: true evals_per_epoch: 8 saves_per_epoch: 4 logging_steps: 1 # eval_table_size: 10 # eval_max_new_tokens: 512 tokens: ["", "", "", ""] special_tokens: pad_token: "<|endoftext|>" ```

# phi3-nosys-gpt4ominiplans-27k-512rank-long This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.6378 ## 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: 1e-05 - train_batch_size: 2 - eval_batch_size: 2 - seed: 42 - distributed_type: multi-GPU - num_devices: 8 - gradient_accumulation_steps: 2 - total_train_batch_size: 32 - total_eval_batch_size: 16 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_steps: 44 - num_epochs: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:------:|:----:|:---------------:| | 1.0833 | 0.0034 | 1 | 1.0330 | | 1.0093 | 0.1279 | 38 | 0.9910 | | 0.9169 | 0.2559 | 76 | 0.8668 | | 0.795 | 0.3838 | 114 | 0.7676 | | 0.6999 | 0.5118 | 152 | 0.7243 | | 0.7246 | 0.6397 | 190 | 0.6989 | | 0.6873 | 0.7677 | 228 | 0.6816 | | 0.7014 | 0.8956 | 266 | 0.6687 | | 0.6586 | 1.0236 | 304 | 0.6585 | | 0.6532 | 1.1515 | 342 | 0.6511 | | 0.6334 | 1.2795 | 380 | 0.6463 | | 0.5968 | 1.4074 | 418 | 0.6434 | | 0.6366 | 1.5354 | 456 | 0.6414 | | 0.6126 | 1.6633 | 494 | 0.6400 | | 0.6564 | 1.7912 | 532 | 0.6391 | | 0.6296 | 1.9192 | 570 | 0.6387 | | 0.6225 | 2.0471 | 608 | 0.6383 | | 0.6354 | 2.1751 | 646 | 0.6381 | | 0.6111 | 2.3030 | 684 | 0.6379 | | 0.5899 | 2.4310 | 722 | 0.6378 | | 0.6415 | 2.5589 | 760 | 0.6378 | | 0.6443 | 2.6869 | 798 | 0.6377 | | 0.6103 | 2.8148 | 836 | 0.6377 | | 0.6451 | 2.9428 | 874 | 0.6378 | ### Framework versions - PEFT 0.11.1 - Transformers 4.44.0.dev0 - Pytorch 2.4.0 - Datasets 2.19.1 - Tokenizers 0.19.1