Upload quantized model Olmo-3.1-32B-Instruct-SFT-AutoRound-W4A16-Tuning
Browse files- README.md +178 -0
- chat_template.jinja +16 -0
- config.json +112 -0
- generation_config.json +9 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
- quantization_config.json +11 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
README.md
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- allenai/Olmo-3.1-32B-Instruct-SFT
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- quantized
|
| 7 |
+
- w4a16
|
| 8 |
+
- tuning
|
| 9 |
+
- low-bit-open-llm-leaderboard
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Olmo-3.1-32B-Instruct-SFT-AutoRound-W4A16-Tuning
|
| 13 |
+
|
| 14 |
+
## Model Details
|
| 15 |
+
|
| 16 |
+
This model is a int4 weight-only quantization with group_size 128 and symmetric quantization of [allenai/Olmo-3.1-32B-Instruct-SFT](https://huggingface.co/allenai/Olmo-3.1-32B-Instruct-SFT) generated by TUNING. Please follow the license of the original model.
|
| 17 |
+
|
| 18 |
+
## Quantization Details
|
| 19 |
+
|
| 20 |
+
| Attribute | Value |
|
| 21 |
+
|-----------|-------|
|
| 22 |
+
| Base Model | [allenai/Olmo-3.1-32B-Instruct-SFT](https://huggingface.co/allenai/Olmo-3.1-32B-Instruct-SFT) |
|
| 23 |
+
| Quantization Tool | TUNING |
|
| 24 |
+
| Quantization Scheme | W4A16 |
|
| 25 |
+
| Quantized Size | 17422 MB |
|
| 26 |
+
|
| 27 |
+
## Evaluation Results
|
| 28 |
+
|
| 29 |
+
| Task | Accuracy |
|
| 30 |
+
|------|----------|
|
| 31 |
+
| hellaswag | 0.6119 |
|
| 32 |
+
| mmlu | 0.6864 |
|
| 33 |
+
| mmlu_abstract_algebra | 0.4900 |
|
| 34 |
+
| mmlu_anatomy | 0.5704 |
|
| 35 |
+
| mmlu_astronomy | 0.8289 |
|
| 36 |
+
| mmlu_business_ethics | 0.7200 |
|
| 37 |
+
| mmlu_clinical_knowledge | 0.7660 |
|
| 38 |
+
| mmlu_college_biology | 0.8611 |
|
| 39 |
+
| mmlu_college_chemistry | 0.4300 |
|
| 40 |
+
| mmlu_college_computer_science | 0.6900 |
|
| 41 |
+
| mmlu_college_mathematics | 0.5400 |
|
| 42 |
+
| mmlu_college_medicine | 0.6763 |
|
| 43 |
+
| mmlu_college_physics | 0.5686 |
|
| 44 |
+
| mmlu_computer_security | 0.7900 |
|
| 45 |
+
| mmlu_conceptual_physics | 0.7574 |
|
| 46 |
+
| mmlu_econometrics | 0.5965 |
|
| 47 |
+
| mmlu_electrical_engineering | 0.6759 |
|
| 48 |
+
| mmlu_elementary_mathematics | 0.6164 |
|
| 49 |
+
| mmlu_formal_logic | 0.5873 |
|
| 50 |
+
| mmlu_global_facts | 0.4500 |
|
| 51 |
+
| mmlu_high_school_biology | 0.8581 |
|
| 52 |
+
| mmlu_high_school_chemistry | 0.6404 |
|
| 53 |
+
| mmlu_high_school_computer_science | 0.8500 |
|
| 54 |
+
| mmlu_high_school_european_history | 0.7879 |
|
| 55 |
+
| mmlu_high_school_geography | 0.8535 |
|
| 56 |
+
| mmlu_high_school_government_and_politics | 0.9119 |
|
| 57 |
+
| mmlu_high_school_macroeconomics | 0.7462 |
|
| 58 |
+
| mmlu_high_school_mathematics | 0.4963 |
|
| 59 |
+
| mmlu_high_school_microeconomics | 0.8277 |
|
| 60 |
+
| mmlu_high_school_physics | 0.5894 |
|
| 61 |
+
| mmlu_high_school_psychology | 0.8936 |
|
| 62 |
+
| mmlu_high_school_statistics | 0.6944 |
|
| 63 |
+
| mmlu_high_school_us_history | 0.8382 |
|
| 64 |
+
| mmlu_high_school_world_history | 0.8523 |
|
| 65 |
+
| mmlu_human_aging | 0.7085 |
|
| 66 |
+
| mmlu_human_sexuality | 0.7481 |
|
| 67 |
+
| mmlu_humanities | 0.5915 |
|
| 68 |
+
| mmlu_international_law | 0.8017 |
|
| 69 |
+
| mmlu_jurisprudence | 0.8241 |
|
| 70 |
+
| mmlu_logical_fallacies | 0.8589 |
|
| 71 |
+
| mmlu_machine_learning | 0.6518 |
|
| 72 |
+
| mmlu_management | 0.8252 |
|
| 73 |
+
| mmlu_marketing | 0.8803 |
|
| 74 |
+
| mmlu_medical_genetics | 0.7700 |
|
| 75 |
+
| mmlu_miscellaneous | 0.8365 |
|
| 76 |
+
| mmlu_moral_disputes | 0.7543 |
|
| 77 |
+
| mmlu_moral_scenarios | 0.2927 |
|
| 78 |
+
| mmlu_nutrition | 0.8268 |
|
| 79 |
+
| mmlu_other | 0.7367 |
|
| 80 |
+
| mmlu_philosophy | 0.7396 |
|
| 81 |
+
| mmlu_prehistory | 0.7593 |
|
| 82 |
+
| mmlu_professional_accounting | 0.4894 |
|
| 83 |
+
| mmlu_professional_law | 0.4817 |
|
| 84 |
+
| mmlu_professional_medicine | 0.7096 |
|
| 85 |
+
| mmlu_professional_psychology | 0.7353 |
|
| 86 |
+
| mmlu_public_relations | 0.6455 |
|
| 87 |
+
| mmlu_security_studies | 0.7673 |
|
| 88 |
+
| mmlu_social_sciences | 0.7966 |
|
| 89 |
+
| mmlu_sociology | 0.8308 |
|
| 90 |
+
| mmlu_stem | 0.6708 |
|
| 91 |
+
| mmlu_us_foreign_policy | 0.8900 |
|
| 92 |
+
| mmlu_virology | 0.5241 |
|
| 93 |
+
| mmlu_world_religions | 0.8304 |
|
| 94 |
+
| piqa | 0.7867 |
|
| 95 |
+
|
| 96 |
+
## How to Use
|
| 97 |
+
|
| 98 |
+
### HF Usage
|
| 99 |
+
|
| 100 |
+
**Step 1: Install [AutoRound](https://github.com/intel/auto-round)**
|
| 101 |
+
|
| 102 |
+
```bash
|
| 103 |
+
pip install auto-round
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
**Step 2: Load and run the quantized model**
|
| 107 |
+
|
| 108 |
+
```python
|
| 109 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 110 |
+
|
| 111 |
+
model_name = "Olmo-3.1-32B-Instruct-SFT-AutoRound-W4A16-Tuning"
|
| 112 |
+
|
| 113 |
+
# load the tokenizer and the model
|
| 114 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 115 |
+
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
|
| 116 |
+
|
| 117 |
+
# prepare the model input
|
| 118 |
+
prompt = "Write a quick sort algorithm."
|
| 119 |
+
messages = [{"role": "user", "content": prompt}]
|
| 120 |
+
text = tokenizer.apply_chat_template(
|
| 121 |
+
messages,
|
| 122 |
+
tokenize=False,
|
| 123 |
+
add_generation_prompt=True,
|
| 124 |
+
)
|
| 125 |
+
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
| 126 |
+
|
| 127 |
+
# conduct text completion
|
| 128 |
+
generated_ids = model.generate(**model_inputs, max_new_tokens=512)
|
| 129 |
+
output_ids = generated_ids[0][len(model_inputs.input_ids[0]) :].tolist()
|
| 130 |
+
|
| 131 |
+
content = tokenizer.decode(output_ids, skip_special_tokens=True)
|
| 132 |
+
print("content:", content)
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
### VLLM Usage
|
| 136 |
+
|
| 137 |
+
```bash
|
| 138 |
+
vllm serve Olmo-3.1-32B-Instruct-SFT-AutoRound-W4A16-Tuning \
|
| 139 |
+
--trust-remote-code \
|
| 140 |
+
--dtype bfloat16 \
|
| 141 |
+
--tensor_parallel_size 1
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
If you encounter any issues, feel free to open an issue on the [AutoRound GitHub repo](https://github.com/intel/auto-round/issues) or provide feedback on the [Low-Bit Open LLM Leaderboard](https://huggingface.co/spaces/Intel/low_bit_open_llm_leaderboard).
|
| 145 |
+
|
| 146 |
+
## Ethical Considerations and Limitations
|
| 147 |
+
|
| 148 |
+
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
|
| 149 |
+
Therefore, before deploying any applications of the model, developers should perform safety testing.
|
| 150 |
+
|
| 151 |
+
## Caveats and Recommendations
|
| 152 |
+
|
| 153 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
|
| 154 |
+
Here are a couple of useful links to learn more about Intel's AI software:
|
| 155 |
+
|
| 156 |
+
- [Intel Neural Compressor](https://github.com/intel/neural-compressor)
|
| 157 |
+
- [AutoRound](https://github.com/intel/auto-round)
|
| 158 |
+
|
| 159 |
+
## Disclaimer
|
| 160 |
+
|
| 161 |
+
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.
|
| 162 |
+
|
| 163 |
+
## Cite
|
| 164 |
+
|
| 165 |
+
```
|
| 166 |
+
@article{cheng2023optimize,
|
| 167 |
+
title={Optimize weight rounding via signed gradient descent for the quantization of llms},
|
| 168 |
+
author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi},
|
| 169 |
+
journal={arXiv preprint arXiv:2309.05516},
|
| 170 |
+
year={2023}
|
| 171 |
+
}
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
[arxiv](https://arxiv.org/abs/2309.05516) [github](https://github.com/intel/auto-round)
|
| 175 |
+
|
| 176 |
+
---
|
| 177 |
+
|
| 178 |
+
*This model is part of the [Intel Low-Bit Open LLM Leaderboard](https://huggingface.co/spaces/Intel/low_bit_open_llm_leaderboard) initiative.*
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set has_system = messages|selectattr('role', 'equalto', 'system')|list|length > 0 -%}{%- if not has_system -%}{{- '<|im_start|>system
|
| 2 |
+
You are a helpful function-calling AI assistant. ' -}}{%- if tools is none or (tools | length) == 0 -%}{{- 'You do not currently have access to any functions. <functions></functions><|im_end|>
|
| 3 |
+
' -}}{%- else -%}{{- 'You are provided with function signatures within <functions></functions> XML tags. You may call one or more functions to assist with the user query. Output any function calls within <function_calls></function_calls> XML tags. Do not make assumptions about what values to plug into functions.' -}}{{- '<functions>' -}}{{- tools | tojson -}}{{- '</functions><|im_end|>
|
| 4 |
+
' -}}{%- endif -%}{%- endif -%}{%- for message in messages -%}{%- if message['role'] == 'system' -%}{{- '<|im_start|>system
|
| 5 |
+
' + message['content'] -}}{%- if tools is not none -%}{{- '<functions>' -}}{{- tools | tojson -}}{{- '</functions>' -}}{%- elif message.get('functions', none) is not none -%}{{- ' <functions>' + message['functions'] + '</functions>' -}}{%- endif -%}{{- '<|im_end|>
|
| 6 |
+
' -}}{%- elif message['role'] == 'user' -%}{{- '<|im_start|>user
|
| 7 |
+
' + message['content'] + '<|im_end|>
|
| 8 |
+
' -}}{%- elif message['role'] == 'assistant' -%}{{- '<|im_start|>assistant
|
| 9 |
+
' -}}{%- if message.get('content', none) is not none -%}{{- message['content'] -}}{%- endif -%}{%- if message.get('function_calls', none) is not none -%}{{- '<function_calls>' + message['function_calls'] + '</function_calls>' -}}{% elif message.get('tool_calls', none) is not none %}{{- '<function_calls>' -}}{%- for tool_call in message['tool_calls'] %}{%- if tool_call is mapping and tool_call.get('function', none) is not none %}{%- set args = tool_call['function']['arguments'] -%}{%- set ns = namespace(arguments_list=[]) -%}{%- for key, value in args.items() -%}{%- set ns.arguments_list = ns.arguments_list + [key ~ '=' ~ (value | tojson)] -%}{%- endfor -%}{%- set arguments = ns.arguments_list | join(', ') -%}{{- tool_call['function']['name'] + '(' + arguments + ')' -}}{%- if not loop.last -%}{{ '
|
| 10 |
+
' }}{%- endif -%}{% else %}{{- tool_call -}}{%- endif %}{%- endfor %}{{- '</function_calls>' -}}{%- endif -%}{%- if not loop.last -%}{{- '<|im_end|>' + '
|
| 11 |
+
' -}}{%- else -%}{{- eos_token -}}{%- endif -%}{%- elif message['role'] == 'environment' -%}{{- '<|im_start|>environment
|
| 12 |
+
' + message['content'] + '<|im_end|>
|
| 13 |
+
' -}}{%- elif message['role'] == 'tool' -%}{{- '<|im_start|>environment
|
| 14 |
+
' + message['content'] + '<|im_end|>
|
| 15 |
+
' -}}{%- endif -%}{%- if loop.last and add_generation_prompt -%}{{- '<|im_start|>assistant
|
| 16 |
+
' -}}{%- endif -%}{%- endfor -%}
|
config.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Olmo3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 100257,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 5120,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 27648,
|
| 14 |
+
"layer_types": [
|
| 15 |
+
"sliding_attention",
|
| 16 |
+
"sliding_attention",
|
| 17 |
+
"sliding_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"sliding_attention",
|
| 20 |
+
"sliding_attention",
|
| 21 |
+
"sliding_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"sliding_attention",
|
| 24 |
+
"sliding_attention",
|
| 25 |
+
"sliding_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"sliding_attention",
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"full_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"full_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"full_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"sliding_attention",
|
| 65 |
+
"sliding_attention",
|
| 66 |
+
"full_attention",
|
| 67 |
+
"sliding_attention",
|
| 68 |
+
"sliding_attention",
|
| 69 |
+
"sliding_attention",
|
| 70 |
+
"full_attention",
|
| 71 |
+
"sliding_attention",
|
| 72 |
+
"sliding_attention",
|
| 73 |
+
"sliding_attention",
|
| 74 |
+
"full_attention",
|
| 75 |
+
"sliding_attention",
|
| 76 |
+
"sliding_attention",
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"full_attention"
|
| 79 |
+
],
|
| 80 |
+
"max_position_embeddings": 65536,
|
| 81 |
+
"model_type": "olmo3",
|
| 82 |
+
"num_attention_heads": 40,
|
| 83 |
+
"num_hidden_layers": 64,
|
| 84 |
+
"num_key_value_heads": 8,
|
| 85 |
+
"pad_token_id": 100277,
|
| 86 |
+
"quantization_config": {
|
| 87 |
+
"autoround_version": "0.13.0",
|
| 88 |
+
"bits": 4,
|
| 89 |
+
"block_name_to_quantize": "model.layers",
|
| 90 |
+
"data_type": "int",
|
| 91 |
+
"group_size": 128,
|
| 92 |
+
"low_gpu_mem_usage": true,
|
| 93 |
+
"packing_format": "auto_round:auto_gptq",
|
| 94 |
+
"quant_method": "auto-round",
|
| 95 |
+
"sym": true
|
| 96 |
+
},
|
| 97 |
+
"rms_norm_eps": 1e-06,
|
| 98 |
+
"rope_parameters": {
|
| 99 |
+
"attention_factor": 1.2079441541679836,
|
| 100 |
+
"beta_fast": 32,
|
| 101 |
+
"beta_slow": 1,
|
| 102 |
+
"factor": 8.0,
|
| 103 |
+
"original_max_position_embeddings": 8192,
|
| 104 |
+
"rope_theta": 500000,
|
| 105 |
+
"rope_type": "yarn"
|
| 106 |
+
},
|
| 107 |
+
"sliding_window": 4096,
|
| 108 |
+
"tie_word_embeddings": false,
|
| 109 |
+
"transformers_version": "5.10.2",
|
| 110 |
+
"use_cache": true,
|
| 111 |
+
"vocab_size": 100278
|
| 112 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
100265,
|
| 6 |
+
100257
|
| 7 |
+
],
|
| 8 |
+
"transformers_version": "5.10.2"
|
| 9 |
+
}
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c45ed574925f675fcb19fc738b55f13f2167101f669dd44467d461acdd585ede
|
| 3 |
+
size 4987661680
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e46e5f0a110a68923a22979c2e648cb3180079f552d790d2ad8442478b75b12
|
| 3 |
+
size 4993511008
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:def780c043d59cdea3bd7ccf80f13fe8b4d77eb909b3fa0c2a10f51834b3a1c3
|
| 3 |
+
size 4993511016
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fd74993af7ac3c0b8df83b2215c732ba07b8432255f18534a0317dacbd6553
|
| 3 |
+
size 3293596080
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
quantization_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bits": 4,
|
| 3 |
+
"data_type": "int",
|
| 4 |
+
"group_size": 128,
|
| 5 |
+
"sym": true,
|
| 6 |
+
"low_gpu_mem_usage": true,
|
| 7 |
+
"autoround_version": "0.13.0",
|
| 8 |
+
"block_name_to_quantize": "model.layers",
|
| 9 |
+
"quant_method": "auto-round",
|
| 10 |
+
"packing_format": "auto_round:auto_gptq"
|
| 11 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|endoftext|>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"is_local": false,
|
| 8 |
+
"local_files_only": false,
|
| 9 |
+
"model_max_length": 65536,
|
| 10 |
+
"pad_token": "<|pad|>",
|
| 11 |
+
"tokenizer_class": "TokenizersBackend",
|
| 12 |
+
"unk_token": "<|endoftext|>"
|
| 13 |
+
}
|