Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- Mini-Tcomanr-R1-1.8B-Q8_0.gguf +3 -0
- README.md +73 -1
- config.json +59 -0
- mergekit_config.yml +33 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +35 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Mini-Tcomanr-R1-1.8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Mini-Tcomanr-R1-1.8B-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f774d93efa3c916c0b89e013b346902eb2264588d288d56fb65a8f5d9e2696c9
|
| 3 |
+
size 1894533984
|
README.md
CHANGED
|
@@ -1,3 +1,75 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model:
|
| 3 |
+
- agentica-org/DeepScaleR-1.5B-Preview
|
| 4 |
+
- agentica-org/DeepCoder-1.5B-Preview
|
| 5 |
+
- Josephgflowers/DeepSeek-R1-Distill-Qwen-1.5B-LIMO
|
| 6 |
+
- deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 7 |
+
- huihui-ai/DeepSeek-R1-Distill-Qwen-1.5B-abliterated
|
| 8 |
+
- ibndias/DeepSeek-R1-Distill-Qwen-1.5B-GRPO
|
| 9 |
+
- ertghiu256/Deepseek-R1-Distill-1.5B-code-instruct
|
| 10 |
+
- prithivMLmods/QwQ-R1-Distill-1.5B-CoT
|
| 11 |
+
library_name: transformers
|
| 12 |
+
tags:
|
| 13 |
+
- mergekit
|
| 14 |
+
- merge
|
| 15 |
+
|
| 16 |
---
|
| 17 |
+
# Mini-Tcomanr-R1
|
| 18 |
+
|
| 19 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
| 20 |
+
|
| 21 |
+
## Merge Details
|
| 22 |
+
### Merge Method
|
| 23 |
+
|
| 24 |
+
This model was merged using the [TIES](https://arxiv.org/abs/2306.01708) merge method using [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) as a base.
|
| 25 |
+
|
| 26 |
+
### Models Merged
|
| 27 |
+
|
| 28 |
+
The following models were included in the merge:
|
| 29 |
+
* [agentica-org/DeepScaleR-1.5B-Preview](https://huggingface.co/agentica-org/DeepScaleR-1.5B-Preview)
|
| 30 |
+
* [agentica-org/DeepCoder-1.5B-Preview](https://huggingface.co/agentica-org/DeepCoder-1.5B-Preview)
|
| 31 |
+
* [Josephgflowers/DeepSeek-R1-Distill-Qwen-1.5B-LIMO](https://huggingface.co/Josephgflowers/DeepSeek-R1-Distill-Qwen-1.5B-LIMO)
|
| 32 |
+
* [huihui-ai/DeepSeek-R1-Distill-Qwen-1.5B-abliterated](https://huggingface.co/huihui-ai/DeepSeek-R1-Distill-Qwen-1.5B-abliterated)
|
| 33 |
+
* [ibndias/DeepSeek-R1-Distill-Qwen-1.5B-GRPO](https://huggingface.co/ibndias/DeepSeek-R1-Distill-Qwen-1.5B-GRPO)
|
| 34 |
+
* [ertghiu256/Deepseek-R1-Distill-1.5B-code-instruct](https://huggingface.co/ertghiu256/Deepseek-R1-Distill-1.5B-code-instruct)
|
| 35 |
+
* [prithivMLmods/QwQ-R1-Distill-1.5B-CoT](https://huggingface.co/prithivMLmods/QwQ-R1-Distill-1.5B-CoT)
|
| 36 |
+
|
| 37 |
+
### Configuration
|
| 38 |
+
|
| 39 |
+
The following YAML configuration was used to produce this model:
|
| 40 |
+
|
| 41 |
+
```yaml
|
| 42 |
+
models:
|
| 43 |
+
- model: prithivMLmods/QwQ-R1-Distill-1.5B-CoT
|
| 44 |
+
parameters:
|
| 45 |
+
weight: 0.5
|
| 46 |
+
- model: ertghiu256/Deepseek-R1-Distill-1.5B-code-instruct
|
| 47 |
+
parameters:
|
| 48 |
+
weight: 1.0
|
| 49 |
+
- model: huihui-ai/DeepSeek-R1-Distill-Qwen-1.5B-abliterated
|
| 50 |
+
parameters:
|
| 51 |
+
weight: 0.85
|
| 52 |
+
- model: Josephgflowers/DeepSeek-R1-Distill-Qwen-1.5B-LIMO
|
| 53 |
+
parameters:
|
| 54 |
+
weight: 0.5
|
| 55 |
+
- model: ibndias/DeepSeek-R1-Distill-Qwen-1.5B-GRPO
|
| 56 |
+
parameters:
|
| 57 |
+
weight: 0.3
|
| 58 |
+
- model: agentica-org/DeepScaleR-1.5B-Preview
|
| 59 |
+
parameters:
|
| 60 |
+
weight: 0.95
|
| 61 |
+
- model: agentica-org/DeepCoder-1.5B-Preview
|
| 62 |
+
parameters:
|
| 63 |
+
weight: 1.0
|
| 64 |
+
- model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 65 |
+
parameters:
|
| 66 |
+
weight: 1.0
|
| 67 |
+
merge_method: ties
|
| 68 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 69 |
+
parameters:
|
| 70 |
+
normalize: true
|
| 71 |
+
int8_mask: true
|
| 72 |
+
lambda: 1.0
|
| 73 |
+
rescale: true
|
| 74 |
+
dtype: float16
|
| 75 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"dtype": "float16",
|
| 8 |
+
"eos_token_id": 151643,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 1536,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 8960,
|
| 13 |
+
"layer_types": [
|
| 14 |
+
"full_attention",
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"full_attention"
|
| 42 |
+
],
|
| 43 |
+
"max_position_embeddings": 131072,
|
| 44 |
+
"max_window_layers": 21,
|
| 45 |
+
"model_type": "qwen2",
|
| 46 |
+
"num_attention_heads": 12,
|
| 47 |
+
"num_hidden_layers": 28,
|
| 48 |
+
"num_key_value_heads": 2,
|
| 49 |
+
"rms_norm_eps": 1e-06,
|
| 50 |
+
"rope_scaling": null,
|
| 51 |
+
"rope_theta": 10000,
|
| 52 |
+
"sliding_window": null,
|
| 53 |
+
"tie_word_embeddings": false,
|
| 54 |
+
"transformers_version": "4.57.0.dev0",
|
| 55 |
+
"use_cache": true,
|
| 56 |
+
"use_mrope": false,
|
| 57 |
+
"use_sliding_window": false,
|
| 58 |
+
"vocab_size": 151936
|
| 59 |
+
}
|
mergekit_config.yml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
models:
|
| 2 |
+
- model: prithivMLmods/QwQ-R1-Distill-1.5B-CoT
|
| 3 |
+
parameters:
|
| 4 |
+
weight: 0.5
|
| 5 |
+
- model: ertghiu256/Deepseek-R1-Distill-1.5B-code-instruct
|
| 6 |
+
parameters:
|
| 7 |
+
weight: 1.0
|
| 8 |
+
- model: huihui-ai/DeepSeek-R1-Distill-Qwen-1.5B-abliterated
|
| 9 |
+
parameters:
|
| 10 |
+
weight: 0.85
|
| 11 |
+
- model: Josephgflowers/DeepSeek-R1-Distill-Qwen-1.5B-LIMO
|
| 12 |
+
parameters:
|
| 13 |
+
weight: 0.5
|
| 14 |
+
- model: ibndias/DeepSeek-R1-Distill-Qwen-1.5B-GRPO
|
| 15 |
+
parameters:
|
| 16 |
+
weight: 0.3
|
| 17 |
+
- model: agentica-org/DeepScaleR-1.5B-Preview
|
| 18 |
+
parameters:
|
| 19 |
+
weight: 0.95
|
| 20 |
+
- model: agentica-org/DeepCoder-1.5B-Preview
|
| 21 |
+
parameters:
|
| 22 |
+
weight: 1.0
|
| 23 |
+
- model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 24 |
+
parameters:
|
| 25 |
+
weight: 1.0
|
| 26 |
+
merge_method: ties
|
| 27 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 28 |
+
parameters:
|
| 29 |
+
normalize: true
|
| 30 |
+
int8_mask: true
|
| 31 |
+
lambda: 1.0
|
| 32 |
+
rescale: true
|
| 33 |
+
dtype: float16
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8b8fc1637d6dc532f3a5d483c000a11d257e5f6f191c3c0b78017385b7a0c82
|
| 3 |
+
size 3554214416
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"bos_token": {
|
| 5 |
+
"__type": "AddedToken",
|
| 6 |
+
"content": "<|begin▁of▁sentence|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": true,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"clean_up_tokenization_spaces": false,
|
| 13 |
+
"eos_token": {
|
| 14 |
+
"__type": "AddedToken",
|
| 15 |
+
"content": "<|end▁of▁sentence|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": true,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false
|
| 20 |
+
},
|
| 21 |
+
"legacy": true,
|
| 22 |
+
"model_max_length": 16384,
|
| 23 |
+
"pad_token": {
|
| 24 |
+
"__type": "AddedToken",
|
| 25 |
+
"content": "<|end▁of▁sentence|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": true,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
},
|
| 31 |
+
"sp_model_kwargs": {},
|
| 32 |
+
"unk_token": null,
|
| 33 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
| 34 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}"
|
| 35 |
+
}
|