Run this model with HF Jobs
Run RickyRubini/my-phi-tuned on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/RickyRubini/my-phi-tuned. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/RickyRubini/my-phi-tuned on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use RickyRubini/my-phi-tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RickyRubini/my-phi-tuned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-1_5") model = PeftModel.from_pretrained(base_model, "RickyRubini/my-phi-tuned") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (48)
- README.mdAdded+59
- adapter_config.jsonAdded+33
- adapter_model.safetensorsAdded+3
- added_tokens.jsonAdded+40
- all_results.jsonAdded+9
- checkpoint-100/README.mdAdded+202
- checkpoint-100/adapter_config.jsonAdded+33
- checkpoint-100/adapter_model.safetensorsAdded+3
- checkpoint-100/added_tokens.jsonAdded+40
- checkpoint-100/merges.txtAdded
- checkpoint-100/optimizer.ptAdded+3
- checkpoint-100/rng_state.pthAdded+3
- checkpoint-100/scaler.ptAdded+3
- checkpoint-100/scheduler.ptAdded+3
- checkpoint-100/special_tokens_map.jsonAdded+24
- checkpoint-100/tokenizer.jsonAdded
- checkpoint-100/tokenizer_config.jsonAdded+329
- checkpoint-100/trainer_state.jsonAdded+193
- checkpoint-100/training_args.binAdded+3
- checkpoint-100/vocab.jsonAdded
- checkpoint-186/README.mdAdded+202
- checkpoint-186/adapter_config.jsonAdded+33
- checkpoint-186/adapter_model.safetensorsAdded+3
- checkpoint-186/added_tokens.jsonAdded+40
- checkpoint-186/merges.txtAdded
- checkpoint-186/optimizer.ptAdded+3
- checkpoint-186/rng_state.pthAdded+3
- checkpoint-186/scaler.ptAdded+3
- checkpoint-186/scheduler.ptAdded+3
- checkpoint-186/special_tokens_map.jsonAdded+24
- checkpoint-186/tokenizer.jsonAdded
- checkpoint-186/tokenizer_config.jsonAdded+329
- checkpoint-186/trainer_state.jsonAdded+329
- checkpoint-186/training_args.binAdded+3
- checkpoint-186/vocab.jsonAdded
- llamaboard_config.yamlAdded+78
- merges.txtAdded
- running_log.txtAdded+391
- special_tokens_map.jsonAdded+24
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+329
- train_results.jsonAdded+9
- trainer_log.jsonlAdded+38
- trainer_state.jsonAdded+339
- training_args.binAdded+3
- training_args.yamlAdded+33
- training_loss.pngAdded
- vocab.jsonAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859---library_name: peftlicense: otherbase_model: microsoft/phi-1_5tags:- llama-factory- lora- generated_from_trainermodel-index:- name: train_2025-04-25-20-31-25 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# train_2025-04-25-20-31-25
This model is a fine-tuned version of [microsoft/phi-1_5](https://huggingface.co/microsoft/phi-1_5) on the alpaca_en_demo 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: 2- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 8- total_train_batch_size: 16- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine- num_epochs: 3.0- mixed_precision_training: Native AMP
### Training results
### Framework versions
- PEFT 0.12.0- Transformers 4.49.0- Pytorch 2.6.0+cu124- Datasets 3.2.0- Tokenizers 0.21.0123456789101112131415161718192021222324252627282930313233{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "microsoft/phi-1_5", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_dropout": 0, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "dense", "fc2", "v_proj", "fc1", "q_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:b3efd1551d95ea85bfd956fd26deea0a623a2fafdf833b6948c8105ae9337cf3size 2834893612345678910111213141516171819202122232425262728293031323334353637383940{ "\t\t": 50294, "\t\t\t": 50293, "\t\t\t\t": 50292, "\t\t\t\t\t": 50291, "\t\t\t\t\t\t": 50290, "\t\t\t\t\t\t\t": 50289, "\t\t\t\t\t\t\t\t": 50288, "\t\t\t\t\t\t\t\t\t": 50287, " ": 50286, " ": 50285, " ": 50284, " ": 50283, " ": 50282, " ": 50281, " ": 50280, " ": 50279, " ": 50278, " ": 50277, " ": 50276, " ": 50275, " ": 50274, " ": 50273, " ": 50272, " ": 50271, " ": 50270, " ": 50269, " ": 50268, " ": 50267, " ": 50266, " ": 50265, " ": 50264, " ": 50263, " ": 50262, " ": 50261, " ": 50260, " ": 50259, " ": 50258, " ": 50257}123456789{ "epoch": 2.96, "num_input_tokens_seen": 751440, "total_flos": 5953618578309120.0, "train_loss": 1.0870414747986743, "train_runtime": 695.659, "train_samples_per_second": 4.312, "train_steps_per_second": 0.267}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: microsoft/phi-1_5library_name: peft---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [More Information Needed]- **Funded by [optional]:** [More Information Needed]- **Shared by [optional]:** [More Information Needed]- **Model type:** [More Information Needed]- **Language(s) (NLP):** [More Information Needed]- **License:** [More Information Needed]- **Finetuned from model [optional]:** [More Information Needed]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]- **Demo [optional]:** [More Information Needed]
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
[More Information Needed]
### Downstream Use [optional]
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
[More Information Needed]
### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
[More Information Needed]
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
[More Information Needed]
### Recommendations
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
## Training Details
### Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
[More Information Needed]
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
[More Information Needed]
#### Metrics
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
<!-- Relevant interpretability work for the model goes here -->
[More Information Needed]
## Environmental Impact
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
- **Hardware Type:** [More Information Needed]- **Hours used:** [More Information Needed]- **Cloud Provider:** [More Information Needed]- **Compute Region:** [More Information Needed]- **Carbon Emitted:** [More Information Needed]
## Technical Specifications [optional]
### Model Architecture and Objective
[More Information Needed]
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
[More Information Needed]
## Citation [optional]
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
**BibTeX:**
[More Information Needed]
**APA:**
[More Information Needed]
## Glossary [optional]
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed]### Framework versions
- PEFT 0.12.0123456789101112131415161718192021222324252627282930313233{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "microsoft/phi-1_5", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_dropout": 0, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "dense", "fc2", "v_proj", "fc1", "q_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:259b9affed42c55a69b163b679de39d8664d91dd23bdd442a9aefc16c5d681bdsize 2834893612345678910111213141516171819202122232425262728293031323334353637383940{ "\t\t": 50294, "\t\t\t": 50293, "\t\t\t\t": 50292, "\t\t\t\t\t": 50291, "\t\t\t\t\t\t": 50290, "\t\t\t\t\t\t\t": 50289, "\t\t\t\t\t\t\t\t": 50288, "\t\t\t\t\t\t\t\t\t": 50287, " ": 50286, " ": 50285, " ": 50284, " ": 50283, " ": 50282, " ": 50281, " ": 50280, " ": 50279, " ": 50278, " ": 50277, " ": 50276, " ": 50275, " ": 50274, " ": 50273, " ": 50272, " ": 50271, " ": 50270, " ": 50269, " ": 50268, " ": 50267, " ": 50266, " ": 50265, " ": 50264, " ": 50263, " ": 50262, " ": 50261, " ": 50260, " ": 50259, " ": 50258, " ": 50257}123version https://git-lfs.github.com/spec/v1oid sha256:dedf1fc5cd47c2670e33c4b73ad49a0218db4dcf23ab0d01ee3351c6a6d9d99esize 56864954123version https://git-lfs.github.com/spec/v1oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36size 14244123version https://git-lfs.github.com/spec/v1oid sha256:ac4a558c5b93581a5c41e2922404490319bcd15a10296c927a72a41012ff7f27size 988123version https://git-lfs.github.com/spec/v1oid sha256:408932f4d4ccc51dad74863a2db96f98987ed5405ae5391d9438242087f1d31asize 1064123456789101112131415161718192021222324{ "bos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329{ "add_prefix_space": false, "added_tokens_decoder": { "50256": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50257": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50258": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50259": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50260": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50261": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50262": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50263": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50264": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50265": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50266": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50267": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50268": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50269": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50270": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50271": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50272": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50273": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50274": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50275": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50276": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50277": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50278": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50279": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50280": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50281": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50282": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50283": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50284": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50285": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50286": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50287": { "content": "\t\t\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50288": { "content": "\t\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50289": { "content": "\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50290": { "content": "\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50291": { "content": "\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50292": { "content": "\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50293": { "content": "\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50294": { "content": "\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false } }, "bos_token": "<|endoftext|>", "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ 'System: ' + system_message + '\n' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}", "clean_up_tokenization_spaces": true, "eos_token": "<|endoftext|>", "extra_special_tokens": {}, "model_max_length": 2048, "pad_token": "<|endoftext|>", "padding_side": "right", "return_token_type_ids": false, "split_special_tokens": false, "tokenizer_class": "CodeGenTokenizer", "unk_token": "<|endoftext|>"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193{ "best_metric": null, "best_model_checkpoint": null, "epoch": 1.592, "eval_steps": 500, "global_step": 100, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.08, "grad_norm": 0.15088137984275818, "learning_rate": 0.0001996436098130433, "loss": 1.2927, "num_input_tokens_seen": 19808, "step": 5 }, { "epoch": 0.16, "grad_norm": 0.19938229024410248, "learning_rate": 0.00019857697953148037, "loss": 1.2422, "num_input_tokens_seen": 40224, "step": 10 }, { "epoch": 0.24, "grad_norm": 0.27860134840011597, "learning_rate": 0.00019680771188662044, "loss": 1.2413, "num_input_tokens_seen": 61648, "step": 15 }, { "epoch": 0.32, "grad_norm": 0.26041844487190247, "learning_rate": 0.00019434841787099803, "loss": 1.2616, "num_input_tokens_seen": 80256, "step": 20 }, { "epoch": 0.4, "grad_norm": 0.2209373116493225, "learning_rate": 0.00019121662684969335, "loss": 1.1089, "num_input_tokens_seen": 104656, "step": 25 }, { "epoch": 0.48, "grad_norm": 0.2532016634941101, "learning_rate": 0.00018743466161445823, "loss": 1.0468, "num_input_tokens_seen": 125376, "step": 30 }, { "epoch": 0.56, "grad_norm": 0.19666029512882233, "learning_rate": 0.00018302947927123766, "loss": 1.1192, "num_input_tokens_seen": 149040, "step": 35 }, { "epoch": 0.64, "grad_norm": 0.15390023589134216, "learning_rate": 0.0001780324790952092, "loss": 1.1632, "num_input_tokens_seen": 168016, "step": 40 }, { "epoch": 0.72, "grad_norm": 0.20260632038116455, "learning_rate": 0.000172479278722912, "loss": 1.1437, "num_input_tokens_seen": 187968, "step": 45 }, { "epoch": 0.8, "grad_norm": 0.24190717935562134, "learning_rate": 0.00016640946027672392, "loss": 1.1218, "num_input_tokens_seen": 204816, "step": 50 }, { "epoch": 0.88, "grad_norm": 0.19498051702976227, "learning_rate": 0.0001598662882312615, "loss": 1.0757, "num_input_tokens_seen": 227040, "step": 55 }, { "epoch": 0.96, "grad_norm": 0.23396489024162292, "learning_rate": 0.00015289640103269625, "loss": 1.1811, "num_input_tokens_seen": 243792, "step": 60 }, { "epoch": 1.032, "grad_norm": 0.19779853522777557, "learning_rate": 0.0001455494786690634, "loss": 1.11, "num_input_tokens_seen": 262080, "step": 65 }, { "epoch": 1.112, "grad_norm": 0.1842840313911438, "learning_rate": 0.0001378778885610576, "loss": 1.0467, "num_input_tokens_seen": 280976, "step": 70 }, { "epoch": 1.192, "grad_norm": 0.2069796621799469, "learning_rate": 0.00012993631229733582, "loss": 1.0743, "num_input_tokens_seen": 300912, "step": 75 }, { "epoch": 1.272, "grad_norm": 0.2535165846347809, "learning_rate": 0.00012178135587488515, "loss": 1.1069, "num_input_tokens_seen": 321712, "step": 80 }, { "epoch": 1.3519999999999999, "grad_norm": 0.24422010779380798, "learning_rate": 0.00011347114622258612, "loss": 1.061, "num_input_tokens_seen": 341200, "step": 85 }, { "epoch": 1.432, "grad_norm": 0.19426904618740082, "learning_rate": 0.00010506491688387127, "loss": 1.0522, "num_input_tokens_seen": 363072, "step": 90 }, { "epoch": 1.512, "grad_norm": 0.2819446325302124, "learning_rate": 9.662258581165319e-05, "loss": 1.0038, "num_input_tokens_seen": 382944, "step": 95 }, { "epoch": 1.592, "grad_norm": 0.3496707081794739, "learning_rate": 8.820432828491542e-05, "loss": 1.1079, "num_input_tokens_seen": 400160, "step": 100 } ], "logging_steps": 5, "max_steps": 186, "num_input_tokens_seen": 400160, "num_train_epochs": 3, "save_steps": 100, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 3170446090567680.0, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:85e69410aad12f49a811c7c6af645f5a611dc5afe479992030a03703abf07465size 5688123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: microsoft/phi-1_5library_name: peft---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
## Model Details
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [More Information Needed]- **Funded by [optional]:** [More Information Needed]- **Shared by [optional]:** [More Information Needed]- **Model type:** [More Information Needed]- **Language(s) (NLP):** [More Information Needed]- **License:** [More Information Needed]- **Finetuned from model [optional]:** [More Information Needed]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]- **Demo [optional]:** [More Information Needed]
## Uses
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Direct Use
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
[More Information Needed]
### Downstream Use [optional]
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
[More Information Needed]
### Out-of-Scope Use
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
[More Information Needed]
## Bias, Risks, and Limitations
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
[More Information Needed]
### Recommendations
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
## How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
## Training Details
### Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
[More Information Needed]
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
[More Information Needed]
#### Factors
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
[More Information Needed]
#### Metrics
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
[More Information Needed]
### Results
[More Information Needed]
#### Summary
## Model Examination [optional]
<!-- Relevant interpretability work for the model goes here -->
[More Information Needed]
## Environmental Impact
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
- **Hardware Type:** [More Information Needed]- **Hours used:** [More Information Needed]- **Cloud Provider:** [More Information Needed]- **Compute Region:** [More Information Needed]- **Carbon Emitted:** [More Information Needed]
## Technical Specifications [optional]
### Model Architecture and Objective
[More Information Needed]
### Compute Infrastructure
[More Information Needed]
#### Hardware
[More Information Needed]
#### Software
[More Information Needed]
## Citation [optional]
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
**BibTeX:**
[More Information Needed]
**APA:**
[More Information Needed]
## Glossary [optional]
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
[More Information Needed]
## More Information [optional]
[More Information Needed]
## Model Card Authors [optional]
[More Information Needed]
## Model Card Contact
[More Information Needed]### Framework versions
- PEFT 0.12.0123456789101112131415161718192021222324252627282930313233{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "microsoft/phi-1_5", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 16, "lora_dropout": 0, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "dense", "fc2", "v_proj", "fc1", "q_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:b3efd1551d95ea85bfd956fd26deea0a623a2fafdf833b6948c8105ae9337cf3size 2834893612345678910111213141516171819202122232425262728293031323334353637383940{ "\t\t": 50294, "\t\t\t": 50293, "\t\t\t\t": 50292, "\t\t\t\t\t": 50291, "\t\t\t\t\t\t": 50290, "\t\t\t\t\t\t\t": 50289, "\t\t\t\t\t\t\t\t": 50288, "\t\t\t\t\t\t\t\t\t": 50287, " ": 50286, " ": 50285, " ": 50284, " ": 50283, " ": 50282, " ": 50281, " ": 50280, " ": 50279, " ": 50278, " ": 50277, " ": 50276, " ": 50275, " ": 50274, " ": 50273, " ": 50272, " ": 50271, " ": 50270, " ": 50269, " ": 50268, " ": 50267, " ": 50266, " ": 50265, " ": 50264, " ": 50263, " ": 50262, " ": 50261, " ": 50260, " ": 50259, " ": 50258, " ": 50257}123version https://git-lfs.github.com/spec/v1oid sha256:e2f465859598a4f32086803fa1c5b523560a4205f00fc5ba52ffa7cfff0e7010size 56864954123version https://git-lfs.github.com/spec/v1oid sha256:9196a1e708bf24d6abba41cce3f8558820acc3e50f9394c5955e29eb41ffea3dsize 14244123version https://git-lfs.github.com/spec/v1oid sha256:cef08939e76bb78603bc3bdd1e5486d1ec5566f2daa8f0334f68666b295ff9d5size 988123version https://git-lfs.github.com/spec/v1oid sha256:71ec17dd81af387bd1146a1b8edbaf6a378f8acfc261443bbcbf59b5d627ba85size 1064123456789101112131415161718192021222324{ "bos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329{ "add_prefix_space": false, "added_tokens_decoder": { "50256": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50257": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50258": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50259": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50260": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50261": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50262": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50263": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50264": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50265": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50266": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50267": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50268": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50269": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50270": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50271": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50272": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50273": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50274": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50275": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50276": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50277": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50278": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50279": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50280": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50281": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50282": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50283": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50284": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50285": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50286": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50287": { "content": "\t\t\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50288": { "content": "\t\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50289": { "content": "\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50290": { "content": "\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50291": { "content": "\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50292": { "content": "\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50293": { "content": "\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50294": { "content": "\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false } }, "bos_token": "<|endoftext|>", "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ 'System: ' + system_message + '\n' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}", "clean_up_tokenization_spaces": true, "eos_token": "<|endoftext|>", "extra_special_tokens": {}, "model_max_length": 2048, "pad_token": "<|endoftext|>", "padding_side": "right", "return_token_type_ids": false, "split_special_tokens": false, "tokenizer_class": "CodeGenTokenizer", "unk_token": "<|endoftext|>"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329{ "best_metric": null, "best_model_checkpoint": null, "epoch": 2.96, "eval_steps": 500, "global_step": 186, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.08, "grad_norm": 0.15088137984275818, "learning_rate": 0.0001996436098130433, "loss": 1.2927, "num_input_tokens_seen": 19808, "step": 5 }, { "epoch": 0.16, "grad_norm": 0.19938229024410248, "learning_rate": 0.00019857697953148037, "loss": 1.2422, "num_input_tokens_seen": 40224, "step": 10 }, { "epoch": 0.24, "grad_norm": 0.27860134840011597, "learning_rate": 0.00019680771188662044, "loss": 1.2413, "num_input_tokens_seen": 61648, "step": 15 }, { "epoch": 0.32, "grad_norm": 0.26041844487190247, "learning_rate": 0.00019434841787099803, "loss": 1.2616, "num_input_tokens_seen": 80256, "step": 20 }, { "epoch": 0.4, "grad_norm": 0.2209373116493225, "learning_rate": 0.00019121662684969335, "loss": 1.1089, "num_input_tokens_seen": 104656, "step": 25 }, { "epoch": 0.48, "grad_norm": 0.2532016634941101, "learning_rate": 0.00018743466161445823, "loss": 1.0468, "num_input_tokens_seen": 125376, "step": 30 }, { "epoch": 0.56, "grad_norm": 0.19666029512882233, "learning_rate": 0.00018302947927123766, "loss": 1.1192, "num_input_tokens_seen": 149040, "step": 35 }, { "epoch": 0.64, "grad_norm": 0.15390023589134216, "learning_rate": 0.0001780324790952092, "loss": 1.1632, "num_input_tokens_seen": 168016, "step": 40 }, { "epoch": 0.72, "grad_norm": 0.20260632038116455, "learning_rate": 0.000172479278722912, "loss": 1.1437, "num_input_tokens_seen": 187968, "step": 45 }, { "epoch": 0.8, "grad_norm": 0.24190717935562134, "learning_rate": 0.00016640946027672392, "loss": 1.1218, "num_input_tokens_seen": 204816, "step": 50 }, { "epoch": 0.88, "grad_norm": 0.19498051702976227, "learning_rate": 0.0001598662882312615, "loss": 1.0757, "num_input_tokens_seen": 227040, "step": 55 }, { "epoch": 0.96, "grad_norm": 0.23396489024162292, "learning_rate": 0.00015289640103269625, "loss": 1.1811, "num_input_tokens_seen": 243792, "step": 60 }, { "epoch": 1.032, "grad_norm": 0.19779853522777557, "learning_rate": 0.0001455494786690634, "loss": 1.11, "num_input_tokens_seen": 262080, "step": 65 }, { "epoch": 1.112, "grad_norm": 0.1842840313911438, "learning_rate": 0.0001378778885610576, "loss": 1.0467, "num_input_tokens_seen": 280976, "step": 70 }, { "epoch": 1.192, "grad_norm": 0.2069796621799469, "learning_rate": 0.00012993631229733582, "loss": 1.0743, "num_input_tokens_seen": 300912, "step": 75 }, { "epoch": 1.272, "grad_norm": 0.2535165846347809, "learning_rate": 0.00012178135587488515, "loss": 1.1069, "num_input_tokens_seen": 321712, "step": 80 }, { "epoch": 1.3519999999999999, "grad_norm": 0.24422010779380798, "learning_rate": 0.00011347114622258612, "loss": 1.061, "num_input_tokens_seen": 341200, "step": 85 }, { "epoch": 1.432, "grad_norm": 0.19426904618740082, "learning_rate": 0.00010506491688387127, "loss": 1.0522, "num_input_tokens_seen": 363072, "step": 90 }, { "epoch": 1.512, "grad_norm": 0.2819446325302124, "learning_rate": 9.662258581165319e-05, "loss": 1.0038, "num_input_tokens_seen": 382944, "step": 95 }, { "epoch": 1.592, "grad_norm": 0.3496707081794739, "learning_rate": 8.820432828491542e-05, "loss": 1.1079, "num_input_tokens_seen": 400160, "step": 100 }, { "epoch": 1.6720000000000002, "grad_norm": 0.3469519019126892, "learning_rate": 7.987014799113397e-05, "loss": 1.0361, "num_input_tokens_seen": 420224, "step": 105 }, { "epoch": 1.752, "grad_norm": 0.2938605546951294, "learning_rate": 7.16794493317696e-05, "loss": 1.1238, "num_input_tokens_seen": 443696, "step": 110 }, { "epoch": 1.8319999999999999, "grad_norm": 0.2804558277130127, "learning_rate": 6.369061399935255e-05, "loss": 1.1009, "num_input_tokens_seen": 464512, "step": 115 }, { "epoch": 1.912, "grad_norm": 0.31367871165275574, "learning_rate": 5.596058484423656e-05, "loss": 1.025, "num_input_tokens_seen": 486480, "step": 120 }, { "epoch": 1.992, "grad_norm": 0.36913028359413147, "learning_rate": 4.854445999713715e-05, "loss": 1.0583, "num_input_tokens_seen": 504752, "step": 125 }, { "epoch": 2.064, "grad_norm": 0.34826526045799255, "learning_rate": 4.149510014046922e-05, "loss": 1.0957, "num_input_tokens_seen": 524384, "step": 130 }, { "epoch": 2.144, "grad_norm": 0.35942158102989197, "learning_rate": 3.4862751727777797e-05, "loss": 1.0103, "num_input_tokens_seen": 544528, "step": 135 }, { "epoch": 2.224, "grad_norm": 0.30249789357185364, "learning_rate": 2.869468883687798e-05, "loss": 1.0991, "num_input_tokens_seen": 561792, "step": 140 }, { "epoch": 2.304, "grad_norm": 0.2702421247959137, "learning_rate": 2.3034876209506772e-05, "loss": 1.0167, "num_input_tokens_seen": 583280, "step": 145 }, { "epoch": 2.384, "grad_norm": 0.2866022288799286, "learning_rate": 1.7923655879272393e-05, "loss": 0.9732, "num_input_tokens_seen": 604240, "step": 150 }, { "epoch": 2.464, "grad_norm": 0.3581533432006836, "learning_rate": 1.339745962155613e-05, "loss": 0.9888, "num_input_tokens_seen": 623904, "step": 155 }, { "epoch": 2.544, "grad_norm": 0.3563443422317505, "learning_rate": 9.488549274967872e-06, "loss": 1.0584, "num_input_tokens_seen": 646416, "step": 160 }, { "epoch": 2.624, "grad_norm": 0.38454896211624146, "learning_rate": 6.22478678529197e-06, "loss": 1.0219, "num_input_tokens_seen": 663920, "step": 165 }, { "epoch": 2.7039999999999997, "grad_norm": 0.3384806215763092, "learning_rate": 3.6294356110059157e-06, "loss": 1.0168, "num_input_tokens_seen": 685632, "step": 170 }, { "epoch": 2.784, "grad_norm": 0.3765474557876587, "learning_rate": 1.7209949059142083e-06, "loss": 1.0356, "num_input_tokens_seen": 705488, "step": 175 }, { "epoch": 2.864, "grad_norm": 0.35796231031417847, "learning_rate": 5.130676608104845e-07, "loss": 1.0034, "num_input_tokens_seen": 723184, "step": 180 }, { "epoch": 2.944, "grad_norm": 0.33362075686454773, "learning_rate": 1.426374402901942e-08, "loss": 1.0179, "num_input_tokens_seen": 746928, "step": 185 } ], "logging_steps": 5, "max_steps": 186, "num_input_tokens_seen": 751440, "num_train_epochs": 3, "save_steps": 100, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": true }, "attributes": {} } }, "total_flos": 5953618578309120.0, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:85e69410aad12f49a811c7c6af645f5a611dc5afe479992030a03703abf07465size 5688123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778top.booster: autotop.checkpoint_path: []top.finetuning_type: loratop.model_name: Phi-1.5-1.3Btop.quantization_bit: nonetop.quantization_method: bitsandbytestop.rope_scaling: nonetop.template: defaulttrain.additional_target: ''train.apollo_rank: 16train.apollo_scale: 32train.apollo_target: alltrain.apollo_update_interval: 200train.badam_mode: layertrain.badam_switch_interval: 50train.badam_switch_mode: ascendingtrain.badam_update_ratio: 0.05train.batch_size: 2train.compute_type: fp16train.create_new_adapter: falsetrain.cutoff_len: 2048train.dataset:- alpaca_en_demotrain.dataset_dir: datatrain.ds_offload: falsetrain.ds_stage: nonetrain.extra_args: '{"optim": "adamw_torch"}'train.freeze_extra_modules: ''train.freeze_trainable_layers: 2train.freeze_trainable_modules: alltrain.galore_rank: 16train.galore_scale: 2train.galore_target: alltrain.galore_update_interval: 200train.gradient_accumulation_steps: 8train.learning_rate: 2e-4train.logging_steps: 5train.lora_alpha: 16train.lora_dropout: 0train.lora_rank: 8train.lora_target: ''train.loraplus_lr_ratio: 0train.lr_scheduler_type: cosinetrain.mask_history: falsetrain.max_grad_norm: '1.0'train.max_samples: '100000'train.neat_packing: falsetrain.neftune_alpha: 0train.num_train_epochs: '3.0'train.packing: falsetrain.ppo_score_norm: falsetrain.ppo_whiten_rewards: falsetrain.pref_beta: 0.1train.pref_ftx: 0train.pref_loss: sigmoidtrain.report_to:- nonetrain.resize_vocab: falsetrain.reward_model: []train.save_steps: 100train.swanlab_api_key: ''train.swanlab_link: ''train.swanlab_mode: cloudtrain.swanlab_project: llamafactorytrain.swanlab_run_name: ''train.swanlab_workspace: ''train.train_on_prompt: falsetrain.training_stage: Supervised Fine-Tuningtrain.use_apollo: falsetrain.use_badam: falsetrain.use_dora: falsetrain.use_galore: falsetrain.use_llama_pro: falsetrain.use_pissa: falsetrain.use_rslora: falsetrain.use_swanlab: falsetrain.val_size: 0train.warmup_steps: 0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391[INFO|2025-04-25 20:34:38] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/config.json
[INFO|2025-04-25 20:34:38] configuration_utils.py:771 >> Model config PhiConfig { "_name_or_path": "microsoft/phi-1_5", "architectures": [ "PhiForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": null, "embd_pdrop": 0.0, "eos_token_id": null, "hidden_act": "gelu_new", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "phi", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "partial_rotary_factor": 0.5, "qk_layernorm": false, "resid_pdrop": 0.0, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "vocab_size": 51200}
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file vocab.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/vocab.json
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file merges.txt from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/merges.txt
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file tokenizer.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/tokenizer.json
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file added_tokens.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/added_tokens.json
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file special_tokens_map.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/special_tokens_map.json
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file tokenizer_config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/tokenizer_config.json
[INFO|2025-04-25 20:34:40] tokenization_utils_base.py:2050 >> loading file chat_template.jinja from cache at None
[INFO|2025-04-25 20:34:41] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/config.json
[INFO|2025-04-25 20:34:41] configuration_utils.py:771 >> Model config PhiConfig { "_name_or_path": "microsoft/phi-1_5", "architectures": [ "PhiForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": null, "embd_pdrop": 0.0, "eos_token_id": null, "hidden_act": "gelu_new", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "phi", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "partial_rotary_factor": 0.5, "qk_layernorm": false, "resid_pdrop": 0.0, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "vocab_size": 51200}
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file vocab.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/vocab.json
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file merges.txt from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/merges.txt
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file tokenizer.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/tokenizer.json
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file added_tokens.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/added_tokens.json
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file special_tokens_map.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/special_tokens_map.json
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file tokenizer_config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/tokenizer_config.json
[INFO|2025-04-25 20:34:41] tokenization_utils_base.py:2050 >> loading file chat_template.jinja from cache at None
[INFO|2025-04-25 20:34:41] logging.py:157 >> Add pad token: <|endoftext|>
[INFO|2025-04-25 20:34:41] logging.py:157 >> Loading dataset alpaca_en_demo.json...
[INFO|2025-04-25 20:34:48] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/config.json
[INFO|2025-04-25 20:34:48] configuration_utils.py:771 >> Model config PhiConfig { "_name_or_path": "microsoft/phi-1_5", "architectures": [ "PhiForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": null, "embd_pdrop": 0.0, "eos_token_id": null, "hidden_act": "gelu_new", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "phi", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "partial_rotary_factor": 0.5, "qk_layernorm": false, "resid_pdrop": 0.0, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "vocab_size": 51200}
[INFO|2025-04-25 20:35:04] modeling_utils.py:3982 >> loading weights file model.safetensors from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/model.safetensors
[INFO|2025-04-25 20:35:04] modeling_utils.py:1633 >> Instantiating PhiForCausalLM model under default dtype torch.float16.
[INFO|2025-04-25 20:35:04] configuration_utils.py:1140 >> Generate config GenerationConfig {}
[INFO|2025-04-25 20:35:05] modeling_utils.py:4970 >> All model checkpoint weights were used when initializing PhiForCausalLM.
[INFO|2025-04-25 20:35:05] modeling_utils.py:4978 >> All the weights of PhiForCausalLM were initialized from the model checkpoint at microsoft/phi-1_5.If your task is similar to the task the model of the checkpoint was trained on, you can already use PhiForCausalLM for predictions without further training.
[INFO|2025-04-25 20:35:06] configuration_utils.py:1095 >> loading configuration file generation_config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/generation_config.json
[INFO|2025-04-25 20:35:06] configuration_utils.py:1140 >> Generate config GenerationConfig {}
[INFO|2025-04-25 20:35:06] logging.py:157 >> Gradient checkpointing enabled.
[INFO|2025-04-25 20:35:06] logging.py:157 >> Using torch SDPA for faster training and inference.
[INFO|2025-04-25 20:35:06] logging.py:157 >> Upcasting trainable params to float32.
[INFO|2025-04-25 20:35:06] logging.py:157 >> Fine-tuning method: LoRA
[INFO|2025-04-25 20:35:06] logging.py:157 >> Found linear modules: k_proj,dense,fc2,v_proj,fc1,q_proj
[INFO|2025-04-25 20:35:07] logging.py:157 >> trainable params: 7,077,888 || all params: 1,425,348,608 || trainable%: 0.4966
[INFO|2025-04-25 20:35:07] trainer.py:746 >> Using auto half precision backend
[WARNING|2025-04-25 20:35:07] trainer.py:781 >> No label_names provided for model class `PeftModelForCausalLM`. Since `PeftModel` hides base models input arguments, if label_names is not given, label_names can't be set automatically within `Trainer`. Note that empty label_names list will be used instead.
[INFO|2025-04-25 20:35:07] trainer.py:2405 >> ***** Running training *****
[INFO|2025-04-25 20:35:07] trainer.py:2406 >> Num examples = 1,000
[INFO|2025-04-25 20:35:07] trainer.py:2407 >> Num Epochs = 3
[INFO|2025-04-25 20:35:07] trainer.py:2408 >> Instantaneous batch size per device = 2
[INFO|2025-04-25 20:35:07] trainer.py:2411 >> Total train batch size (w. parallel, distributed & accumulation) = 16
[INFO|2025-04-25 20:35:07] trainer.py:2412 >> Gradient Accumulation steps = 8
[INFO|2025-04-25 20:35:07] trainer.py:2413 >> Total optimization steps = 186
[INFO|2025-04-25 20:35:07] trainer.py:2414 >> Number of trainable parameters = 7,077,888
[INFO|2025-04-25 20:35:26] logging.py:157 >> {'loss': 1.2927, 'learning_rate': 1.9964e-04, 'epoch': 0.08, 'throughput': 1058.71}
[INFO|2025-04-25 20:35:44] logging.py:157 >> {'loss': 1.2422, 'learning_rate': 1.9858e-04, 'epoch': 0.16, 'throughput': 1091.78}
[INFO|2025-04-25 20:36:02] logging.py:157 >> {'loss': 1.2413, 'learning_rate': 1.9681e-04, 'epoch': 0.24, 'throughput': 1118.75}
[INFO|2025-04-25 20:36:20] logging.py:157 >> {'loss': 1.2616, 'learning_rate': 1.9435e-04, 'epoch': 0.32, 'throughput': 1098.37}
[INFO|2025-04-25 20:36:41] logging.py:157 >> {'loss': 1.1089, 'learning_rate': 1.9122e-04, 'epoch': 0.40, 'throughput': 1114.97}
[INFO|2025-04-25 20:37:00] logging.py:157 >> {'loss': 1.0468, 'learning_rate': 1.8743e-04, 'epoch': 0.48, 'throughput': 1113.36}
[INFO|2025-04-25 20:37:21] logging.py:157 >> {'loss': 1.1192, 'learning_rate': 1.8303e-04, 'epoch': 0.56, 'throughput': 1117.28}
[INFO|2025-04-25 20:37:38] logging.py:157 >> {'loss': 1.1632, 'learning_rate': 1.7803e-04, 'epoch': 0.64, 'throughput': 1112.44}
[INFO|2025-04-25 20:37:56] logging.py:157 >> {'loss': 1.1437, 'learning_rate': 1.7248e-04, 'epoch': 0.72, 'throughput': 1111.87}
[INFO|2025-04-25 20:38:12] logging.py:157 >> {'loss': 1.1218, 'learning_rate': 1.6641e-04, 'epoch': 0.80, 'throughput': 1106.42}
[INFO|2025-04-25 20:38:32] logging.py:157 >> {'loss': 1.0757, 'learning_rate': 1.5987e-04, 'epoch': 0.88, 'throughput': 1109.78}
[INFO|2025-04-25 20:38:48] logging.py:157 >> {'loss': 1.1811, 'learning_rate': 1.5290e-04, 'epoch': 0.96, 'throughput': 1105.72}
[INFO|2025-04-25 20:39:05] logging.py:157 >> {'loss': 1.1100, 'learning_rate': 1.4555e-04, 'epoch': 1.03, 'throughput': 1104.16}
[INFO|2025-04-25 20:39:23] logging.py:157 >> {'loss': 1.0467, 'learning_rate': 1.3788e-04, 'epoch': 1.11, 'throughput': 1099.60}
[INFO|2025-04-25 20:39:41] logging.py:157 >> {'loss': 1.0743, 'learning_rate': 1.2994e-04, 'epoch': 1.19, 'throughput': 1098.23}
[INFO|2025-04-25 20:40:00] logging.py:157 >> {'loss': 1.1069, 'learning_rate': 1.2178e-04, 'epoch': 1.27, 'throughput': 1099.55}
[INFO|2025-04-25 20:40:19] logging.py:157 >> {'loss': 1.0610, 'learning_rate': 1.1347e-04, 'epoch': 1.35, 'throughput': 1093.67}
[INFO|2025-04-25 20:40:39] logging.py:157 >> {'loss': 1.0522, 'learning_rate': 1.0506e-04, 'epoch': 1.43, 'throughput': 1093.46}
[INFO|2025-04-25 20:40:58] logging.py:157 >> {'loss': 1.0038, 'learning_rate': 9.6623e-05, 'epoch': 1.51, 'throughput': 1091.03}
[INFO|2025-04-25 20:41:15] logging.py:157 >> {'loss': 1.1079, 'learning_rate': 8.8204e-05, 'epoch': 1.59, 'throughput': 1088.29}
[INFO|2025-04-25 20:41:15] trainer.py:3942 >> Saving model checkpoint to saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/checkpoint-100
[INFO|2025-04-25 20:41:15] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/config.json
[INFO|2025-04-25 20:41:15] configuration_utils.py:771 >> Model config PhiConfig { "_name_or_path": "microsoft/phi-1_5", "architectures": [ "PhiForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": null, "embd_pdrop": 0.0, "eos_token_id": null, "hidden_act": "gelu_new", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "phi", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "partial_rotary_factor": 0.5, "qk_layernorm": false, "resid_pdrop": 0.0, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "vocab_size": 51200}
[INFO|2025-04-25 20:41:15] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/checkpoint-100/tokenizer_config.json
[INFO|2025-04-25 20:41:15] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/checkpoint-100/special_tokens_map.json
[INFO|2025-04-25 20:41:34] logging.py:157 >> {'loss': 1.0361, 'learning_rate': 7.9870e-05, 'epoch': 1.67, 'throughput': 1085.13}
[INFO|2025-04-25 20:41:56] logging.py:157 >> {'loss': 1.1238, 'learning_rate': 7.1679e-05, 'epoch': 1.75, 'throughput': 1085.33}
[INFO|2025-04-25 20:42:15] logging.py:157 >> {'loss': 1.1009, 'learning_rate': 6.3691e-05, 'epoch': 1.83, 'throughput': 1086.13}
[INFO|2025-04-25 20:42:35] logging.py:157 >> {'loss': 1.0250, 'learning_rate': 5.5961e-05, 'epoch': 1.91, 'throughput': 1085.61}
[INFO|2025-04-25 20:42:53] logging.py:157 >> {'loss': 1.0583, 'learning_rate': 4.8544e-05, 'epoch': 1.99, 'throughput': 1083.61}
[INFO|2025-04-25 20:43:11] logging.py:157 >> {'loss': 1.0957, 'learning_rate': 4.1495e-05, 'epoch': 2.06, 'throughput': 1083.22}
[INFO|2025-04-25 20:43:30] logging.py:157 >> {'loss': 1.0103, 'learning_rate': 3.4863e-05, 'epoch': 2.14, 'throughput': 1083.45}
[INFO|2025-04-25 20:43:47] logging.py:157 >> {'loss': 1.0991, 'learning_rate': 2.8695e-05, 'epoch': 2.22, 'throughput': 1081.17}
[INFO|2025-04-25 20:44:06] logging.py:157 >> {'loss': 1.0167, 'learning_rate': 2.3035e-05, 'epoch': 2.30, 'throughput': 1082.52}
[INFO|2025-04-25 20:44:26] logging.py:157 >> {'loss': 0.9732, 'learning_rate': 1.7924e-05, 'epoch': 2.38, 'throughput': 1082.01}
[INFO|2025-04-25 20:44:44] logging.py:157 >> {'loss': 0.9888, 'learning_rate': 1.3397e-05, 'epoch': 2.46, 'throughput': 1081.95}
[INFO|2025-04-25 20:45:04] logging.py:157 >> {'loss': 1.0584, 'learning_rate': 9.4885e-06, 'epoch': 2.54, 'throughput': 1082.26}
[INFO|2025-04-25 20:45:21] logging.py:157 >> {'loss': 1.0219, 'learning_rate': 6.2248e-06, 'epoch': 2.62, 'throughput': 1081.15}
[INFO|2025-04-25 20:45:41] logging.py:157 >> {'loss': 1.0168, 'learning_rate': 3.6294e-06, 'epoch': 2.70, 'throughput': 1080.96}
[INFO|2025-04-25 20:46:00] logging.py:157 >> {'loss': 1.0356, 'learning_rate': 1.7210e-06, 'epoch': 2.78, 'throughput': 1081.10}
[INFO|2025-04-25 20:46:17] logging.py:157 >> {'loss': 1.0034, 'learning_rate': 5.1307e-07, 'epoch': 2.86, 'throughput': 1079.77}
[INFO|2025-04-25 20:46:38] logging.py:157 >> {'loss': 1.0179, 'learning_rate': 1.4264e-08, 'epoch': 2.94, 'throughput': 1080.53}
[INFO|2025-04-25 20:46:42] trainer.py:3942 >> Saving model checkpoint to saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/checkpoint-186
[INFO|2025-04-25 20:46:43] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/config.json
[INFO|2025-04-25 20:46:43] configuration_utils.py:771 >> Model config PhiConfig { "_name_or_path": "microsoft/phi-1_5", "architectures": [ "PhiForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": null, "embd_pdrop": 0.0, "eos_token_id": null, "hidden_act": "gelu_new", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "phi", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "partial_rotary_factor": 0.5, "qk_layernorm": false, "resid_pdrop": 0.0, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "vocab_size": 51200}
[INFO|2025-04-25 20:46:43] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/checkpoint-186/tokenizer_config.json
[INFO|2025-04-25 20:46:43] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/checkpoint-186/special_tokens_map.json
[INFO|2025-04-25 20:46:43] trainer.py:2657 >>
Training completed. Do not forget to share your model on huggingface.co/models =)
[INFO|2025-04-25 20:46:43] trainer.py:3942 >> Saving model checkpoint to saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25
[INFO|2025-04-25 20:46:43] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--microsoft--phi-1_5/snapshots/675aa382d814580b22651a30acb1a585d7c25963/config.json
[INFO|2025-04-25 20:46:43] configuration_utils.py:771 >> Model config PhiConfig { "_name_or_path": "microsoft/phi-1_5", "architectures": [ "PhiForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": null, "embd_pdrop": 0.0, "eos_token_id": null, "hidden_act": "gelu_new", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 8192, "layer_norm_eps": 1e-05, "max_position_embeddings": 2048, "model_type": "phi", "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 32, "partial_rotary_factor": 0.5, "qk_layernorm": false, "resid_pdrop": 0.0, "rope_scaling": null, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "vocab_size": 51200}
[INFO|2025-04-25 20:46:43] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/tokenizer_config.json
[INFO|2025-04-25 20:46:43] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25/special_tokens_map.json
[WARNING|2025-04-25 20:46:43] logging.py:162 >> No metric eval_loss to plot.
[WARNING|2025-04-25 20:46:43] logging.py:162 >> No metric eval_accuracy to plot.
[INFO|2025-04-25 20:46:43] modelcard.py:449 >> Dropping the following result as it does not have all the necessary fields:{'task': {'name': 'Causal Language Modeling', 'type': 'text-generation'}}
123456789101112131415161718192021222324{ "bos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329{ "add_prefix_space": false, "added_tokens_decoder": { "50256": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50257": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50258": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50259": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50260": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50261": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50262": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50263": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50264": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50265": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50266": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50267": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50268": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50269": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50270": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50271": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50272": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50273": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50274": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50275": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50276": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50277": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50278": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50279": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50280": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50281": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50282": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50283": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50284": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50285": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50286": { "content": " ", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50287": { "content": "\t\t\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50288": { "content": "\t\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50289": { "content": "\t\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50290": { "content": "\t\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50291": { "content": "\t\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50292": { "content": "\t\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50293": { "content": "\t\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false }, "50294": { "content": "\t\t", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": false } }, "bos_token": "<|endoftext|>", "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ 'System: ' + system_message + '\n' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}", "clean_up_tokenization_spaces": true, "eos_token": "<|endoftext|>", "extra_special_tokens": {}, "model_max_length": 2048, "pad_token": "<|endoftext|>", "padding_side": "right", "return_token_type_ids": false, "split_special_tokens": false, "tokenizer_class": "CodeGenTokenizer", "unk_token": "<|endoftext|>"}123456789{ "epoch": 2.96, "num_input_tokens_seen": 751440, "total_flos": 5953618578309120.0, "train_loss": 1.0870414747986743, "train_runtime": 695.659, "train_samples_per_second": 4.312, "train_steps_per_second": 0.267}1234567891011121314151617181920212223242526272829303132333435363738{"current_steps": 5, "total_steps": 186, "loss": 1.2927, "lr": 0.0001996436098130433, "epoch": 0.08, "percentage": 2.69, "elapsed_time": "0:00:18", "remaining_time": "0:11:17", "throughput": 1058.71, "total_tokens": 19808}{"current_steps": 10, "total_steps": 186, "loss": 1.2422, "lr": 0.00019857697953148037, "epoch": 0.16, "percentage": 5.38, "elapsed_time": "0:00:36", "remaining_time": "0:10:48", "throughput": 1091.78, "total_tokens": 40224}{"current_steps": 15, "total_steps": 186, "loss": 1.2413, "lr": 0.00019680771188662044, "epoch": 0.24, "percentage": 8.06, "elapsed_time": "0:00:55", "remaining_time": "0:10:28", "throughput": 1118.75, "total_tokens": 61648}{"current_steps": 20, "total_steps": 186, "loss": 1.2616, "lr": 0.00019434841787099803, "epoch": 0.32, "percentage": 10.75, "elapsed_time": "0:01:13", "remaining_time": "0:10:06", "throughput": 1098.37, "total_tokens": 80256}{"current_steps": 25, "total_steps": 186, "loss": 1.1089, "lr": 0.00019121662684969335, "epoch": 0.4, "percentage": 13.44, "elapsed_time": "0:01:33", "remaining_time": "0:10:04", "throughput": 1114.97, "total_tokens": 104656}{"current_steps": 30, "total_steps": 186, "loss": 1.0468, "lr": 0.00018743466161445823, "epoch": 0.48, "percentage": 16.13, "elapsed_time": "0:01:52", "remaining_time": "0:09:45", "throughput": 1113.36, "total_tokens": 125376}{"current_steps": 35, "total_steps": 186, "loss": 1.1192, "lr": 0.00018302947927123766, "epoch": 0.56, "percentage": 18.82, "elapsed_time": "0:02:13", "remaining_time": "0:09:35", "throughput": 1117.28, "total_tokens": 149040}{"current_steps": 40, "total_steps": 186, "loss": 1.1632, "lr": 0.0001780324790952092, "epoch": 0.64, "percentage": 21.51, "elapsed_time": "0:02:31", "remaining_time": "0:09:11", "throughput": 1112.44, "total_tokens": 168016}{"current_steps": 45, "total_steps": 186, "loss": 1.1437, "lr": 0.000172479278722912, "epoch": 0.72, "percentage": 24.19, "elapsed_time": "0:02:49", "remaining_time": "0:08:49", "throughput": 1111.87, "total_tokens": 187968}{"current_steps": 50, "total_steps": 186, "loss": 1.1218, "lr": 0.00016640946027672392, "epoch": 0.8, "percentage": 26.88, "elapsed_time": "0:03:05", "remaining_time": "0:08:23", "throughput": 1106.42, "total_tokens": 204816}{"current_steps": 55, "total_steps": 186, "loss": 1.0757, "lr": 0.0001598662882312615, "epoch": 0.88, "percentage": 29.57, "elapsed_time": "0:03:24", "remaining_time": "0:08:07", "throughput": 1109.78, "total_tokens": 227040}{"current_steps": 60, "total_steps": 186, "loss": 1.1811, "lr": 0.00015289640103269625, "epoch": 0.96, "percentage": 32.26, "elapsed_time": "0:03:40", "remaining_time": "0:07:43", "throughput": 1105.72, "total_tokens": 243792}{"current_steps": 65, "total_steps": 186, "loss": 1.11, "lr": 0.0001455494786690634, "epoch": 1.032, "percentage": 34.95, "elapsed_time": "0:03:57", "remaining_time": "0:07:21", "throughput": 1104.16, "total_tokens": 262080}{"current_steps": 70, "total_steps": 186, "loss": 1.0467, "lr": 0.0001378778885610576, "epoch": 1.112, "percentage": 37.63, "elapsed_time": "0:04:15", "remaining_time": "0:07:03", "throughput": 1099.6, "total_tokens": 280976}{"current_steps": 75, "total_steps": 186, "loss": 1.0743, "lr": 0.00012993631229733582, "epoch": 1.192, "percentage": 40.32, "elapsed_time": "0:04:33", "remaining_time": "0:06:45", "throughput": 1098.23, "total_tokens": 300912}{"current_steps": 80, "total_steps": 186, "loss": 1.1069, "lr": 0.00012178135587488515, "epoch": 1.272, "percentage": 43.01, "elapsed_time": "0:04:52", "remaining_time": "0:06:27", "throughput": 1099.55, "total_tokens": 321712}{"current_steps": 85, "total_steps": 186, "loss": 1.061, "lr": 0.00011347114622258612, "epoch": 1.3519999999999999, "percentage": 45.7, "elapsed_time": "0:05:11", "remaining_time": "0:06:10", "throughput": 1093.67, "total_tokens": 341200}{"current_steps": 90, "total_steps": 186, "loss": 1.0522, "lr": 0.00010506491688387127, "epoch": 1.432, "percentage": 48.39, "elapsed_time": "0:05:32", "remaining_time": "0:05:54", "throughput": 1093.46, "total_tokens": 363072}{"current_steps": 95, "total_steps": 186, "loss": 1.0038, "lr": 9.662258581165319e-05, "epoch": 1.512, "percentage": 51.08, "elapsed_time": "0:05:50", "remaining_time": "0:05:36", "throughput": 1091.03, "total_tokens": 382944}{"current_steps": 100, "total_steps": 186, "loss": 1.1079, "lr": 8.820432828491542e-05, "epoch": 1.592, "percentage": 53.76, "elapsed_time": "0:06:07", "remaining_time": "0:05:16", "throughput": 1088.29, "total_tokens": 400160}{"current_steps": 105, "total_steps": 186, "loss": 1.0361, "lr": 7.987014799113397e-05, "epoch": 1.6720000000000002, "percentage": 56.45, "elapsed_time": "0:06:27", "remaining_time": "0:04:58", "throughput": 1085.13, "total_tokens": 420224}{"current_steps": 110, "total_steps": 186, "loss": 1.1238, "lr": 7.16794493317696e-05, "epoch": 1.752, "percentage": 59.14, "elapsed_time": "0:06:48", "remaining_time": "0:04:42", "throughput": 1085.33, "total_tokens": 443696}{"current_steps": 115, "total_steps": 186, "loss": 1.1009, "lr": 6.369061399935255e-05, "epoch": 1.8319999999999999, "percentage": 61.83, "elapsed_time": "0:07:07", "remaining_time": "0:04:24", "throughput": 1086.13, "total_tokens": 464512}{"current_steps": 120, "total_steps": 186, "loss": 1.025, "lr": 5.596058484423656e-05, "epoch": 1.912, "percentage": 64.52, "elapsed_time": "0:07:28", "remaining_time": "0:04:06", "throughput": 1085.61, "total_tokens": 486480}{"current_steps": 125, "total_steps": 186, "loss": 1.0583, "lr": 4.854445999713715e-05, "epoch": 1.992, "percentage": 67.2, "elapsed_time": "0:07:45", "remaining_time": "0:03:47", "throughput": 1083.61, "total_tokens": 504752}{"current_steps": 130, "total_steps": 186, "loss": 1.0957, "lr": 4.149510014046922e-05, "epoch": 2.064, "percentage": 69.89, "elapsed_time": "0:08:04", "remaining_time": "0:03:28", "throughput": 1083.22, "total_tokens": 524384}{"current_steps": 135, "total_steps": 186, "loss": 1.0103, "lr": 3.4862751727777797e-05, "epoch": 2.144, "percentage": 72.58, "elapsed_time": "0:08:22", "remaining_time": "0:03:09", "throughput": 1083.45, "total_tokens": 544528}{"current_steps": 140, "total_steps": 186, "loss": 1.0991, "lr": 2.869468883687798e-05, "epoch": 2.224, "percentage": 75.27, "elapsed_time": "0:08:39", "remaining_time": "0:02:50", "throughput": 1081.17, "total_tokens": 561792}{"current_steps": 145, "total_steps": 186, "loss": 1.0167, "lr": 2.3034876209506772e-05, "epoch": 2.304, "percentage": 77.96, "elapsed_time": "0:08:58", "remaining_time": "0:02:32", "throughput": 1082.52, "total_tokens": 583280}{"current_steps": 150, "total_steps": 186, "loss": 0.9732, "lr": 1.7923655879272393e-05, "epoch": 2.384, "percentage": 80.65, "elapsed_time": "0:09:18", "remaining_time": "0:02:14", "throughput": 1082.01, "total_tokens": 604240}{"current_steps": 155, "total_steps": 186, "loss": 0.9888, "lr": 1.339745962155613e-05, "epoch": 2.464, "percentage": 83.33, "elapsed_time": "0:09:36", "remaining_time": "0:01:55", "throughput": 1081.95, "total_tokens": 623904}{"current_steps": 160, "total_steps": 186, "loss": 1.0584, "lr": 9.488549274967872e-06, "epoch": 2.544, "percentage": 86.02, "elapsed_time": "0:09:57", "remaining_time": "0:01:37", "throughput": 1082.26, "total_tokens": 646416}{"current_steps": 165, "total_steps": 186, "loss": 1.0219, "lr": 6.22478678529197e-06, "epoch": 2.624, "percentage": 88.71, "elapsed_time": "0:10:14", "remaining_time": "0:01:18", "throughput": 1081.15, "total_tokens": 663920}{"current_steps": 170, "total_steps": 186, "loss": 1.0168, "lr": 3.6294356110059157e-06, "epoch": 2.7039999999999997, "percentage": 91.4, "elapsed_time": "0:10:34", "remaining_time": "0:00:59", "throughput": 1080.96, "total_tokens": 685632}{"current_steps": 175, "total_steps": 186, "loss": 1.0356, "lr": 1.7209949059142083e-06, "epoch": 2.784, "percentage": 94.09, "elapsed_time": "0:10:52", "remaining_time": "0:00:41", "throughput": 1081.1, "total_tokens": 705488}{"current_steps": 180, "total_steps": 186, "loss": 1.0034, "lr": 5.130676608104845e-07, "epoch": 2.864, "percentage": 96.77, "elapsed_time": "0:11:09", "remaining_time": "0:00:22", "throughput": 1079.77, "total_tokens": 723184}{"current_steps": 185, "total_steps": 186, "loss": 1.0179, "lr": 1.426374402901942e-08, "epoch": 2.944, "percentage": 99.46, "elapsed_time": "0:11:31", "remaining_time": "0:00:03", "throughput": 1080.53, "total_tokens": 746928}{"current_steps": 186, "total_steps": 186, "epoch": 2.96, "percentage": 100.0, "elapsed_time": "0:11:35", "remaining_time": "0:00:00", "throughput": 1080.19, "total_tokens": 751440}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339{ "best_metric": null, "best_model_checkpoint": null, "epoch": 2.96, "eval_steps": 500, "global_step": 186, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.08, "grad_norm": 0.15088137984275818, "learning_rate": 0.0001996436098130433, "loss": 1.2927, "num_input_tokens_seen": 19808, "step": 5 }, { "epoch": 0.16, "grad_norm": 0.19938229024410248, "learning_rate": 0.00019857697953148037, "loss": 1.2422, "num_input_tokens_seen": 40224, "step": 10 }, { "epoch": 0.24, "grad_norm": 0.27860134840011597, "learning_rate": 0.00019680771188662044, "loss": 1.2413, "num_input_tokens_seen": 61648, "step": 15 }, { "epoch": 0.32, "grad_norm": 0.26041844487190247, "learning_rate": 0.00019434841787099803, "loss": 1.2616, "num_input_tokens_seen": 80256, "step": 20 }, { "epoch": 0.4, "grad_norm": 0.2209373116493225, "learning_rate": 0.00019121662684969335, "loss": 1.1089, "num_input_tokens_seen": 104656, "step": 25 }, { "epoch": 0.48, "grad_norm": 0.2532016634941101, "learning_rate": 0.00018743466161445823, "loss": 1.0468, "num_input_tokens_seen": 125376, "step": 30 }, { "epoch": 0.56, "grad_norm": 0.19666029512882233, "learning_rate": 0.00018302947927123766, "loss": 1.1192, "num_input_tokens_seen": 149040, "step": 35 }, { "epoch": 0.64, "grad_norm": 0.15390023589134216, "learning_rate": 0.0001780324790952092, "loss": 1.1632, "num_input_tokens_seen": 168016, "step": 40 }, { "epoch": 0.72, "grad_norm": 0.20260632038116455, "learning_rate": 0.000172479278722912, "loss": 1.1437, "num_input_tokens_seen": 187968, "step": 45 }, { "epoch": 0.8, "grad_norm": 0.24190717935562134, "learning_rate": 0.00016640946027672392, "loss": 1.1218, "num_input_tokens_seen": 204816, "step": 50 }, { "epoch": 0.88, "grad_norm": 0.19498051702976227, "learning_rate": 0.0001598662882312615, "loss": 1.0757, "num_input_tokens_seen": 227040, "step": 55 }, { "epoch": 0.96, "grad_norm": 0.23396489024162292, "learning_rate": 0.00015289640103269625, "loss": 1.1811, "num_input_tokens_seen": 243792, "step": 60 }, { "epoch": 1.032, "grad_norm": 0.19779853522777557, "learning_rate": 0.0001455494786690634, "loss": 1.11, "num_input_tokens_seen": 262080, "step": 65 }, { "epoch": 1.112, "grad_norm": 0.1842840313911438, "learning_rate": 0.0001378778885610576, "loss": 1.0467, "num_input_tokens_seen": 280976, "step": 70 }, { "epoch": 1.192, "grad_norm": 0.2069796621799469, "learning_rate": 0.00012993631229733582, "loss": 1.0743, "num_input_tokens_seen": 300912, "step": 75 }, { "epoch": 1.272, "grad_norm": 0.2535165846347809, "learning_rate": 0.00012178135587488515, "loss": 1.1069, "num_input_tokens_seen": 321712, "step": 80 }, { "epoch": 1.3519999999999999, "grad_norm": 0.24422010779380798, "learning_rate": 0.00011347114622258612, "loss": 1.061, "num_input_tokens_seen": 341200, "step": 85 }, { "epoch": 1.432, "grad_norm": 0.19426904618740082, "learning_rate": 0.00010506491688387127, "loss": 1.0522, "num_input_tokens_seen": 363072, "step": 90 }, { "epoch": 1.512, "grad_norm": 0.2819446325302124, "learning_rate": 9.662258581165319e-05, "loss": 1.0038, "num_input_tokens_seen": 382944, "step": 95 }, { "epoch": 1.592, "grad_norm": 0.3496707081794739, "learning_rate": 8.820432828491542e-05, "loss": 1.1079, "num_input_tokens_seen": 400160, "step": 100 }, { "epoch": 1.6720000000000002, "grad_norm": 0.3469519019126892, "learning_rate": 7.987014799113397e-05, "loss": 1.0361, "num_input_tokens_seen": 420224, "step": 105 }, { "epoch": 1.752, "grad_norm": 0.2938605546951294, "learning_rate": 7.16794493317696e-05, "loss": 1.1238, "num_input_tokens_seen": 443696, "step": 110 }, { "epoch": 1.8319999999999999, "grad_norm": 0.2804558277130127, "learning_rate": 6.369061399935255e-05, "loss": 1.1009, "num_input_tokens_seen": 464512, "step": 115 }, { "epoch": 1.912, "grad_norm": 0.31367871165275574, "learning_rate": 5.596058484423656e-05, "loss": 1.025, "num_input_tokens_seen": 486480, "step": 120 }, { "epoch": 1.992, "grad_norm": 0.36913028359413147, "learning_rate": 4.854445999713715e-05, "loss": 1.0583, "num_input_tokens_seen": 504752, "step": 125 }, { "epoch": 2.064, "grad_norm": 0.34826526045799255, "learning_rate": 4.149510014046922e-05, "loss": 1.0957, "num_input_tokens_seen": 524384, "step": 130 }, { "epoch": 2.144, "grad_norm": 0.35942158102989197, "learning_rate": 3.4862751727777797e-05, "loss": 1.0103, "num_input_tokens_seen": 544528, "step": 135 }, { "epoch": 2.224, "grad_norm": 0.30249789357185364, "learning_rate": 2.869468883687798e-05, "loss": 1.0991, "num_input_tokens_seen": 561792, "step": 140 }, { "epoch": 2.304, "grad_norm": 0.2702421247959137, "learning_rate": 2.3034876209506772e-05, "loss": 1.0167, "num_input_tokens_seen": 583280, "step": 145 }, { "epoch": 2.384, "grad_norm": 0.2866022288799286, "learning_rate": 1.7923655879272393e-05, "loss": 0.9732, "num_input_tokens_seen": 604240, "step": 150 }, { "epoch": 2.464, "grad_norm": 0.3581533432006836, "learning_rate": 1.339745962155613e-05, "loss": 0.9888, "num_input_tokens_seen": 623904, "step": 155 }, { "epoch": 2.544, "grad_norm": 0.3563443422317505, "learning_rate": 9.488549274967872e-06, "loss": 1.0584, "num_input_tokens_seen": 646416, "step": 160 }, { "epoch": 2.624, "grad_norm": 0.38454896211624146, "learning_rate": 6.22478678529197e-06, "loss": 1.0219, "num_input_tokens_seen": 663920, "step": 165 }, { "epoch": 2.7039999999999997, "grad_norm": 0.3384806215763092, "learning_rate": 3.6294356110059157e-06, "loss": 1.0168, "num_input_tokens_seen": 685632, "step": 170 }, { "epoch": 2.784, "grad_norm": 0.3765474557876587, "learning_rate": 1.7209949059142083e-06, "loss": 1.0356, "num_input_tokens_seen": 705488, "step": 175 }, { "epoch": 2.864, "grad_norm": 0.35796231031417847, "learning_rate": 5.130676608104845e-07, "loss": 1.0034, "num_input_tokens_seen": 723184, "step": 180 }, { "epoch": 2.944, "grad_norm": 0.33362075686454773, "learning_rate": 1.426374402901942e-08, "loss": 1.0179, "num_input_tokens_seen": 746928, "step": 185 }, { "epoch": 2.96, "num_input_tokens_seen": 751440, "step": 186, "total_flos": 5953618578309120.0, "train_loss": 1.0870414747986743, "train_runtime": 695.659, "train_samples_per_second": 4.312, "train_steps_per_second": 0.267 } ], "logging_steps": 5, "max_steps": 186, "num_input_tokens_seen": 751440, "num_train_epochs": 3, "save_steps": 100, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": true }, "attributes": {} } }, "total_flos": 5953618578309120.0, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:85e69410aad12f49a811c7c6af645f5a611dc5afe479992030a03703abf07465size 5688123456789101112131415161718192021222324252627282930313233cutoff_len: 2048dataset: alpaca_en_demodataset_dir: dataddp_timeout: 180000000do_train: truefinetuning_type: loraflash_attn: autofp16: truegradient_accumulation_steps: 8include_num_input_tokens_seen: truelearning_rate: 0.0002logging_steps: 5lora_alpha: 16lora_dropout: 0lora_rank: 8lora_target: alllr_scheduler_type: cosinemax_grad_norm: 1.0max_samples: 100000model_name_or_path: microsoft/phi-1_5num_train_epochs: 3.0optim: adamw_torchoutput_dir: saves/Phi-1.5-1.3B/lora/train_2025-04-25-20-31-25packing: falseper_device_train_batch_size: 2plot_loss: truepreprocessing_num_workers: 16report_to: nonesave_steps: 100stage: sfttemplate: defaulttrust_remote_code: truewarmup_steps: 0README.mdAdded+59
adapter_config.jsonAdded+33
adapter_model.safetensorsAdded+3
added_tokens.jsonAdded+40
all_results.jsonAdded+9
checkpoint-100/README.mdAdded+202
checkpoint-100/adapter_config.jsonAdded+33
checkpoint-100/adapter_model.safetensorsAdded+3
checkpoint-100/added_tokens.jsonAdded+40
checkpoint-100/merges.txtAdded
checkpoint-100/optimizer.ptAdded+3
checkpoint-100/rng_state.pthAdded+3
checkpoint-100/scaler.ptAdded+3
checkpoint-100/scheduler.ptAdded+3
checkpoint-100/special_tokens_map.jsonAdded+24
checkpoint-100/tokenizer.jsonAdded
checkpoint-100/tokenizer_config.jsonAdded+329
checkpoint-100/trainer_state.jsonAdded+193
checkpoint-100/training_args.binAdded+3
checkpoint-100/vocab.jsonAdded
checkpoint-186/README.mdAdded+202
checkpoint-186/adapter_config.jsonAdded+33
checkpoint-186/adapter_model.safetensorsAdded+3
checkpoint-186/added_tokens.jsonAdded+40
checkpoint-186/merges.txtAdded
checkpoint-186/optimizer.ptAdded+3
checkpoint-186/rng_state.pthAdded+3
checkpoint-186/scaler.ptAdded+3
checkpoint-186/scheduler.ptAdded+3
checkpoint-186/special_tokens_map.jsonAdded+24
checkpoint-186/tokenizer.jsonAdded
checkpoint-186/tokenizer_config.jsonAdded+329
checkpoint-186/trainer_state.jsonAdded+329
checkpoint-186/training_args.binAdded+3
checkpoint-186/vocab.jsonAdded
llamaboard_config.yamlAdded+78
merges.txtAdded
running_log.txtAdded+391
special_tokens_map.jsonAdded+24
tokenizer.jsonAdded
tokenizer_config.jsonAdded+329
train_results.jsonAdded+9
trainer_log.jsonlAdded+38
trainer_state.jsonAdded+339
training_args.binAdded+3
training_args.yamlAdded+33
training_loss.pngAdded

vocab.jsonAdded