Run this model with HF Jobs
Run finalform/foamMistral0.3-7B-Instruct-trl 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/finalform/foamMistral0.3-7B-Instruct-trl. 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/finalform/foamMistral0.3-7B-Instruct-trl 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 finalform/foamMistral0.3-7B-Instruct-trl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use finalform/foamMistral0.3-7B-Instruct-trl with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3") model = PeftModel.from_pretrained(base_model, "finalform/foamMistral0.3-7B-Instruct-trl") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- adapter_config.json+4-4
- adapter_model.safetensors+1-1
- checkpoint-1245/README.mdAdded+202
- checkpoint-1245/adapter_config.jsonAdded+39
- checkpoint-1245/adapter_model.safetensorsAdded+3
- checkpoint-1245/chat_template.jinjaAdded+87
- checkpoint-1245/optimizer.ptAdded+3
- checkpoint-1245/rng_state.pthAdded+3
- checkpoint-1245/scheduler.ptAdded+3
- checkpoint-1245/special_tokens_map.jsonAdded+24
- checkpoint-1245/tokenizer.jsonAdded
- checkpoint-1245/tokenizer.modelAdded+3
- checkpoint-1245/tokenizer_config.jsonAdded
- checkpoint-1245/trainer_state.jsonAdded+505
- checkpoint-1245/training_args.binAdded+3
- checkpoint-1660/README.mdAdded+202
- checkpoint-1660/adapter_config.jsonAdded+39
- checkpoint-1660/adapter_model.safetensorsAdded+3
- checkpoint-1660/chat_template.jinjaAdded+87
- checkpoint-1660/optimizer.ptAdded+3
- checkpoint-1660/rng_state.pthAdded+3
- checkpoint-1660/scheduler.ptAdded+3
- checkpoint-1660/special_tokens_map.jsonAdded+24
- checkpoint-1660/tokenizer.jsonAdded
- checkpoint-1660/tokenizer.modelAdded+3
- checkpoint-1660/tokenizer_config.jsonAdded
- checkpoint-1660/trainer_state.jsonAdded+668
- checkpoint-1660/training_args.binAdded+3
- checkpoint-2075/README.mdAdded+202
- checkpoint-2075/adapter_config.jsonAdded+39
- checkpoint-2075/adapter_model.safetensorsAdded+3
- checkpoint-2075/chat_template.jinjaAdded+87
- checkpoint-2075/optimizer.ptAdded+3
- checkpoint-2075/rng_state.pthAdded+3
- checkpoint-2075/scheduler.ptAdded+3
- checkpoint-2075/special_tokens_map.jsonAdded+24
- checkpoint-2075/tokenizer.jsonAdded
- checkpoint-2075/tokenizer.modelAdded+3
- checkpoint-2075/tokenizer_config.jsonAdded
- checkpoint-2075/trainer_state.jsonAdded+831
- checkpoint-2075/training_args.binAdded+3
- checkpoint-2490/README.mdAdded+202
- checkpoint-2490/adapter_config.jsonAdded+39
- checkpoint-2490/adapter_model.safetensorsAdded+3
- checkpoint-2490/chat_template.jinjaAdded+87
- checkpoint-2490/optimizer.ptAdded+3
- checkpoint-2490/rng_state.pthAdded+3
- checkpoint-2490/scheduler.ptAdded+3
- checkpoint-2490/special_tokens_map.jsonAdded+24
- checkpoint-2490/tokenizer.jsonAdded
23 unmodified lines242526272827283129303331323334353623 unmodified lines "rank_pattern": {}, "revision": null, "target_modules": [ "up_proj", "q_proj", "gate_proj", "k_proj", "o_proj", "down_proj", "o_proj", "v_proj" "v_proj", "up_proj", "q_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null,1223version https://git-lfs.github.com/spec/v1oid sha256:0a8447d936fb5f9087f8afb547e82b7cebafe1eaf0eab24facec650d167f8095oid sha256:cd96fdcd636771e4873f12078f36d23b38b5a9447f92b7d3611efde0c9ea5b4esize 335604696123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: mistralai/Mistral-7B-Instruct-v0.3library_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.15.2123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "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_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "gate_proj", "k_proj", "down_proj", "o_proj", "v_proj", "up_proj", "q_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:f2997931c8e9988c9b6b59a1e57c4f22759c43d13539e3a0b69f99f4725ffccdsize 335604696123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS] [" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST] " + message["content"] + "[/INST]" }} {%- endif %} {%- elif message.tool_calls is defined and message.tool_calls is not none %} {{- "[TOOL_CALLS] [" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- " " + message["content"]|trim + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}123version https://git-lfs.github.com/spec/v1oid sha256:2aa92d1ffa453e8be16180449483ed1a2bc847961c6bb6d2a539131af8517619size 671365003123version https://git-lfs.github.com/spec/v1oid sha256:0a6682f2819b4c512a5135ce5121cc17df05a991d605014db5cc4d78492f734asize 14645123version https://git-lfs.github.com/spec/v1oid sha256:f0507b5178a097f1a47eb13bf2dc725ccef8bd541a0c05887db5c53c97f9a004size 1465123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89size 587404123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 3.0, "eval_steps": 500, "global_step": 1245, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.060350030175015085, "grad_norm": 0.915810763835907, "learning_rate": 8.18181818181818e-05, "loss": 1.5579, "mean_token_accuracy": 0.6726609909534454, "num_tokens": 156451.0, "step": 25 }, { "epoch": 0.12070006035003017, "grad_norm": 0.8468347191810608, "learning_rate": 0.00016704545454545452, "loss": 0.8806, "mean_token_accuracy": 0.7797876751422882, "num_tokens": 273996.0, "step": 50 }, { "epoch": 0.18105009052504525, "grad_norm": 0.6957323551177979, "learning_rate": 0.0002522727272727273, "loss": 0.5904, "mean_token_accuracy": 0.8393249285221099, "num_tokens": 425859.0, "step": 75 }, { "epoch": 0.24140012070006034, "grad_norm": 0.7738164663314819, "learning_rate": 0.0002999887132933212, "loss": 0.4572, "mean_token_accuracy": 0.8712374359369278, "num_tokens": 542080.0, "step": 100 }, { "epoch": 0.30175015087507545, "grad_norm": 0.6000323295593262, "learning_rate": 0.0002998791256978121, "loss": 0.3441, "mean_token_accuracy": 0.9016327333450317, "num_tokens": 690749.0, "step": 125 }, { "epoch": 0.3621001810500905, "grad_norm": 0.8241934776306152, "learning_rate": 0.0002996530399366737, "loss": 0.3391, "mean_token_accuracy": 0.9067233097553253, "num_tokens": 804498.0, "step": 150 }, { "epoch": 0.4224502112251056, "grad_norm": 0.6018714308738708, "learning_rate": 0.00029931063174202567, "loss": 0.2403, "mean_token_accuracy": 0.9311208426952362, "num_tokens": 956805.0, "step": 175 }, { "epoch": 0.4828002414001207, "grad_norm": 0.6791284680366516, "learning_rate": 0.00029885216726118104, "loss": 0.2405, "mean_token_accuracy": 0.9332937943935394, "num_tokens": 1073182.0, "step": 200 }, { "epoch": 0.5431502715751357, "grad_norm": 0.4105781614780426, "learning_rate": 0.00029827800284977474, "loss": 0.1788, "mean_token_accuracy": 0.9502924716472626, "num_tokens": 1223675.0, "step": 225 }, { "epoch": 0.6035003017501509, "grad_norm": 0.6441053152084351, "learning_rate": 0.00029758858479477575, "loss": 0.1834, "mean_token_accuracy": 0.9509575897455216, "num_tokens": 1340505.0, "step": 250 }, { "epoch": 0.663850331925166, "grad_norm": 0.6117656230926514, "learning_rate": 0.0002967844489675963, "loss": 0.164, "mean_token_accuracy": 0.9560773247480392, "num_tokens": 1494591.0, "step": 275 }, { "epoch": 0.724200362100181, "grad_norm": 0.6707085967063904, "learning_rate": 0.00029586622040756957, "loss": 0.1596, "mean_token_accuracy": 0.9571379733085632, "num_tokens": 1611141.0, "step": 300 }, { "epoch": 0.7845503922751962, "grad_norm": 0.3164249658584595, "learning_rate": 0.0002948346128361186, "loss": 0.1361, "mean_token_accuracy": 0.9637150484323501, "num_tokens": 1764271.0, "step": 325 }, { "epoch": 0.8449004224502112, "grad_norm": 0.7695516347885132, "learning_rate": 0.00029369042810199416, "loss": 0.1453, "mean_token_accuracy": 0.9618589824438095, "num_tokens": 1880091.0, "step": 350 }, { "epoch": 0.9052504526252263, "grad_norm": 0.4800753593444824, "learning_rate": 0.0002924345555580135, "loss": 0.1227, "mean_token_accuracy": 0.9672258603572845, "num_tokens": 2031547.0, "step": 375 }, { "epoch": 0.9656004828002414, "grad_norm": 0.5669476985931396, "learning_rate": 0.000291067971369783, "loss": 0.1207, "mean_token_accuracy": 0.96809639275074, "num_tokens": 2147237.0, "step": 400 }, { "epoch": 1.0, "eval_loss": 0.12038072198629379, "eval_mean_token_accuracy": 0.9679264332797076, "eval_num_tokens": 2223513.0, "eval_runtime": 60.431, "eval_samples_per_second": 6.106, "eval_steps_per_second": 3.061, "step": 415 }, { "epoch": 1.024140012070006, "grad_norm": 0.31214025616645813, "learning_rate": 0.0002895917377569438, "loss": 0.127, "mean_token_accuracy": 0.966964461139797, "num_tokens": 2291189.0, "step": 425 }, { "epoch": 1.0844900422450212, "grad_norm": 0.4406073987483978, "learning_rate": 0.00028800700216752875, "loss": 0.0904, "mean_token_accuracy": 0.9758492666482925, "num_tokens": 2426566.0, "step": 450 }, { "epoch": 1.1448400724200363, "grad_norm": 0.4013468325138092, "learning_rate": 0.00028631499638607285, "loss": 0.114, "mean_token_accuracy": 0.9697561454772949, "num_tokens": 2560245.0, "step": 475 }, { "epoch": 1.2051901025950513, "grad_norm": 0.3366129994392395, "learning_rate": 0.0002845170355761712, "loss": 0.0827, "mean_token_accuracy": 0.9783335107564927, "num_tokens": 2695786.0, "step": 500 }, { "epoch": 1.2655401327700664, "grad_norm": 0.33777478337287903, "learning_rate": 0.0002826145172582274, "loss": 0.1049, "mean_token_accuracy": 0.9726521408557892, "num_tokens": 2827828.0, "step": 525 }, { "epoch": 1.3258901629450814, "grad_norm": 0.34536224603652954, "learning_rate": 0.00028060892022318764, "loss": 0.0827, "mean_token_accuracy": 0.9780162799358368, "num_tokens": 2959671.0, "step": 550 }, { "epoch": 1.3862401931200965, "grad_norm": 0.34014376997947693, "learning_rate": 0.0002785018033831051, "loss": 0.1, "mean_token_accuracy": 0.9745338922739029, "num_tokens": 3092256.0, "step": 575 }, { "epoch": 1.4465902232951118, "grad_norm": 0.26126986742019653, "learning_rate": 0.0002762948045594276, "loss": 0.0784, "mean_token_accuracy": 0.98013427734375, "num_tokens": 3225551.0, "step": 600 }, { "epoch": 1.5069402534701268, "grad_norm": 0.25581225752830505, "learning_rate": 0.0002739896392099502, "loss": 0.0992, "mean_token_accuracy": 0.9744413161277771, "num_tokens": 3358590.0, "step": 625 }, { "epoch": 1.567290283645142, "grad_norm": 0.38688021898269653, "learning_rate": 0.00027158809909542307, "loss": 0.0746, "mean_token_accuracy": 0.9804132694005966, "num_tokens": 3494044.0, "step": 650 }, { "epoch": 1.627640313820157, "grad_norm": 0.2373267114162445, "learning_rate": 0.00026909205088685, "loss": 0.0976, "mean_token_accuracy": 0.9745747190713883, "num_tokens": 3627751.0, "step": 675 }, { "epoch": 1.687990343995172, "grad_norm": 0.37386244535446167, "learning_rate": 0.0002665034347145612, "loss": 0.0751, "mean_token_accuracy": 0.9802791184186935, "num_tokens": 3762776.0, "step": 700 }, { "epoch": 1.748340374170187, "grad_norm": 0.276994526386261, "learning_rate": 0.000263824262660187, "loss": 0.097, "mean_token_accuracy": 0.9747868567705155, "num_tokens": 3896978.0, "step": 725 }, { "epoch": 1.8086904043452021, "grad_norm": 0.4135245978832245, "learning_rate": 0.0002610566171927056, "loss": 0.0706, "mean_token_accuracy": 0.9817547309398651, "num_tokens": 4034768.0, "step": 750 }, { "epoch": 1.8690404345202172, "grad_norm": 0.15843796730041504, "learning_rate": 0.00025820264954977976, "loss": 0.0889, "mean_token_accuracy": 0.9776063919067383, "num_tokens": 4169906.0, "step": 775 }, { "epoch": 1.9293904646952322, "grad_norm": 0.30585798621177673, "learning_rate": 0.00025526457806564136, "loss": 0.0668, "mean_token_accuracy": 0.9821723079681397, "num_tokens": 4305541.0, "step": 800 }, { "epoch": 1.9897404948702473, "grad_norm": 0.23672625422477722, "learning_rate": 0.00025224468644682245, "loss": 0.0777, "mean_token_accuracy": 0.9801788556575776, "num_tokens": 4429095.0, "step": 825 }, { "epoch": 2.0, "eval_loss": 0.08333630114793777, "eval_mean_token_accuracy": 0.9790130283381487, "eval_num_tokens": 4447026.0, "eval_runtime": 60.4769, "eval_samples_per_second": 6.101, "eval_steps_per_second": 3.059, "step": 830 }, { "epoch": 2.048280024140012, "grad_norm": 0.2790965139865875, "learning_rate": 0.00024914532199707444, "loss": 0.0737, "mean_token_accuracy": 0.9818082832798516, "num_tokens": 4573150.0, "step": 850 }, { "epoch": 2.1086300543150274, "grad_norm": 0.38501349091529846, "learning_rate": 0.00024596889379285353, "loss": 0.0609, "mean_token_accuracy": 0.9846205246448517, "num_tokens": 4696253.0, "step": 875 }, { "epoch": 2.1689800844900424, "grad_norm": 0.3383895754814148, "learning_rate": 0.00024271787081079228, "loss": 0.0731, "mean_token_accuracy": 0.9802233374118805, "num_tokens": 4842241.0, "step": 900 }, { "epoch": 2.2293301146650575, "grad_norm": 0.21086572110652924, "learning_rate": 0.00023939478000861117, "loss": 0.0596, "mean_token_accuracy": 0.9851127731800079, "num_tokens": 4965545.0, "step": 925 }, { "epoch": 2.2896801448400725, "grad_norm": 0.20826084911823273, "learning_rate": 0.00023600220436096318, "loss": 0.0759, "mean_token_accuracy": 0.9797697293758393, "num_tokens": 5111070.0, "step": 950 }, { "epoch": 2.3500301750150876, "grad_norm": 0.2537970244884491, "learning_rate": 0.00023254278085173684, "loss": 0.059, "mean_token_accuracy": 0.9851009005308151, "num_tokens": 5235251.0, "step": 975 }, { "epoch": 2.4103802051901027, "grad_norm": 0.2794428765773773, "learning_rate": 0.00022901919842437972, "loss": 0.0671, "mean_token_accuracy": 0.9823657035827636, "num_tokens": 5379177.0, "step": 1000 }, { "epoch": 2.4707302353651177, "grad_norm": 0.23955030739307404, "learning_rate": 0.00022543419589183397, "loss": 0.06, "mean_token_accuracy": 0.9847251123189926, "num_tokens": 5501778.0, "step": 1025 }, { "epoch": 2.5310802655401328, "grad_norm": 0.24202412366867065, "learning_rate": 0.00022179055980770993, "loss": 0.0702, "mean_token_accuracy": 0.9814589565992355, "num_tokens": 5646414.0, "step": 1050 }, { "epoch": 2.591430295715148, "grad_norm": 0.18459561467170715, "learning_rate": 0.0002180911223003513, "loss": 0.062, "mean_token_accuracy": 0.9842818379402161, "num_tokens": 5771178.0, "step": 1075 }, { "epoch": 2.651780325890163, "grad_norm": 0.21107763051986694, "learning_rate": 0.00021433875887147627, "loss": 0.0656, "mean_token_accuracy": 0.982610120177269, "num_tokens": 5916367.0, "step": 1100 }, { "epoch": 2.712130356065178, "grad_norm": 0.12310996651649475, "learning_rate": 0.00021053638616110525, "loss": 0.056, "mean_token_accuracy": 0.9858221507072449, "num_tokens": 6039601.0, "step": 1125 }, { "epoch": 2.772480386240193, "grad_norm": 0.0949612483382225, "learning_rate": 0.00020668695968051274, "loss": 0.062, "mean_token_accuracy": 0.9835014945268631, "num_tokens": 6183454.0, "step": 1150 }, { "epoch": 2.832830416415208, "grad_norm": 0.23207980394363403, "learning_rate": 0.00020279347151496482, "loss": 0.0546, "mean_token_accuracy": 0.9864810138940812, "num_tokens": 6305513.0, "step": 1175 }, { "epoch": 2.8931804465902236, "grad_norm": 0.14339599013328552, "learning_rate": 0.00019885894799802922, "loss": 0.0665, "mean_token_accuracy": 0.982457509636879, "num_tokens": 6450956.0, "step": 1200 }, { "epoch": 2.9535304767652386, "grad_norm": 0.10236950218677521, "learning_rate": 0.00019488644735926396, "loss": 0.0538, "mean_token_accuracy": 0.9864566326141357, "num_tokens": 6574055.0, "step": 1225 }, { "epoch": 3.0, "eval_loss": 0.0698639452457428, "eval_mean_token_accuracy": 0.9828434982815304, "eval_num_tokens": 6670539.0, "eval_runtime": 60.4557, "eval_samples_per_second": 6.104, "eval_steps_per_second": 3.06, "step": 1245 } ], "logging_steps": 25, "max_steps": 2905, "num_input_tokens_seen": 0, "num_train_epochs": 7, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 2.884964041715958e+17, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:837f73e1808d10388c3e9d0067719323e5731b8387ed3c99bcbeb463cf7ac167size 6033123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: mistralai/Mistral-7B-Instruct-v0.3library_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.15.2123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "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_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "gate_proj", "k_proj", "down_proj", "o_proj", "v_proj", "up_proj", "q_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:746556f40bbb50a0a2e12c520ca2bdeac8fb10fef33b37f9fe993a1b3a025bb2size 335604696123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS] [" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST] " + message["content"] + "[/INST]" }} {%- endif %} {%- elif message.tool_calls is defined and message.tool_calls is not none %} {{- "[TOOL_CALLS] [" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- " " + message["content"]|trim + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}123version https://git-lfs.github.com/spec/v1oid sha256:2a2a58ca03c5059f5f60163aefd11741771b2869f0e1333f518ec8a5cf6270dbsize 671365003123version https://git-lfs.github.com/spec/v1oid sha256:8c7bc16906d7e5aa7943ccefbd2721629ef1abc4dd9f285220ee1b8d4e1290aesize 14645123version https://git-lfs.github.com/spec/v1oid sha256:400af09f812b537d738744947529a57cd588f5dd92eadb329b9f329acf39c801size 1465123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89size 587404123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 4.0, "eval_steps": 500, "global_step": 1660, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.060350030175015085, "grad_norm": 0.915810763835907, "learning_rate": 8.18181818181818e-05, "loss": 1.5579, "mean_token_accuracy": 0.6726609909534454, "num_tokens": 156451.0, "step": 25 }, { "epoch": 0.12070006035003017, "grad_norm": 0.8468347191810608, "learning_rate": 0.00016704545454545452, "loss": 0.8806, "mean_token_accuracy": 0.7797876751422882, "num_tokens": 273996.0, "step": 50 }, { "epoch": 0.18105009052504525, "grad_norm": 0.6957323551177979, "learning_rate": 0.0002522727272727273, "loss": 0.5904, "mean_token_accuracy": 0.8393249285221099, "num_tokens": 425859.0, "step": 75 }, { "epoch": 0.24140012070006034, "grad_norm": 0.7738164663314819, "learning_rate": 0.0002999887132933212, "loss": 0.4572, "mean_token_accuracy": 0.8712374359369278, "num_tokens": 542080.0, "step": 100 }, { "epoch": 0.30175015087507545, "grad_norm": 0.6000323295593262, "learning_rate": 0.0002998791256978121, "loss": 0.3441, "mean_token_accuracy": 0.9016327333450317, "num_tokens": 690749.0, "step": 125 }, { "epoch": 0.3621001810500905, "grad_norm": 0.8241934776306152, "learning_rate": 0.0002996530399366737, "loss": 0.3391, "mean_token_accuracy": 0.9067233097553253, "num_tokens": 804498.0, "step": 150 }, { "epoch": 0.4224502112251056, "grad_norm": 0.6018714308738708, "learning_rate": 0.00029931063174202567, "loss": 0.2403, "mean_token_accuracy": 0.9311208426952362, "num_tokens": 956805.0, "step": 175 }, { "epoch": 0.4828002414001207, "grad_norm": 0.6791284680366516, "learning_rate": 0.00029885216726118104, "loss": 0.2405, "mean_token_accuracy": 0.9332937943935394, "num_tokens": 1073182.0, "step": 200 }, { "epoch": 0.5431502715751357, "grad_norm": 0.4105781614780426, "learning_rate": 0.00029827800284977474, "loss": 0.1788, "mean_token_accuracy": 0.9502924716472626, "num_tokens": 1223675.0, "step": 225 }, { "epoch": 0.6035003017501509, "grad_norm": 0.6441053152084351, "learning_rate": 0.00029758858479477575, "loss": 0.1834, "mean_token_accuracy": 0.9509575897455216, "num_tokens": 1340505.0, "step": 250 }, { "epoch": 0.663850331925166, "grad_norm": 0.6117656230926514, "learning_rate": 0.0002967844489675963, "loss": 0.164, "mean_token_accuracy": 0.9560773247480392, "num_tokens": 1494591.0, "step": 275 }, { "epoch": 0.724200362100181, "grad_norm": 0.6707085967063904, "learning_rate": 0.00029586622040756957, "loss": 0.1596, "mean_token_accuracy": 0.9571379733085632, "num_tokens": 1611141.0, "step": 300 }, { "epoch": 0.7845503922751962, "grad_norm": 0.3164249658584595, "learning_rate": 0.0002948346128361186, "loss": 0.1361, "mean_token_accuracy": 0.9637150484323501, "num_tokens": 1764271.0, "step": 325 }, { "epoch": 0.8449004224502112, "grad_norm": 0.7695516347885132, "learning_rate": 0.00029369042810199416, "loss": 0.1453, "mean_token_accuracy": 0.9618589824438095, "num_tokens": 1880091.0, "step": 350 }, { "epoch": 0.9052504526252263, "grad_norm": 0.4800753593444824, "learning_rate": 0.0002924345555580135, "loss": 0.1227, "mean_token_accuracy": 0.9672258603572845, "num_tokens": 2031547.0, "step": 375 }, { "epoch": 0.9656004828002414, "grad_norm": 0.5669476985931396, "learning_rate": 0.000291067971369783, "loss": 0.1207, "mean_token_accuracy": 0.96809639275074, "num_tokens": 2147237.0, "step": 400 }, { "epoch": 1.0, "eval_loss": 0.12038072198629379, "eval_mean_token_accuracy": 0.9679264332797076, "eval_num_tokens": 2223513.0, "eval_runtime": 60.431, "eval_samples_per_second": 6.106, "eval_steps_per_second": 3.061, "step": 415 }, { "epoch": 1.024140012070006, "grad_norm": 0.31214025616645813, "learning_rate": 0.0002895917377569438, "loss": 0.127, "mean_token_accuracy": 0.966964461139797, "num_tokens": 2291189.0, "step": 425 }, { "epoch": 1.0844900422450212, "grad_norm": 0.4406073987483978, "learning_rate": 0.00028800700216752875, "loss": 0.0904, "mean_token_accuracy": 0.9758492666482925, "num_tokens": 2426566.0, "step": 450 }, { "epoch": 1.1448400724200363, "grad_norm": 0.4013468325138092, "learning_rate": 0.00028631499638607285, "loss": 0.114, "mean_token_accuracy": 0.9697561454772949, "num_tokens": 2560245.0, "step": 475 }, { "epoch": 1.2051901025950513, "grad_norm": 0.3366129994392395, "learning_rate": 0.0002845170355761712, "loss": 0.0827, "mean_token_accuracy": 0.9783335107564927, "num_tokens": 2695786.0, "step": 500 }, { "epoch": 1.2655401327700664, "grad_norm": 0.33777478337287903, "learning_rate": 0.0002826145172582274, "loss": 0.1049, "mean_token_accuracy": 0.9726521408557892, "num_tokens": 2827828.0, "step": 525 }, { "epoch": 1.3258901629450814, "grad_norm": 0.34536224603652954, "learning_rate": 0.00028060892022318764, "loss": 0.0827, "mean_token_accuracy": 0.9780162799358368, "num_tokens": 2959671.0, "step": 550 }, { "epoch": 1.3862401931200965, "grad_norm": 0.34014376997947693, "learning_rate": 0.0002785018033831051, "loss": 0.1, "mean_token_accuracy": 0.9745338922739029, "num_tokens": 3092256.0, "step": 575 }, { "epoch": 1.4465902232951118, "grad_norm": 0.26126986742019653, "learning_rate": 0.0002762948045594276, "loss": 0.0784, "mean_token_accuracy": 0.98013427734375, "num_tokens": 3225551.0, "step": 600 }, { "epoch": 1.5069402534701268, "grad_norm": 0.25581225752830505, "learning_rate": 0.0002739896392099502, "loss": 0.0992, "mean_token_accuracy": 0.9744413161277771, "num_tokens": 3358590.0, "step": 625 }, { "epoch": 1.567290283645142, "grad_norm": 0.38688021898269653, "learning_rate": 0.00027158809909542307, "loss": 0.0746, "mean_token_accuracy": 0.9804132694005966, "num_tokens": 3494044.0, "step": 650 }, { "epoch": 1.627640313820157, "grad_norm": 0.2373267114162445, "learning_rate": 0.00026909205088685, "loss": 0.0976, "mean_token_accuracy": 0.9745747190713883, "num_tokens": 3627751.0, "step": 675 }, { "epoch": 1.687990343995172, "grad_norm": 0.37386244535446167, "learning_rate": 0.0002665034347145612, "loss": 0.0751, "mean_token_accuracy": 0.9802791184186935, "num_tokens": 3762776.0, "step": 700 }, { "epoch": 1.748340374170187, "grad_norm": 0.276994526386261, "learning_rate": 0.000263824262660187, "loss": 0.097, "mean_token_accuracy": 0.9747868567705155, "num_tokens": 3896978.0, "step": 725 }, { "epoch": 1.8086904043452021, "grad_norm": 0.4135245978832245, "learning_rate": 0.0002610566171927056, "loss": 0.0706, "mean_token_accuracy": 0.9817547309398651, "num_tokens": 4034768.0, "step": 750 }, { "epoch": 1.8690404345202172, "grad_norm": 0.15843796730041504, "learning_rate": 0.00025820264954977976, "loss": 0.0889, "mean_token_accuracy": 0.9776063919067383, "num_tokens": 4169906.0, "step": 775 }, { "epoch": 1.9293904646952322, "grad_norm": 0.30585798621177673, "learning_rate": 0.00025526457806564136, "loss": 0.0668, "mean_token_accuracy": 0.9821723079681397, "num_tokens": 4305541.0, "step": 800 }, { "epoch": 1.9897404948702473, "grad_norm": 0.23672625422477722, "learning_rate": 0.00025224468644682245, "loss": 0.0777, "mean_token_accuracy": 0.9801788556575776, "num_tokens": 4429095.0, "step": 825 }, { "epoch": 2.0, "eval_loss": 0.08333630114793777, "eval_mean_token_accuracy": 0.9790130283381487, "eval_num_tokens": 4447026.0, "eval_runtime": 60.4769, "eval_samples_per_second": 6.101, "eval_steps_per_second": 3.059, "step": 830 }, { "epoch": 2.048280024140012, "grad_norm": 0.2790965139865875, "learning_rate": 0.00024914532199707444, "loss": 0.0737, "mean_token_accuracy": 0.9818082832798516, "num_tokens": 4573150.0, "step": 850 }, { "epoch": 2.1086300543150274, "grad_norm": 0.38501349091529846, "learning_rate": 0.00024596889379285353, "loss": 0.0609, "mean_token_accuracy": 0.9846205246448517, "num_tokens": 4696253.0, "step": 875 }, { "epoch": 2.1689800844900424, "grad_norm": 0.3383895754814148, "learning_rate": 0.00024271787081079228, "loss": 0.0731, "mean_token_accuracy": 0.9802233374118805, "num_tokens": 4842241.0, "step": 900 }, { "epoch": 2.2293301146650575, "grad_norm": 0.21086572110652924, "learning_rate": 0.00023939478000861117, "loss": 0.0596, "mean_token_accuracy": 0.9851127731800079, "num_tokens": 4965545.0, "step": 925 }, { "epoch": 2.2896801448400725, "grad_norm": 0.20826084911823273, "learning_rate": 0.00023600220436096318, "loss": 0.0759, "mean_token_accuracy": 0.9797697293758393, "num_tokens": 5111070.0, "step": 950 }, { "epoch": 2.3500301750150876, "grad_norm": 0.2537970244884491, "learning_rate": 0.00023254278085173684, "loss": 0.059, "mean_token_accuracy": 0.9851009005308151, "num_tokens": 5235251.0, "step": 975 }, { "epoch": 2.4103802051901027, "grad_norm": 0.2794428765773773, "learning_rate": 0.00022901919842437972, "loss": 0.0671, "mean_token_accuracy": 0.9823657035827636, "num_tokens": 5379177.0, "step": 1000 }, { "epoch": 2.4707302353651177, "grad_norm": 0.23955030739307404, "learning_rate": 0.00022543419589183397, "loss": 0.06, "mean_token_accuracy": 0.9847251123189926, "num_tokens": 5501778.0, "step": 1025 }, { "epoch": 2.5310802655401328, "grad_norm": 0.24202412366867065, "learning_rate": 0.00022179055980770993, "loss": 0.0702, "mean_token_accuracy": 0.9814589565992355, "num_tokens": 5646414.0, "step": 1050 }, { "epoch": 2.591430295715148, "grad_norm": 0.18459561467170715, "learning_rate": 0.0002180911223003513, "loss": 0.062, "mean_token_accuracy": 0.9842818379402161, "num_tokens": 5771178.0, "step": 1075 }, { "epoch": 2.651780325890163, "grad_norm": 0.21107763051986694, "learning_rate": 0.00021433875887147627, "loss": 0.0656, "mean_token_accuracy": 0.982610120177269, "num_tokens": 5916367.0, "step": 1100 }, { "epoch": 2.712130356065178, "grad_norm": 0.12310996651649475, "learning_rate": 0.00021053638616110525, "loss": 0.056, "mean_token_accuracy": 0.9858221507072449, "num_tokens": 6039601.0, "step": 1125 }, { "epoch": 2.772480386240193, "grad_norm": 0.0949612483382225, "learning_rate": 0.00020668695968051274, "loss": 0.062, "mean_token_accuracy": 0.9835014945268631, "num_tokens": 6183454.0, "step": 1150 }, { "epoch": 2.832830416415208, "grad_norm": 0.23207980394363403, "learning_rate": 0.00020279347151496482, "loss": 0.0546, "mean_token_accuracy": 0.9864810138940812, "num_tokens": 6305513.0, "step": 1175 }, { "epoch": 2.8931804465902236, "grad_norm": 0.14339599013328552, "learning_rate": 0.00019885894799802922, "loss": 0.0665, "mean_token_accuracy": 0.982457509636879, "num_tokens": 6450956.0, "step": 1200 }, { "epoch": 2.9535304767652386, "grad_norm": 0.10236950218677521, "learning_rate": 0.00019488644735926396, "loss": 0.0538, "mean_token_accuracy": 0.9864566326141357, "num_tokens": 6574055.0, "step": 1225 }, { "epoch": 3.0, "eval_loss": 0.0698639452457428, "eval_mean_token_accuracy": 0.9828434982815304, "eval_num_tokens": 6670539.0, "eval_runtime": 60.4557, "eval_samples_per_second": 6.104, "eval_steps_per_second": 3.06, "step": 1245 }, { "epoch": 3.012070006035003, "grad_norm": 0.19694368541240692, "learning_rate": 0.00019087905734711452, "loss": 0.0664, "mean_token_accuracy": 0.98261449324716, "num_tokens": 6707839.0, "step": 1250 }, { "epoch": 3.0724200362100182, "grad_norm": 0.11810697615146637, "learning_rate": 0.00018683989282886613, "loss": 0.0468, "mean_token_accuracy": 0.988110933303833, "num_tokens": 6850375.0, "step": 1275 }, { "epoch": 3.1327700663850333, "grad_norm": 0.18672189116477966, "learning_rate": 0.0001827720933695173, "loss": 0.054, "mean_token_accuracy": 0.9859074687957764, "num_tokens": 6976640.0, "step": 1300 }, { "epoch": 3.1931200965600484, "grad_norm": 0.0706477090716362, "learning_rate": 0.00017867882079145627, "loss": 0.0458, "mean_token_accuracy": 0.9881710064411163, "num_tokens": 7116531.0, "step": 1325 }, { "epoch": 3.2534701267350634, "grad_norm": 0.19763106107711792, "learning_rate": 0.00017456325671683724, "loss": 0.0542, "mean_token_accuracy": 0.9864082312583924, "num_tokens": 7244136.0, "step": 1350 }, { "epoch": 3.3138201569100785, "grad_norm": 0.14251746237277985, "learning_rate": 0.00017042860009456638, "loss": 0.046, "mean_token_accuracy": 0.9879621362686157, "num_tokens": 7386096.0, "step": 1375 }, { "epoch": 3.3741701870850935, "grad_norm": 0.1693497598171234, "learning_rate": 0.00016627806471382066, "loss": 0.0529, "mean_token_accuracy": 0.9869521266222, "num_tokens": 7513742.0, "step": 1400 }, { "epoch": 3.4345202172601086, "grad_norm": 0.08023709058761597, "learning_rate": 0.00016211487670603078, "loss": 0.0459, "mean_token_accuracy": 0.9879424357414246, "num_tokens": 7655678.0, "step": 1425 }, { "epoch": 3.4948702474351236, "grad_norm": 0.19639359414577484, "learning_rate": 0.0001579422720372715, "loss": 0.0567, "mean_token_accuracy": 0.9857883536815644, "num_tokens": 7780221.0, "step": 1450 }, { "epoch": 3.5552202776101387, "grad_norm": 0.07502614706754684, "learning_rate": 0.00015376349399300745, "loss": 0.0452, "mean_token_accuracy": 0.9880510932207107, "num_tokens": 7919857.0, "step": 1475 }, { "epoch": 3.6155703077851538, "grad_norm": 0.15008965134620667, "learning_rate": 0.0001495817906571492, "loss": 0.055, "mean_token_accuracy": 0.9859279471635819, "num_tokens": 8045749.0, "step": 1500 }, { "epoch": 3.675920337960169, "grad_norm": 0.08942336589097977, "learning_rate": 0.00014540041238738055, "loss": 0.0456, "mean_token_accuracy": 0.9880678504705429, "num_tokens": 8186860.0, "step": 1525 }, { "epoch": 3.736270368135184, "grad_norm": 0.15885671973228455, "learning_rate": 0.00014122260928871734, "loss": 0.0546, "mean_token_accuracy": 0.9859816372394562, "num_tokens": 8314411.0, "step": 1550 }, { "epoch": 3.796620398310199, "grad_norm": 0.08140072971582413, "learning_rate": 0.00013705162868726396, "loss": 0.0448, "mean_token_accuracy": 0.9879288977384567, "num_tokens": 8459434.0, "step": 1575 }, { "epoch": 3.856970428485214, "grad_norm": 0.14952507615089417, "learning_rate": 0.00013289071260612855, "loss": 0.0509, "mean_token_accuracy": 0.9866566967964172, "num_tokens": 8588677.0, "step": 1600 }, { "epoch": 3.9173204586602295, "grad_norm": 0.08463295549154282, "learning_rate": 0.00012874309524546083, "loss": 0.0434, "mean_token_accuracy": 0.9884845250844956, "num_tokens": 8728697.0, "step": 1625 }, { "epoch": 3.9776704888352445, "grad_norm": 0.14282330870628357, "learning_rate": 0.00012461200046857084, "loss": 0.0489, "mean_token_accuracy": 0.9877329683303833, "num_tokens": 8849522.0, "step": 1650 }, { "epoch": 4.0, "eval_loss": 0.06439081579446793, "eval_mean_token_accuracy": 0.9848004015716346, "eval_num_tokens": 8894052.0, "eval_runtime": 60.4081, "eval_samples_per_second": 6.108, "eval_steps_per_second": 3.063, "step": 1660 } ], "logging_steps": 25, "max_steps": 2905, "num_input_tokens_seen": 0, "num_train_epochs": 7, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 3.846569346121482e+17, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:837f73e1808d10388c3e9d0067719323e5731b8387ed3c99bcbeb463cf7ac167size 6033123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: mistralai/Mistral-7B-Instruct-v0.3library_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.15.2123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "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_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "gate_proj", "k_proj", "down_proj", "o_proj", "v_proj", "up_proj", "q_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:f87878abe8fc25118a61dae8fae29bb09797be18f9af4649f241b3ea3c450bedsize 335604696123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS] [" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST] " + message["content"] + "[/INST]" }} {%- endif %} {%- elif message.tool_calls is defined and message.tool_calls is not none %} {{- "[TOOL_CALLS] [" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- " " + message["content"]|trim + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}123version https://git-lfs.github.com/spec/v1oid sha256:ad8b1950f0a03fccf96aaa7714d530286a40b928653ee3a0a027fc757dc73c45size 671365003123version https://git-lfs.github.com/spec/v1oid sha256:d71e41eac1a5e8e2ae08863b02b737b57e8a9608788d7b8ce5e609159c7384fbsize 14645123version https://git-lfs.github.com/spec/v1oid sha256:fdeac6d1a7910e1e533a39a2d59ab67f6fb22254f41224ded16d311412dbc0b1size 1465123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89size 587404123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 5.0, "eval_steps": 500, "global_step": 2075, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.060350030175015085, "grad_norm": 0.915810763835907, "learning_rate": 8.18181818181818e-05, "loss": 1.5579, "mean_token_accuracy": 0.6726609909534454, "num_tokens": 156451.0, "step": 25 }, { "epoch": 0.12070006035003017, "grad_norm": 0.8468347191810608, "learning_rate": 0.00016704545454545452, "loss": 0.8806, "mean_token_accuracy": 0.7797876751422882, "num_tokens": 273996.0, "step": 50 }, { "epoch": 0.18105009052504525, "grad_norm": 0.6957323551177979, "learning_rate": 0.0002522727272727273, "loss": 0.5904, "mean_token_accuracy": 0.8393249285221099, "num_tokens": 425859.0, "step": 75 }, { "epoch": 0.24140012070006034, "grad_norm": 0.7738164663314819, "learning_rate": 0.0002999887132933212, "loss": 0.4572, "mean_token_accuracy": 0.8712374359369278, "num_tokens": 542080.0, "step": 100 }, { "epoch": 0.30175015087507545, "grad_norm": 0.6000323295593262, "learning_rate": 0.0002998791256978121, "loss": 0.3441, "mean_token_accuracy": 0.9016327333450317, "num_tokens": 690749.0, "step": 125 }, { "epoch": 0.3621001810500905, "grad_norm": 0.8241934776306152, "learning_rate": 0.0002996530399366737, "loss": 0.3391, "mean_token_accuracy": 0.9067233097553253, "num_tokens": 804498.0, "step": 150 }, { "epoch": 0.4224502112251056, "grad_norm": 0.6018714308738708, "learning_rate": 0.00029931063174202567, "loss": 0.2403, "mean_token_accuracy": 0.9311208426952362, "num_tokens": 956805.0, "step": 175 }, { "epoch": 0.4828002414001207, "grad_norm": 0.6791284680366516, "learning_rate": 0.00029885216726118104, "loss": 0.2405, "mean_token_accuracy": 0.9332937943935394, "num_tokens": 1073182.0, "step": 200 }, { "epoch": 0.5431502715751357, "grad_norm": 0.4105781614780426, "learning_rate": 0.00029827800284977474, "loss": 0.1788, "mean_token_accuracy": 0.9502924716472626, "num_tokens": 1223675.0, "step": 225 }, { "epoch": 0.6035003017501509, "grad_norm": 0.6441053152084351, "learning_rate": 0.00029758858479477575, "loss": 0.1834, "mean_token_accuracy": 0.9509575897455216, "num_tokens": 1340505.0, "step": 250 }, { "epoch": 0.663850331925166, "grad_norm": 0.6117656230926514, "learning_rate": 0.0002967844489675963, "loss": 0.164, "mean_token_accuracy": 0.9560773247480392, "num_tokens": 1494591.0, "step": 275 }, { "epoch": 0.724200362100181, "grad_norm": 0.6707085967063904, "learning_rate": 0.00029586622040756957, "loss": 0.1596, "mean_token_accuracy": 0.9571379733085632, "num_tokens": 1611141.0, "step": 300 }, { "epoch": 0.7845503922751962, "grad_norm": 0.3164249658584595, "learning_rate": 0.0002948346128361186, "loss": 0.1361, "mean_token_accuracy": 0.9637150484323501, "num_tokens": 1764271.0, "step": 325 }, { "epoch": 0.8449004224502112, "grad_norm": 0.7695516347885132, "learning_rate": 0.00029369042810199416, "loss": 0.1453, "mean_token_accuracy": 0.9618589824438095, "num_tokens": 1880091.0, "step": 350 }, { "epoch": 0.9052504526252263, "grad_norm": 0.4800753593444824, "learning_rate": 0.0002924345555580135, "loss": 0.1227, "mean_token_accuracy": 0.9672258603572845, "num_tokens": 2031547.0, "step": 375 }, { "epoch": 0.9656004828002414, "grad_norm": 0.5669476985931396, "learning_rate": 0.000291067971369783, "loss": 0.1207, "mean_token_accuracy": 0.96809639275074, "num_tokens": 2147237.0, "step": 400 }, { "epoch": 1.0, "eval_loss": 0.12038072198629379, "eval_mean_token_accuracy": 0.9679264332797076, "eval_num_tokens": 2223513.0, "eval_runtime": 60.431, "eval_samples_per_second": 6.106, "eval_steps_per_second": 3.061, "step": 415 }, { "epoch": 1.024140012070006, "grad_norm": 0.31214025616645813, "learning_rate": 0.0002895917377569438, "loss": 0.127, "mean_token_accuracy": 0.966964461139797, "num_tokens": 2291189.0, "step": 425 }, { "epoch": 1.0844900422450212, "grad_norm": 0.4406073987483978, "learning_rate": 0.00028800700216752875, "loss": 0.0904, "mean_token_accuracy": 0.9758492666482925, "num_tokens": 2426566.0, "step": 450 }, { "epoch": 1.1448400724200363, "grad_norm": 0.4013468325138092, "learning_rate": 0.00028631499638607285, "loss": 0.114, "mean_token_accuracy": 0.9697561454772949, "num_tokens": 2560245.0, "step": 475 }, { "epoch": 1.2051901025950513, "grad_norm": 0.3366129994392395, "learning_rate": 0.0002845170355761712, "loss": 0.0827, "mean_token_accuracy": 0.9783335107564927, "num_tokens": 2695786.0, "step": 500 }, { "epoch": 1.2655401327700664, "grad_norm": 0.33777478337287903, "learning_rate": 0.0002826145172582274, "loss": 0.1049, "mean_token_accuracy": 0.9726521408557892, "num_tokens": 2827828.0, "step": 525 }, { "epoch": 1.3258901629450814, "grad_norm": 0.34536224603652954, "learning_rate": 0.00028060892022318764, "loss": 0.0827, "mean_token_accuracy": 0.9780162799358368, "num_tokens": 2959671.0, "step": 550 }, { "epoch": 1.3862401931200965, "grad_norm": 0.34014376997947693, "learning_rate": 0.0002785018033831051, "loss": 0.1, "mean_token_accuracy": 0.9745338922739029, "num_tokens": 3092256.0, "step": 575 }, { "epoch": 1.4465902232951118, "grad_norm": 0.26126986742019653, "learning_rate": 0.0002762948045594276, "loss": 0.0784, "mean_token_accuracy": 0.98013427734375, "num_tokens": 3225551.0, "step": 600 }, { "epoch": 1.5069402534701268, "grad_norm": 0.25581225752830505, "learning_rate": 0.0002739896392099502, "loss": 0.0992, "mean_token_accuracy": 0.9744413161277771, "num_tokens": 3358590.0, "step": 625 }, { "epoch": 1.567290283645142, "grad_norm": 0.38688021898269653, "learning_rate": 0.00027158809909542307, "loss": 0.0746, "mean_token_accuracy": 0.9804132694005966, "num_tokens": 3494044.0, "step": 650 }, { "epoch": 1.627640313820157, "grad_norm": 0.2373267114162445, "learning_rate": 0.00026909205088685, "loss": 0.0976, "mean_token_accuracy": 0.9745747190713883, "num_tokens": 3627751.0, "step": 675 }, { "epoch": 1.687990343995172, "grad_norm": 0.37386244535446167, "learning_rate": 0.0002665034347145612, "loss": 0.0751, "mean_token_accuracy": 0.9802791184186935, "num_tokens": 3762776.0, "step": 700 }, { "epoch": 1.748340374170187, "grad_norm": 0.276994526386261, "learning_rate": 0.000263824262660187, "loss": 0.097, "mean_token_accuracy": 0.9747868567705155, "num_tokens": 3896978.0, "step": 725 }, { "epoch": 1.8086904043452021, "grad_norm": 0.4135245978832245, "learning_rate": 0.0002610566171927056, "loss": 0.0706, "mean_token_accuracy": 0.9817547309398651, "num_tokens": 4034768.0, "step": 750 }, { "epoch": 1.8690404345202172, "grad_norm": 0.15843796730041504, "learning_rate": 0.00025820264954977976, "loss": 0.0889, "mean_token_accuracy": 0.9776063919067383, "num_tokens": 4169906.0, "step": 775 }, { "epoch": 1.9293904646952322, "grad_norm": 0.30585798621177673, "learning_rate": 0.00025526457806564136, "loss": 0.0668, "mean_token_accuracy": 0.9821723079681397, "num_tokens": 4305541.0, "step": 800 }, { "epoch": 1.9897404948702473, "grad_norm": 0.23672625422477722, "learning_rate": 0.00025224468644682245, "loss": 0.0777, "mean_token_accuracy": 0.9801788556575776, "num_tokens": 4429095.0, "step": 825 }, { "epoch": 2.0, "eval_loss": 0.08333630114793777, "eval_mean_token_accuracy": 0.9790130283381487, "eval_num_tokens": 4447026.0, "eval_runtime": 60.4769, "eval_samples_per_second": 6.101, "eval_steps_per_second": 3.059, "step": 830 }, { "epoch": 2.048280024140012, "grad_norm": 0.2790965139865875, "learning_rate": 0.00024914532199707444, "loss": 0.0737, "mean_token_accuracy": 0.9818082832798516, "num_tokens": 4573150.0, "step": 850 }, { "epoch": 2.1086300543150274, "grad_norm": 0.38501349091529846, "learning_rate": 0.00024596889379285353, "loss": 0.0609, "mean_token_accuracy": 0.9846205246448517, "num_tokens": 4696253.0, "step": 875 }, { "epoch": 2.1689800844900424, "grad_norm": 0.3383895754814148, "learning_rate": 0.00024271787081079228, "loss": 0.0731, "mean_token_accuracy": 0.9802233374118805, "num_tokens": 4842241.0, "step": 900 }, { "epoch": 2.2293301146650575, "grad_norm": 0.21086572110652924, "learning_rate": 0.00023939478000861117, "loss": 0.0596, "mean_token_accuracy": 0.9851127731800079, "num_tokens": 4965545.0, "step": 925 }, { "epoch": 2.2896801448400725, "grad_norm": 0.20826084911823273, "learning_rate": 0.00023600220436096318, "loss": 0.0759, "mean_token_accuracy": 0.9797697293758393, "num_tokens": 5111070.0, "step": 950 }, { "epoch": 2.3500301750150876, "grad_norm": 0.2537970244884491, "learning_rate": 0.00023254278085173684, "loss": 0.059, "mean_token_accuracy": 0.9851009005308151, "num_tokens": 5235251.0, "step": 975 }, { "epoch": 2.4103802051901027, "grad_norm": 0.2794428765773773, "learning_rate": 0.00022901919842437972, "loss": 0.0671, "mean_token_accuracy": 0.9823657035827636, "num_tokens": 5379177.0, "step": 1000 }, { "epoch": 2.4707302353651177, "grad_norm": 0.23955030739307404, "learning_rate": 0.00022543419589183397, "loss": 0.06, "mean_token_accuracy": 0.9847251123189926, "num_tokens": 5501778.0, "step": 1025 }, { "epoch": 2.5310802655401328, "grad_norm": 0.24202412366867065, "learning_rate": 0.00022179055980770993, "loss": 0.0702, "mean_token_accuracy": 0.9814589565992355, "num_tokens": 5646414.0, "step": 1050 }, { "epoch": 2.591430295715148, "grad_norm": 0.18459561467170715, "learning_rate": 0.0002180911223003513, "loss": 0.062, "mean_token_accuracy": 0.9842818379402161, "num_tokens": 5771178.0, "step": 1075 }, { "epoch": 2.651780325890163, "grad_norm": 0.21107763051986694, "learning_rate": 0.00021433875887147627, "loss": 0.0656, "mean_token_accuracy": 0.982610120177269, "num_tokens": 5916367.0, "step": 1100 }, { "epoch": 2.712130356065178, "grad_norm": 0.12310996651649475, "learning_rate": 0.00021053638616110525, "loss": 0.056, "mean_token_accuracy": 0.9858221507072449, "num_tokens": 6039601.0, "step": 1125 }, { "epoch": 2.772480386240193, "grad_norm": 0.0949612483382225, "learning_rate": 0.00020668695968051274, "loss": 0.062, "mean_token_accuracy": 0.9835014945268631, "num_tokens": 6183454.0, "step": 1150 }, { "epoch": 2.832830416415208, "grad_norm": 0.23207980394363403, "learning_rate": 0.00020279347151496482, "loss": 0.0546, "mean_token_accuracy": 0.9864810138940812, "num_tokens": 6305513.0, "step": 1175 }, { "epoch": 2.8931804465902236, "grad_norm": 0.14339599013328552, "learning_rate": 0.00019885894799802922, "loss": 0.0665, "mean_token_accuracy": 0.982457509636879, "num_tokens": 6450956.0, "step": 1200 }, { "epoch": 2.9535304767652386, "grad_norm": 0.10236950218677521, "learning_rate": 0.00019488644735926396, "loss": 0.0538, "mean_token_accuracy": 0.9864566326141357, "num_tokens": 6574055.0, "step": 1225 }, { "epoch": 3.0, "eval_loss": 0.0698639452457428, "eval_mean_token_accuracy": 0.9828434982815304, "eval_num_tokens": 6670539.0, "eval_runtime": 60.4557, "eval_samples_per_second": 6.104, "eval_steps_per_second": 3.06, "step": 1245 }, { "epoch": 3.012070006035003, "grad_norm": 0.19694368541240692, "learning_rate": 0.00019087905734711452, "loss": 0.0664, "mean_token_accuracy": 0.98261449324716, "num_tokens": 6707839.0, "step": 1250 }, { "epoch": 3.0724200362100182, "grad_norm": 0.11810697615146637, "learning_rate": 0.00018683989282886613, "loss": 0.0468, "mean_token_accuracy": 0.988110933303833, "num_tokens": 6850375.0, "step": 1275 }, { "epoch": 3.1327700663850333, "grad_norm": 0.18672189116477966, "learning_rate": 0.0001827720933695173, "loss": 0.054, "mean_token_accuracy": 0.9859074687957764, "num_tokens": 6976640.0, "step": 1300 }, { "epoch": 3.1931200965600484, "grad_norm": 0.0706477090716362, "learning_rate": 0.00017867882079145627, "loss": 0.0458, "mean_token_accuracy": 0.9881710064411163, "num_tokens": 7116531.0, "step": 1325 }, { "epoch": 3.2534701267350634, "grad_norm": 0.19763106107711792, "learning_rate": 0.00017456325671683724, "loss": 0.0542, "mean_token_accuracy": 0.9864082312583924, "num_tokens": 7244136.0, "step": 1350 }, { "epoch": 3.3138201569100785, "grad_norm": 0.14251746237277985, "learning_rate": 0.00017042860009456638, "loss": 0.046, "mean_token_accuracy": 0.9879621362686157, "num_tokens": 7386096.0, "step": 1375 }, { "epoch": 3.3741701870850935, "grad_norm": 0.1693497598171234, "learning_rate": 0.00016627806471382066, "loss": 0.0529, "mean_token_accuracy": 0.9869521266222, "num_tokens": 7513742.0, "step": 1400 }, { "epoch": 3.4345202172601086, "grad_norm": 0.08023709058761597, "learning_rate": 0.00016211487670603078, "loss": 0.0459, "mean_token_accuracy": 0.9879424357414246, "num_tokens": 7655678.0, "step": 1425 }, { "epoch": 3.4948702474351236, "grad_norm": 0.19639359414577484, "learning_rate": 0.0001579422720372715, "loss": 0.0567, "mean_token_accuracy": 0.9857883536815644, "num_tokens": 7780221.0, "step": 1450 }, { "epoch": 3.5552202776101387, "grad_norm": 0.07502614706754684, "learning_rate": 0.00015376349399300745, "loss": 0.0452, "mean_token_accuracy": 0.9880510932207107, "num_tokens": 7919857.0, "step": 1475 }, { "epoch": 3.6155703077851538, "grad_norm": 0.15008965134620667, "learning_rate": 0.0001495817906571492, "loss": 0.055, "mean_token_accuracy": 0.9859279471635819, "num_tokens": 8045749.0, "step": 1500 }, { "epoch": 3.675920337960169, "grad_norm": 0.08942336589097977, "learning_rate": 0.00014540041238738055, "loss": 0.0456, "mean_token_accuracy": 0.9880678504705429, "num_tokens": 8186860.0, "step": 1525 }, { "epoch": 3.736270368135184, "grad_norm": 0.15885671973228455, "learning_rate": 0.00014122260928871734, "loss": 0.0546, "mean_token_accuracy": 0.9859816372394562, "num_tokens": 8314411.0, "step": 1550 }, { "epoch": 3.796620398310199, "grad_norm": 0.08140072971582413, "learning_rate": 0.00013705162868726396, "loss": 0.0448, "mean_token_accuracy": 0.9879288977384567, "num_tokens": 8459434.0, "step": 1575 }, { "epoch": 3.856970428485214, "grad_norm": 0.14952507615089417, "learning_rate": 0.00013289071260612855, "loss": 0.0509, "mean_token_accuracy": 0.9866566967964172, "num_tokens": 8588677.0, "step": 1600 }, { "epoch": 3.9173204586602295, "grad_norm": 0.08463295549154282, "learning_rate": 0.00012874309524546083, "loss": 0.0434, "mean_token_accuracy": 0.9884845250844956, "num_tokens": 8728697.0, "step": 1625 }, { "epoch": 3.9776704888352445, "grad_norm": 0.14282330870628357, "learning_rate": 0.00012461200046857084, "loss": 0.0489, "mean_token_accuracy": 0.9877329683303833, "num_tokens": 8849522.0, "step": 1650 }, { "epoch": 4.0, "eval_loss": 0.06439081579446793, "eval_mean_token_accuracy": 0.9848004015716346, "eval_num_tokens": 8894052.0, "eval_runtime": 60.4081, "eval_samples_per_second": 6.108, "eval_steps_per_second": 3.063, "step": 1660 }, { "epoch": 4.036210018105009, "grad_norm": 0.09698522090911865, "learning_rate": 0.00012050063929608123, "loss": 0.0455, "mean_token_accuracy": 0.9885102627203637, "num_tokens": 8991994.0, "step": 1675 }, { "epoch": 4.096560048280024, "grad_norm": 0.0668676421046257, "learning_rate": 0.0001164122074100633, "loss": 0.041, "mean_token_accuracy": 0.9895569503307342, "num_tokens": 9121732.0, "step": 1700 }, { "epoch": 4.15691007845504, "grad_norm": 0.0820237323641777, "learning_rate": 0.00011234988267009415, "loss": 0.0443, "mean_token_accuracy": 0.9885162824392318, "num_tokens": 9262923.0, "step": 1725 }, { "epoch": 4.217260108630055, "grad_norm": 0.07873061299324036, "learning_rate": 0.00010831682264316787, "loss": 0.0417, "mean_token_accuracy": 0.9893530422449112, "num_tokens": 9391281.0, "step": 1750 }, { "epoch": 4.27761013880507, "grad_norm": 0.14161907136440277, "learning_rate": 0.00010431616214937911, "loss": 0.044, "mean_token_accuracy": 0.9886807698011398, "num_tokens": 9528910.0, "step": 1775 }, { "epoch": 4.337960168980085, "grad_norm": 0.11667165160179138, "learning_rate": 0.00010035101082528777, "loss": 0.0411, "mean_token_accuracy": 0.9895562261343003, "num_tokens": 9657454.0, "step": 1800 }, { "epoch": 4.3983101991551, "grad_norm": 0.1089748963713646, "learning_rate": 9.642445070685809e-05, "loss": 0.0445, "mean_token_accuracy": 0.9886202031373977, "num_tokens": 9797754.0, "step": 1825 }, { "epoch": 4.458660229330115, "grad_norm": 0.11159568279981613, "learning_rate": 9.253953383385157e-05, "loss": 0.041, "mean_token_accuracy": 0.9896017628908157, "num_tokens": 9926999.0, "step": 1850 }, { "epoch": 4.51901025950513, "grad_norm": 0.06931650638580322, "learning_rate": 8.869927987753459e-05, "loss": 0.0445, "mean_token_accuracy": 0.9883027869462967, "num_tokens": 10067224.0, "step": 1875 }, { "epoch": 4.579360289680145, "grad_norm": 0.06088819354772568, "learning_rate": 8.490667379354661e-05, "loss": 0.0411, "mean_token_accuracy": 0.9894358485937118, "num_tokens": 10196460.0, "step": 1900 }, { "epoch": 4.63971031985516, "grad_norm": 0.09456664323806763, "learning_rate": 8.116466350175079e-05, "loss": 0.0436, "mean_token_accuracy": 0.9884065991640091, "num_tokens": 10335320.0, "step": 1925 }, { "epoch": 4.700060350030175, "grad_norm": 0.06058884039521217, "learning_rate": 7.747615759487304e-05, "loss": 0.0412, "mean_token_accuracy": 0.9891911673545838, "num_tokens": 10465180.0, "step": 1950 }, { "epoch": 4.76041038020519, "grad_norm": 0.08679672330617905, "learning_rate": 7.38440230777085e-05, "loss": 0.042, "mean_token_accuracy": 0.988958535194397, "num_tokens": 10603341.0, "step": 1975 }, { "epoch": 4.820760410380205, "grad_norm": 0.1154605895280838, "learning_rate": 7.027108313865378e-05, "loss": 0.0409, "mean_token_accuracy": 0.9893914723396301, "num_tokens": 10730981.0, "step": 2000 }, { "epoch": 4.88111044055522, "grad_norm": 0.06791651248931885, "learning_rate": 6.676011495529687e-05, "loss": 0.0446, "mean_token_accuracy": 0.9883267271518708, "num_tokens": 10870777.0, "step": 2025 }, { "epoch": 4.941460470730235, "grad_norm": 0.08565431088209152, "learning_rate": 6.331384753577056e-05, "loss": 0.0399, "mean_token_accuracy": 0.9895966738462448, "num_tokens": 11000621.0, "step": 2050 }, { "epoch": 5.0, "grad_norm": 0.22377392649650574, "learning_rate": 5.993495959754631e-05, "loss": 0.0455, "mean_token_accuracy": 0.9887414543899065, "num_tokens": 11117565.0, "step": 2075 }, { "epoch": 5.0, "eval_loss": 0.06433924287557602, "eval_mean_token_accuracy": 0.9855138524158581, "eval_num_tokens": 11117565.0, "eval_runtime": 60.4738, "eval_samples_per_second": 6.102, "eval_steps_per_second": 3.059, "step": 2075 } ], "logging_steps": 25, "max_steps": 2905, "num_input_tokens_seen": 0, "num_train_epochs": 7, "save_steps": 500, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 4.8081582397894656e+17, "train_batch_size": 2, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:837f73e1808d10388c3e9d0067719323e5731b8387ed3c99bcbeb463cf7ac167size 6033123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: mistralai/Mistral-7B-Instruct-v0.3library_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.15.2123456789101112131415161718192021222324252627282930313233343536373839{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "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_bias": false, "lora_dropout": 0.1, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 32, "rank_pattern": {}, "revision": null, "target_modules": [ "gate_proj", "k_proj", "down_proj", "o_proj", "v_proj", "up_proj", "q_proj" ], "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:21284563332ac6b7d0b3e27cc6d544abda6cc5b517c15108a0ed40c6d6970bfesize 335604696123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS] [" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST] " + message["content"] + "[/INST]" }} {%- endif %} {%- elif message.tool_calls is defined and message.tool_calls is not none %} {{- "[TOOL_CALLS] [" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- " " + message["content"]|trim + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}123version https://git-lfs.github.com/spec/v1oid sha256:c14e94a2e599bd6ac51f7077a7077bb284d2df427919d7efb6964628731e3ca2size 671365003123version https://git-lfs.github.com/spec/v1oid sha256:7379eeeecc1695daae9e68d92129c493d60f18222f595ec263b6505459c689e3size 14645123version https://git-lfs.github.com/spec/v1oid sha256:6b41bfa144f42e80c8ff5d37b29a2644e1a27e71ffa4c3224a8b4db5b2151deasize 1465123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}adapter_config.json+4-4
adapter_model.safetensors+1-1
checkpoint-1245/README.mdAdded+202
checkpoint-1245/adapter_config.jsonAdded+39
checkpoint-1245/adapter_model.safetensorsAdded+3
checkpoint-1245/chat_template.jinjaAdded+87
checkpoint-1245/optimizer.ptAdded+3
checkpoint-1245/rng_state.pthAdded+3
checkpoint-1245/scheduler.ptAdded+3
checkpoint-1245/special_tokens_map.jsonAdded+24
checkpoint-1245/tokenizer.jsonAdded
checkpoint-1245/tokenizer.modelAdded+3
checkpoint-1245/tokenizer_config.jsonAdded
checkpoint-1245/trainer_state.jsonAdded+505
checkpoint-1245/training_args.binAdded+3
checkpoint-1660/README.mdAdded+202
checkpoint-1660/adapter_config.jsonAdded+39
checkpoint-1660/adapter_model.safetensorsAdded+3
checkpoint-1660/chat_template.jinjaAdded+87
checkpoint-1660/optimizer.ptAdded+3
checkpoint-1660/rng_state.pthAdded+3
checkpoint-1660/scheduler.ptAdded+3
checkpoint-1660/special_tokens_map.jsonAdded+24
checkpoint-1660/tokenizer.jsonAdded
checkpoint-1660/tokenizer.modelAdded+3
checkpoint-1660/tokenizer_config.jsonAdded
checkpoint-1660/trainer_state.jsonAdded+668
checkpoint-1660/training_args.binAdded+3
checkpoint-2075/README.mdAdded+202
checkpoint-2075/adapter_config.jsonAdded+39
checkpoint-2075/adapter_model.safetensorsAdded+3
checkpoint-2075/chat_template.jinjaAdded+87
checkpoint-2075/optimizer.ptAdded+3
checkpoint-2075/rng_state.pthAdded+3
checkpoint-2075/scheduler.ptAdded+3
checkpoint-2075/special_tokens_map.jsonAdded+24
checkpoint-2075/tokenizer.jsonAdded
checkpoint-2075/tokenizer.modelAdded+3
checkpoint-2075/tokenizer_config.jsonAdded
checkpoint-2075/trainer_state.jsonAdded+831
checkpoint-2075/training_args.binAdded+3
checkpoint-2490/README.mdAdded+202
checkpoint-2490/adapter_config.jsonAdded+39
checkpoint-2490/adapter_model.safetensorsAdded+3
checkpoint-2490/chat_template.jinjaAdded+87
checkpoint-2490/optimizer.ptAdded+3
checkpoint-2490/rng_state.pthAdded+3
checkpoint-2490/scheduler.ptAdded+3
checkpoint-2490/special_tokens_map.jsonAdded+24
checkpoint-2490/tokenizer.jsonAdded