Instructions to use BeagleWorks/Qwen-Mail-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BeagleWorks/Qwen-Mail-Lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B") model = PeftModel.from_pretrained(base_model, "BeagleWorks/Qwen-Mail-Lora") - Transformers
How to use BeagleWorks/Qwen-Mail-Lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BeagleWorks/Qwen-Mail-Lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BeagleWorks/Qwen-Mail-Lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BeagleWorks/Qwen-Mail-Lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BeagleWorks/Qwen-Mail-Lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeagleWorks/Qwen-Mail-Lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/BeagleWorks/Qwen-Mail-Lora
- SGLang
How to use BeagleWorks/Qwen-Mail-Lora with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "BeagleWorks/Qwen-Mail-Lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeagleWorks/Qwen-Mail-Lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "BeagleWorks/Qwen-Mail-Lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeagleWorks/Qwen-Mail-Lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use BeagleWorks/Qwen-Mail-Lora with Docker Model Runner:
docker model run hf.co/BeagleWorks/Qwen-Mail-Lora
Upload folder using huggingface_hub
Browse filesFiles changed (26)
- .gitattributes+2
- README.mdAdded+62
- adapter_config.jsonAdded+42
- adapter_model.safetensorsAdded+3
- added_tokens.jsonAdded+24
- chat_template.jinjaAdded+54
- checkpoint-300/README.mdAdded+209
- checkpoint-300/adapter_config.jsonAdded+42
- checkpoint-300/adapter_model.safetensorsAdded+3
- checkpoint-300/added_tokens.jsonAdded+24
- checkpoint-300/chat_template.jinjaAdded+54
- checkpoint-300/merges.txtAdded
- checkpoint-300/optimizer.ptAdded+3
- checkpoint-300/rng_state.pthAdded+3
- checkpoint-300/scheduler.ptAdded+3
- checkpoint-300/special_tokens_map.jsonAdded+31
- checkpoint-300/tokenizer.jsonAdded+3
- checkpoint-300/tokenizer_config.jsonAdded+207
- checkpoint-300/trainer_state.jsonAdded+334
- checkpoint-300/training_args.binAdded+3
- checkpoint-300/vocab.jsonAdded
- merges.txtAdded
- special_tokens_map.jsonAdded+31
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+207
- vocab.jsonAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textcheckpoint-300/tokenizer.json filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---base_model: Qwen/Qwen2.5-0.5Blibrary_name: peftmodel_name: qwen-mail-loratags:- base_model:adapter:Qwen/Qwen2.5-0.5B- lora- sft- transformers- trllicence: licensepipeline_tag: text-generation---
# Model Card for qwen-mail-lora
This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B).It has been trained using [TRL](https://github.com/huggingface/trl).
## Quick start
```pythonfrom transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"generator = pipeline("text-generation", model="None", device="cuda")output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]print(output["generated_text"])```
## Training procedure
This model was trained with SFT.
### Framework versions
- PEFT 0.17.1- TRL: 0.23.0- Transformers: 4.56.1- Pytorch: 2.8.0- Datasets: 4.0.0- Tokenizers: 0.22.0
## Citations
Cite TRL as: ```bibtex@misc{vonwerra2022trl, title = {{TRL: Transformer Reinforcement Learning}}, author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec}, year = 2020, journal = {GitHub repository}, publisher = {GitHub}, howpublished = {\url{https://github.com/huggingface/trl}}}```123456789101112131415161718192021222324252627282930313233343536373839404142{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "Qwen/Qwen2.5-0.5B", "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.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "qalora_group_size": 16, "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "o_proj", "k_proj", "gate_proj", "v_proj", "down_proj", "up_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_qalora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:226fe7d290df73a696823c368788b6bdcfa20c9c120b14d12b391c94f766920dsize 17640136123456789101112131415161718192021222324{ "</tool_call>": 151658, "<tool_call>": 151657, "<|box_end|>": 151649, "<|box_start|>": 151648, "<|endoftext|>": 151643, "<|file_sep|>": 151664, "<|fim_middle|>": 151660, "<|fim_pad|>": 151662, "<|fim_prefix|>": 151659, "<|fim_suffix|>": 151661, "<|im_end|>": 151645, "<|im_start|>": 151644, "<|image_pad|>": 151655, "<|object_ref_end|>": 151647, "<|object_ref_start|>": 151646, "<|quad_end|>": 151651, "<|quad_start|>": 151650, "<|repo_name|>": 151663, "<|video_pad|>": 151656, "<|vision_end|>": 151653, "<|vision_pad|>": 151654, "<|vision_start|>": 151652}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0]['role'] == 'system' %} {{- messages[0]['content'] }} {%- else %} {{- 'You are a helpful assistant.' }} {%- endif %} {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0]['role'] == 'system' %} {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }} {%- else %} {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }} {%- endif %}{%- endif %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {{- '<|im_start|>' + message.role }} {%- if message.content %} {{- '\n' + message.content }} {%- endif %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '\n<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {{- tool_call.arguments | tojson }} {{- '}\n</tool_call>' }} {%- endfor %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }}{%- endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209---base_model: Qwen/Qwen2.5-0.5Blibrary_name: peftpipeline_tag: text-generationtags:- base_model:adapter:Qwen/Qwen2.5-0.5B- lora- sft- transformers- trl---
# 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.17.1123456789101112131415161718192021222324252627282930313233343536373839404142{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "Qwen/Qwen2.5-0.5B", "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.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "qalora_group_size": 16, "r": 8, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "o_proj", "k_proj", "gate_proj", "v_proj", "down_proj", "up_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_dora": false, "use_qalora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:226fe7d290df73a696823c368788b6bdcfa20c9c120b14d12b391c94f766920dsize 17640136123456789101112131415161718192021222324{ "</tool_call>": 151658, "<tool_call>": 151657, "<|box_end|>": 151649, "<|box_start|>": 151648, "<|endoftext|>": 151643, "<|file_sep|>": 151664, "<|fim_middle|>": 151660, "<|fim_pad|>": 151662, "<|fim_prefix|>": 151659, "<|fim_suffix|>": 151661, "<|im_end|>": 151645, "<|im_start|>": 151644, "<|image_pad|>": 151655, "<|object_ref_end|>": 151647, "<|object_ref_start|>": 151646, "<|quad_end|>": 151651, "<|quad_start|>": 151650, "<|repo_name|>": 151663, "<|video_pad|>": 151656, "<|vision_end|>": 151653, "<|vision_pad|>": 151654, "<|vision_start|>": 151652}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0]['role'] == 'system' %} {{- messages[0]['content'] }} {%- else %} {{- 'You are a helpful assistant.' }} {%- endif %} {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0]['role'] == 'system' %} {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }} {%- else %} {{- '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }} {%- endif %}{%- endif %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {{- '<|im_start|>' + message.role }} {%- if message.content %} {{- '\n' + message.content }} {%- endif %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '\n<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {{- tool_call.arguments | tojson }} {{- '}\n</tool_call>' }} {%- endfor %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }}{%- endif %}123version https://git-lfs.github.com/spec/v1oid sha256:a4ac4c24fd2a0c71f22facc8c9a667c5defb5e8ecbc8959d63703dd3d4c1345dsize 9569605123version https://git-lfs.github.com/spec/v1oid sha256:4fd9e4c815552fc655daa8c058e1677f2cd317386ebe141e895d756159c6a91esize 14645123version https://git-lfs.github.com/spec/v1oid sha256:d15d3d1b8bb19162d239033d431d77f4eba28beb04ec2c0ba04b41fbc223a133size 146512345678910111213141516171819202122232425262728293031{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafasize 11421896123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 131072, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 300.0, "eval_steps": 500, "global_step": 300, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "entropy": 2.96851851940155, "epoch": 10.0, "grad_norm": 2.279247760772705, "learning_rate": 0.0002, "loss": 2.9353, "mean_token_accuracy": 0.4838951289653778, "num_tokens": 2680.0, "step": 10 }, { "entropy": 1.2905621826648712, "epoch": 20.0, "grad_norm": 1.8558694124221802, "learning_rate": 0.00019941781378123244, "loss": 0.807, "mean_token_accuracy": 0.8468164801597595, "num_tokens": 5360.0, "step": 20 }, { "entropy": 0.12548035010695457, "epoch": 30.0, "grad_norm": 0.051077861338853836, "learning_rate": 0.00019767803394079615, "loss": 0.0175, "mean_token_accuracy": 0.9996254682540894, "num_tokens": 8040.0, "step": 30 }, { "entropy": 0.029867823421955108, "epoch": 40.0, "grad_norm": 0.01480752881616354, "learning_rate": 0.00019480091799562704, "loss": 0.0016, "mean_token_accuracy": 1.0, "num_tokens": 10720.0, "step": 40 }, { "entropy": 0.020715215243399143, "epoch": 50.0, "grad_norm": 0.005395383574068546, "learning_rate": 0.00019081996629078657, "loss": 0.0006, "mean_token_accuracy": 1.0, "num_tokens": 13400.0, "step": 50 }, { "entropy": 0.018286094814538956, "epoch": 60.0, "grad_norm": 0.0029499137308448553, "learning_rate": 0.00018578153193067745, "loss": 0.0003, "mean_token_accuracy": 1.0, "num_tokens": 16080.0, "step": 60 }, { "entropy": 0.01744786147028208, "epoch": 70.0, "grad_norm": 0.0021094600670039654, "learning_rate": 0.00017974428105627208, "loss": 0.0002, "mean_token_accuracy": 1.0, "num_tokens": 18760.0, "step": 70 }, { "entropy": 0.016817792505025863, "epoch": 80.0, "grad_norm": 0.001684487797319889, "learning_rate": 0.00017277850975273696, "loss": 0.0002, "mean_token_accuracy": 1.0, "num_tokens": 21440.0, "step": 80 }, { "entropy": 0.01654780562967062, "epoch": 90.0, "grad_norm": 0.0014295266009867191, "learning_rate": 0.00016496532554119214, "loss": 0.0002, "mean_token_accuracy": 1.0, "num_tokens": 24120.0, "step": 90 }, { "entropy": 0.01630385182797909, "epoch": 100.0, "grad_norm": 0.0012573471758514643, "learning_rate": 0.00015639570298509064, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 26800.0, "step": 100 }, { "entropy": 0.016167241893708707, "epoch": 110.0, "grad_norm": 0.0011036780197173357, "learning_rate": 0.00014716942440747664, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 29480.0, "step": 110 }, { "entropy": 0.016296727955341338, "epoch": 120.0, "grad_norm": 0.0010163327679038048, "learning_rate": 0.00013739391805311793, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 32160.0, "step": 120 }, { "entropy": 0.016250970400869848, "epoch": 130.0, "grad_norm": 0.0009312849142588675, "learning_rate": 0.0001271830072236343, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 34840.0, "step": 130 }, { "entropy": 0.016126033663749696, "epoch": 140.0, "grad_norm": 0.0008988275076262653, "learning_rate": 0.00011665558495034546, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 37520.0, "step": 140 }, { "entropy": 0.015922631323337554, "epoch": 150.0, "grad_norm": 0.0008282618946395814, "learning_rate": 0.00010593422963658452, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 40200.0, "step": 150 }, { "entropy": 0.01611931957304478, "epoch": 160.0, "grad_norm": 0.0007923541706986725, "learning_rate": 9.514377778855521e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 42880.0, "step": 160 }, { "entropy": 0.016018429771065712, "epoch": 170.0, "grad_norm": 0.0007464283262379467, "learning_rate": 8.440987045346134e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 45560.0, "step": 170 }, { "entropy": 0.015874627605080606, "epoch": 180.0, "grad_norm": 0.0007223894936032593, "learning_rate": 7.385749028978346e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 48240.0, "step": 180 }, { "entropy": 0.015914216078817843, "epoch": 190.0, "grad_norm": 0.0006893230020068586, "learning_rate": 6.360950630365126e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 50920.0, "step": 190 }, { "entropy": 0.015814934857189655, "epoch": 200.0, "grad_norm": 0.000689024047460407, "learning_rate": 5.378524319600231e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 53600.0, "step": 200 }, { "entropy": 0.01583355339244008, "epoch": 210.0, "grad_norm": 0.0006465521291829646, "learning_rate": 4.449909197865303e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 56280.0, "step": 210 }, { "entropy": 0.015864358562976123, "epoch": 220.0, "grad_norm": 0.000635474338196218, "learning_rate": 3.585917803688603e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 58960.0, "step": 220 }, { "entropy": 0.015924859046936034, "epoch": 230.0, "grad_norm": 0.0006565110525116324, "learning_rate": 2.7966102147265994e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 61640.0, "step": 230 }, { "entropy": 0.015929471980780364, "epoch": 240.0, "grad_norm": 0.0006428561173379421, "learning_rate": 2.091176910992545e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 64320.0, "step": 240 }, { "entropy": 0.01586609724909067, "epoch": 250.0, "grad_norm": 0.000645109626930207, "learning_rate": 1.4778317634403083e-05, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 67000.0, "step": 250 }, { "entropy": 0.015890979766845705, "epoch": 260.0, "grad_norm": 0.0006280910456553102, "learning_rate": 9.637163939149485e-06, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 69680.0, "step": 260 }, { "entropy": 0.01581848515197635, "epoch": 270.0, "grad_norm": 0.0006270304438658059, "learning_rate": 5.54817020076347e-06, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 72360.0, "step": 270 }, { "entropy": 0.015736578684300184, "epoch": 280.0, "grad_norm": 0.0006211600266396999, "learning_rate": 2.5589475353073988e-06, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 75040.0, "step": 280 }, { "entropy": 0.015757919941097497, "epoch": 290.0, "grad_norm": 0.0006188222323544323, "learning_rate": 7.043016275943615e-07, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 77720.0, "step": 290 }, { "entropy": 0.01577402977272868, "epoch": 300.0, "grad_norm": 0.000624625594355166, "learning_rate": 5.827463387653165e-09, "loss": 0.0001, "mean_token_accuracy": 1.0, "num_tokens": 80400.0, "step": 300 } ], "logging_steps": 10, "max_steps": 300, "num_input_tokens_seen": 0, "num_train_epochs": 300, "save_steps": 300, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": true }, "attributes": {} } }, "total_flos": 174772176998400.0, "train_batch_size": 1, "trial_name": null, "trial_params": null}123version https://git-lfs.github.com/spec/v1oid sha256:3095e7d1a0d1e08e9173737bb192314289510b4706e9421f8e3163195f35d30fsize 616112345678910111213141516171819202122232425262728293031{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafasize 11421896123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 131072, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}.gitattributes+2
README.mdAdded+62
adapter_config.jsonAdded+42
adapter_model.safetensorsAdded+3
added_tokens.jsonAdded+24
chat_template.jinjaAdded+54
checkpoint-300/README.mdAdded+209
checkpoint-300/adapter_config.jsonAdded+42
checkpoint-300/adapter_model.safetensorsAdded+3
checkpoint-300/added_tokens.jsonAdded+24
checkpoint-300/chat_template.jinjaAdded+54
checkpoint-300/merges.txtAdded
checkpoint-300/optimizer.ptAdded+3
checkpoint-300/rng_state.pthAdded+3
checkpoint-300/scheduler.ptAdded+3
checkpoint-300/special_tokens_map.jsonAdded+31
checkpoint-300/tokenizer.jsonAdded+3
checkpoint-300/tokenizer_config.jsonAdded+207
checkpoint-300/trainer_state.jsonAdded+334
checkpoint-300/training_args.binAdded+3
checkpoint-300/vocab.jsonAdded
merges.txtAdded
special_tokens_map.jsonAdded+31
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+207
vocab.jsonAdded