Instructions to use ToastyPigeon/nemo-kimi-lora-2e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ToastyPigeon/nemo-kimi-lora-2e with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("inflatebot/MN-12B-Mag-Mell-R1") model = PeftModel.from_pretrained(base_model, "ToastyPigeon/nemo-kimi-lora-2e") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 50, checkpoint
Browse filesFiles changed (15)
- .gitattributes+1
- last-checkpoint/README.mdAdded+202
- last-checkpoint/adapter_config.jsonAdded+39
- last-checkpoint/adapter_model.safetensorsAdded+3
- last-checkpoint/chat_template.jinjaAdded+6
- last-checkpoint/optimizer.binAdded+3
- last-checkpoint/pytorch_model_fsdp.binAdded+3
- last-checkpoint/rng_state_0.pthAdded+3
- last-checkpoint/rng_state_1.pthAdded+3
- last-checkpoint/scheduler.ptAdded+3
- last-checkpoint/special_tokens_map.jsonAdded+30
- last-checkpoint/tokenizer.jsonAdded+3
- last-checkpoint/tokenizer_config.jsonAdded
- last-checkpoint/trainer_state.jsonAdded+400
- last-checkpoint/training_args.binAdded+3
33 unmodified lines34353633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text33 unmodified lines3435363733 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -textlast-checkpoint/tokenizer.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---base_model: inflatebot/MN-12B-Mag-Mell-R1library_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": "inflatebot/MN-12B-Mag-Mell-R1", "bias": "none", "corda_config": null, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": null, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "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": [ "down_proj", "gate_proj", "o_proj", "up_proj", "k_proj", "v_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:bb053dd244c200ba1db0879d524b67c8bd6366ccf31f1837061f58506f0c4902size 456206152123456{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>systemYou are a helpful assistant.<|im_end|>' }}{% endif %}{{'<|im_start|>' + message['role'] + '' + message['content'] + '<|im_end|>' + ''}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant' }}{% endif %}123version https://git-lfs.github.com/spec/v1oid sha256:9a801cdcd35a17ceaa9e721d254d9d53d8b6d692428d3148816c1c5a2143486dsize 912763251123version https://git-lfs.github.com/spec/v1oid sha256:95238490d6967f8f4ea083bf3d7c9571afacbff29353eb8b69814b7a14a5b57fsize 456340209123version https://git-lfs.github.com/spec/v1oid sha256:510074104b15975542863aaea4976e6c8aeddff7f23d3fca4342dd377b2359c3size 14917123version https://git-lfs.github.com/spec/v1oid sha256:39c8a480c97c2868f7c67552cc163f2e10b29945a0ca61357374b56e881b4ee8size 14917123version https://git-lfs.github.com/spec/v1oid sha256:66a7bd02536f7bb9b279b4598da0e2ebc63e815be7bbc8f5261be8432452d465size 1465123456789101112131415161718192021222324252627282930{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:4b4c8fcd33487a449c07f423d47adb035bba8347ccf13eb074b4d1fef8acf919size 17078288123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 0.1016260162601626, "eval_steps": 50, "global_step": 50, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0, "eval_loss": 2.9604153633117676, "eval_runtime": 104.3906, "eval_samples_per_second": 0.22, "eval_steps_per_second": 0.115, "step": 0 }, { "epoch": 0.0020325203252032522, "grad_norm": 2.9518332481384277, "learning_rate": 0.0, "loss": 2.9645, "step": 1 }, { "epoch": 0.0040650406504065045, "grad_norm": 5.092568874359131, "learning_rate": 1.7241379310344828e-07, "loss": 3.6604, "step": 2 }, { "epoch": 0.006097560975609756, "grad_norm": 3.5205235481262207, "learning_rate": 3.4482758620689656e-07, "loss": 3.4724, "step": 3 }, { "epoch": 0.008130081300813009, "grad_norm": 6.86148738861084, "learning_rate": 5.172413793103449e-07, "loss": 2.9747, "step": 4 }, { "epoch": 0.01016260162601626, "grad_norm": 5.6440348625183105, "learning_rate": 6.896551724137931e-07, "loss": 3.9066, "step": 5 }, { "epoch": 0.012195121951219513, "grad_norm": 2.7429020404815674, "learning_rate": 8.620689655172415e-07, "loss": 2.757, "step": 6 }, { "epoch": 0.014227642276422764, "grad_norm": 4.956992149353027, "learning_rate": 1.0344827586206898e-06, "loss": 3.4461, "step": 7 }, { "epoch": 0.016260162601626018, "grad_norm": 4.045677185058594, "learning_rate": 1.2068965517241381e-06, "loss": 2.7944, "step": 8 }, { "epoch": 0.018292682926829267, "grad_norm": 5.565494060516357, "learning_rate": 1.3793103448275862e-06, "loss": 3.1224, "step": 9 }, { "epoch": 0.02032520325203252, "grad_norm": 5.3163347244262695, "learning_rate": 1.5517241379310346e-06, "loss": 3.1438, "step": 10 }, { "epoch": 0.022357723577235773, "grad_norm": 2.5751793384552, "learning_rate": 1.724137931034483e-06, "loss": 3.4342, "step": 11 }, { "epoch": 0.024390243902439025, "grad_norm": 6.810632228851318, "learning_rate": 1.896551724137931e-06, "loss": 3.2943, "step": 12 }, { "epoch": 0.026422764227642278, "grad_norm": 2.971482038497925, "learning_rate": 2.0689655172413796e-06, "loss": 2.9349, "step": 13 }, { "epoch": 0.028455284552845527, "grad_norm": 5.55667781829834, "learning_rate": 2.241379310344828e-06, "loss": 2.9975, "step": 14 }, { "epoch": 0.03048780487804878, "grad_norm": 3.8298227787017822, "learning_rate": 2.4137931034482762e-06, "loss": 2.9464, "step": 15 }, { "epoch": 0.032520325203252036, "grad_norm": 7.269927024841309, "learning_rate": 2.5862068965517246e-06, "loss": 3.0289, "step": 16 }, { "epoch": 0.034552845528455285, "grad_norm": 5.450479507446289, "learning_rate": 2.7586206896551725e-06, "loss": 3.1234, "step": 17 }, { "epoch": 0.036585365853658534, "grad_norm": 3.0855493545532227, "learning_rate": 2.931034482758621e-06, "loss": 2.9203, "step": 18 }, { "epoch": 0.03861788617886179, "grad_norm": 4.637211322784424, "learning_rate": 3.103448275862069e-06, "loss": 3.2025, "step": 19 }, { "epoch": 0.04065040650406504, "grad_norm": 4.123134136199951, "learning_rate": 3.2758620689655175e-06, "loss": 2.9831, "step": 20 }, { "epoch": 0.042682926829268296, "grad_norm": 6.525121212005615, "learning_rate": 3.448275862068966e-06, "loss": 2.571, "step": 21 }, { "epoch": 0.044715447154471545, "grad_norm": 3.240443706512451, "learning_rate": 3.620689655172414e-06, "loss": 3.0551, "step": 22 }, { "epoch": 0.046747967479674794, "grad_norm": 6.845757484436035, "learning_rate": 3.793103448275862e-06, "loss": 2.7708, "step": 23 }, { "epoch": 0.04878048780487805, "grad_norm": 2.3566787242889404, "learning_rate": 3.96551724137931e-06, "loss": 2.8432, "step": 24 }, { "epoch": 0.0508130081300813, "grad_norm": 4.601650238037109, "learning_rate": 4.137931034482759e-06, "loss": 3.0417, "step": 25 }, { "epoch": 0.052845528455284556, "grad_norm": 2.1968202590942383, "learning_rate": 4.310344827586207e-06, "loss": 2.9632, "step": 26 }, { "epoch": 0.054878048780487805, "grad_norm": 2.8089053630828857, "learning_rate": 4.482758620689656e-06, "loss": 2.7996, "step": 27 }, { "epoch": 0.056910569105691054, "grad_norm": 9.751855850219727, "learning_rate": 4.655172413793104e-06, "loss": 3.1663, "step": 28 }, { "epoch": 0.05894308943089431, "grad_norm": 4.164376735687256, "learning_rate": 4.8275862068965525e-06, "loss": 3.0185, "step": 29 }, { "epoch": 0.06097560975609756, "grad_norm": 4.876786708831787, "learning_rate": 5e-06, "loss": 3.0009, "step": 30 }, { "epoch": 0.06300813008130081, "grad_norm": 2.0218334197998047, "learning_rate": 4.999986472964694e-06, "loss": 2.8578, "step": 31 }, { "epoch": 0.06504065040650407, "grad_norm": 3.9594149589538574, "learning_rate": 4.999945892005157e-06, "loss": 2.9081, "step": 32 }, { "epoch": 0.06707317073170732, "grad_norm": 3.6837754249572754, "learning_rate": 4.999878257560544e-06, "loss": 2.8305, "step": 33 }, { "epoch": 0.06910569105691057, "grad_norm": 3.852536678314209, "learning_rate": 4.9997835703627676e-06, "loss": 3.3067, "step": 34 }, { "epoch": 0.07113821138211382, "grad_norm": 3.6052002906799316, "learning_rate": 4.999661831436499e-06, "loss": 2.7754, "step": 35 }, { "epoch": 0.07317073170731707, "grad_norm": 3.6139702796936035, "learning_rate": 4.999513042099151e-06, "loss": 2.8572, "step": 36 }, { "epoch": 0.07520325203252033, "grad_norm": 3.5118117332458496, "learning_rate": 4.999337203960866e-06, "loss": 2.5327, "step": 37 }, { "epoch": 0.07723577235772358, "grad_norm": 1.3768045902252197, "learning_rate": 4.9991343189244995e-06, "loss": 2.4727, "step": 38 }, { "epoch": 0.07926829268292683, "grad_norm": 2.440777540206909, "learning_rate": 4.998904389185598e-06, "loss": 3.0145, "step": 39 }, { "epoch": 0.08130081300813008, "grad_norm": 2.977739095687866, "learning_rate": 4.998647417232375e-06, "loss": 2.8932, "step": 40 }, { "epoch": 0.08333333333333333, "grad_norm": 2.818160057067871, "learning_rate": 4.9983634058456874e-06, "loss": 2.9312, "step": 41 }, { "epoch": 0.08536585365853659, "grad_norm": 2.153644561767578, "learning_rate": 4.9980523580989985e-06, "loss": 2.7942, "step": 42 }, { "epoch": 0.08739837398373984, "grad_norm": 2.1822941303253174, "learning_rate": 4.997714277358352e-06, "loss": 3.0524, "step": 43 }, { "epoch": 0.08943089430894309, "grad_norm": 0.3841499388217926, "learning_rate": 4.997349167282334e-06, "loss": 2.8585, "step": 44 }, { "epoch": 0.09146341463414634, "grad_norm": 2.6127986907958984, "learning_rate": 4.996957031822026e-06, "loss": 2.7688, "step": 45 }, { "epoch": 0.09349593495934959, "grad_norm": 2.920849084854126, "learning_rate": 4.996537875220976e-06, "loss": 2.5907, "step": 46 }, { "epoch": 0.09552845528455285, "grad_norm": 1.5488784313201904, "learning_rate": 4.996091702015139e-06, "loss": 2.7559, "step": 47 }, { "epoch": 0.0975609756097561, "grad_norm": 1.1083276271820068, "learning_rate": 4.995618517032836e-06, "loss": 2.6157, "step": 48 }, { "epoch": 0.09959349593495935, "grad_norm": 3.4546689987182617, "learning_rate": 4.995118325394699e-06, "loss": 2.6433, "step": 49 }, { "epoch": 0.1016260162601626, "grad_norm": 2.0607590675354004, "learning_rate": 4.994591132513616e-06, "loss": 2.6808, "step": 50 }, { "epoch": 0.1016260162601626, "eval_loss": 2.7131824493408203, "eval_runtime": 89.2726, "eval_samples_per_second": 0.258, "eval_steps_per_second": 0.134, "step": 50 } ], "logging_steps": 1, "max_steps": 984, "num_input_tokens_seen": 0, "num_train_epochs": 2, "save_steps": 50, "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.8440516883880346e+17, "train_batch_size": 1, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:e6fc9fec3daf51e3a85c598705dc7d07afcab893691a1ec91ca174e292958414size 7377.gitattributes+1
last-checkpoint/README.mdAdded+202
last-checkpoint/adapter_config.jsonAdded+39
last-checkpoint/adapter_model.safetensorsAdded+3
last-checkpoint/chat_template.jinjaAdded+6
last-checkpoint/optimizer.binAdded+3
last-checkpoint/pytorch_model_fsdp.binAdded+3
last-checkpoint/rng_state_0.pthAdded+3
last-checkpoint/rng_state_1.pthAdded+3
last-checkpoint/scheduler.ptAdded+3
last-checkpoint/special_tokens_map.jsonAdded+30
last-checkpoint/tokenizer.jsonAdded+3
last-checkpoint/tokenizer_config.jsonAdded
last-checkpoint/trainer_state.jsonAdded+400
last-checkpoint/training_args.binAdded+3