初始化项目,由ModelHub XC社区提供模型
Model: Pinkstack/Superthoughts-lite-v2-MOE-Llama3.2-GGUF Source: Original Platform
This commit is contained in:
38
.gitattributes
vendored
Normal file
38
.gitattributes
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
superthoughts-lite-v2-moe-llama3.2-0506.q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
superthoughts-lite-v2-moe-llama3.2-0506.q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
superthoughts-lite-v2-moe-llama3.2-0506.q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
113
README.md
Normal file
113
README.md
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
---
|
||||||
|
license: llama3.2
|
||||||
|
language:
|
||||||
|
- en
|
||||||
|
base_model:
|
||||||
|
- Pinkstack/Superthoughts-lite-v2-MOE-Llama3.2
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
tags:
|
||||||
|
- chemistry
|
||||||
|
- code
|
||||||
|
- math
|
||||||
|
- grpo
|
||||||
|
- conversational
|
||||||
|
- moe
|
||||||
|
- gguf
|
||||||
|
---
|
||||||
|
Gguf version. 3.91B parameters, 2 experts active, 4 in total.
|
||||||
|
|
||||||
|
[[GGUF](https://huggingface.co/Pinkstack/Superthoughts-lite-v2-MOE-Llama3.2-GGUF) !! [Full precision](https://huggingface.co/Pinkstack/Superthoughts-lite-v2-MOE-Llama3.2) !! [BF16](https://huggingface.co/Pinkstack/Superthoughts-lite-v2-MOE-Llama3.2-bf16)]
|
||||||
|
|
||||||
|

|
||||||
|
## INFORMATION
|
||||||
|
This is the non-experimental version of Superthoughts Lite v2. Offering better accuracy at all tasks, better performance and less looping while generating responses.
|
||||||
|
|
||||||
|
We trained it by first creating a base model for all the experts, which was fine-tuned using GRPO techniques using *Unsloth* on top of meta-llama/Llama-3.2-1B-Instruct.
|
||||||
|
After making the base model, we trained each potential expert using SFT. After doing SFT, we did GRPO again. in total there are 4 experts:
|
||||||
|
- Chat reasoning expert,
|
||||||
|
- Math reasoning expert,
|
||||||
|
- Code reasoning expert,
|
||||||
|
- Science reasoning expert.
|
||||||
|
|
||||||
|
By doing this, we obtained a powerful, **lite** reasoning model that is very usable for its size.
|
||||||
|
|
||||||
|
This model is a direct replacement of Pinkstack/Superthoughts-lite-v1. Pinkstack/Superthoughts-lite-v1 was not able to generate code, and had very poor text performance. V2 is much more usable.
|
||||||
|
|
||||||
|
You should use this system prompt:
|
||||||
|
```
|
||||||
|
Thinking: enabled.
|
||||||
|
|
||||||
|
Follow this format strictly:
|
||||||
|
<think>
|
||||||
|
Write your step-by-step reasoning here.
|
||||||
|
Break down the problem into smaller parts.
|
||||||
|
Solve each part systematically.
|
||||||
|
Check your work and verify the answer makes sense.
|
||||||
|
</think>
|
||||||
|
[Your final answer after thinking].
|
||||||
|
```
|
||||||
|
|
||||||
|
## Model information
|
||||||
|
The model can generate up to **16,380** tokens and has a context size of **131072**
|
||||||
|
It has been fine tuned to generated thinking data in-between ```<think>``` xml tags. note that it may still have some slight looping but they are rare.
|
||||||
|
|
||||||
|
## LIMITATIONS
|
||||||
|
While some safety alignment was done by us, it was very minimal. Thus, the model can be uncensored at times. In addition, users and providers alike should be aware that all large language models (LLM's), including this one can hallucinate and output false information. Always double check responses.
|
||||||
|
|
||||||
|
Chat model knows very well what it is, thus unless you provide it the proper information, it may make things up.
|
||||||
|
|
||||||
|
By using this model, you agree to the [LLAMA 3.2 COMMUNITY LICENSE](https://huggingface.co/meta-llama/Llama-3.2-1B/blob/main/LICENSE.txt).
|
||||||
|
|
||||||
|
## GGUF TEMPLATE
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if .Messages }}
|
||||||
|
{{- if or .System .Tools }}<|start_header_id|>system<|end_header_id|>
|
||||||
|
{{- if .System }}
|
||||||
|
|
||||||
|
{{ .System }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Tools }}
|
||||||
|
|
||||||
|
You are a helpful assistant with tool calling capabilities. When you receive a tool call response, use the output to format an answer to the original use question.
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}<|eot_id|>
|
||||||
|
{{- range $i, $_ := .Messages }}
|
||||||
|
{{- $last := eq (len (slice $.Messages $i)) 1 }}
|
||||||
|
{{- if eq .Role "user" }}<|start_header_id|>user<|end_header_id|>
|
||||||
|
{{- if and $.Tools $last }}
|
||||||
|
|
||||||
|
Given the following functions, please respond with a JSON for a function call with its proper arguments that best answers the given prompt.
|
||||||
|
|
||||||
|
Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}. Do not use variables.
|
||||||
|
|
||||||
|
{{ $.Tools }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{ .Content }}<|eot_id|>{{ if $last }}<|start_header_id|>assistant<|end_header_id|>
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
{{- else if eq .Role "assistant" }}<|start_header_id|>assistant<|end_header_id|>
|
||||||
|
{{- if .ToolCalls }}
|
||||||
|
|
||||||
|
{{- range .ToolCalls }}{"name": "{{ .Function.Name }}", "parameters": {{ .Function.Arguments }}}{{ end }}
|
||||||
|
{{- else }}
|
||||||
|
|
||||||
|
{{ .Content }}{{ if not $last }}<|eot_id|>{{ end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else if eq .Role "tool" }}<|start_header_id|>ipython<|end_header_id|>
|
||||||
|
|
||||||
|
{{ .Content }}<|eot_id|>{{ if $last }}<|start_header_id|>assistant<|end_header_id|>
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- if .System }}<|start_header_id|>system<|end_header_id|>
|
||||||
|
|
||||||
|
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
|
||||||
|
|
||||||
|
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
|
||||||
|
|
||||||
|
{{ end }}{{ .Response }}{{ if .Response }}<|eot_id|>{{ end }}
|
||||||
|
```
|
||||||
3
superthoughts-lite-v2-moe-llama3.2-0506.q4_k_m.gguf
Normal file
3
superthoughts-lite-v2-moe-llama3.2-0506.q4_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:907b85d19ff27f03c575cca7a4994d48377186e356508c1f33550d3fec6ba566
|
||||||
|
size 2418735136
|
||||||
3
superthoughts-lite-v2-moe-llama3.2-0506.q6_k.gguf
Normal file
3
superthoughts-lite-v2-moe-llama3.2-0506.q6_k.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa4a1fa8b227fe7126f48665ac67c9436b2f804cbf0d918388f2c0ffcf52b8c3
|
||||||
|
size 3219605536
|
||||||
3
superthoughts-lite-v2-moe-llama3.2-0506.q8_0.gguf
Normal file
3
superthoughts-lite-v2-moe-llama3.2-0506.q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e0dff773353921101b81d4ba541f6ab8d7122ce756878e060bd9bd40bf96aebe
|
||||||
|
size 4167608352
|
||||||
Reference in New Issue
Block a user