Upload 6 files
Browse files- .gitattributes +4 -0
- LICENSE +200 -0
- README.md +272 -0
- crystal-think-v2-q4_k_m.gguf +3 -0
- crystal-think-v2-q5_k_m.gguf +3 -0
- crystal-think-v2-q6_k.gguf +3 -0
- crystal-think-v2-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ 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 |
+
crystal-think-v2-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
crystal-think-v2-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
crystal-think-v2-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
crystal-think-v2-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity granting the License.
|
| 13 |
+
|
| 14 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 15 |
+
other entities that control, are controlled by, or are under common
|
| 16 |
+
control with that entity. For the purposes of this definition,
|
| 17 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 18 |
+
direction or management of such entity, whether by contract or
|
| 19 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 20 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 21 |
+
|
| 22 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 23 |
+
exercising permissions granted by this License.
|
| 24 |
+
|
| 25 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 26 |
+
including but not limited to software source code, documentation
|
| 27 |
+
source, and configuration files.
|
| 28 |
+
|
| 29 |
+
"Object" form shall mean any form resulting from mechanical
|
| 30 |
+
transformation or translation of a Source form, including but
|
| 31 |
+
not limited to compiled object code, generated documentation,
|
| 32 |
+
and conversions to other media types.
|
| 33 |
+
|
| 34 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 35 |
+
Object form, made available under the License, as indicated by a
|
| 36 |
+
copyright notice that is included in or attached to the work
|
| 37 |
+
(which shall not include a work that constitutes a Contribution).
|
| 38 |
+
|
| 39 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 40 |
+
form, that is based upon (or derived from) the Work and for which the
|
| 41 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 42 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 43 |
+
of this License, Derivative Works shall not include works that remain
|
| 44 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 45 |
+
the Work and derivative works thereof.
|
| 46 |
+
|
| 47 |
+
"Contribution" shall mean any work of authorship, including
|
| 48 |
+
the original version of the Work and any modifications or additions
|
| 49 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 50 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 51 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 52 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 53 |
+
means any form of electronic, verbal, or written communication sent
|
| 54 |
+
to the Licensor or its representatives, including but not limited to
|
| 55 |
+
communication on electronic mailing lists, source code control
|
| 56 |
+
systems, and issue tracking systems that are managed by, or on behalf
|
| 57 |
+
of, the Licensor for the purpose of discussing and improving the Work,
|
| 58 |
+
but excluding communication that is conspicuously marked or otherwise
|
| 59 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 60 |
+
|
| 61 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 62 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 63 |
+
subsequently incorporated within the Work.
|
| 64 |
+
|
| 65 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 66 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 67 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 68 |
+
copyright license to use, reproduce, modify, display, perform,
|
| 69 |
+
sublicense, and distribute the Work and such Derivative Works in
|
| 70 |
+
Source or Object form.
|
| 71 |
+
|
| 72 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 73 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 74 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 75 |
+
(except as stated in this section) patent license to make, have made,
|
| 76 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 77 |
+
where such license applies only to those patent claims licensable
|
| 78 |
+
by such Contributor that are necessarily infringed by their
|
| 79 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 80 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 81 |
+
institute patent litigation against any entity (including a
|
| 82 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 83 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 84 |
+
or contributory patent infringement, then any patent licenses
|
| 85 |
+
granted to You under this License for that Work shall terminate
|
| 86 |
+
as of the date such litigation is filed.
|
| 87 |
+
|
| 88 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 89 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 90 |
+
modifications, and in Source or Object form, provided that You
|
| 91 |
+
meet the following conditions:
|
| 92 |
+
|
| 93 |
+
(a) You must give any other recipients of the Work or
|
| 94 |
+
Derivative Works a copy of this License; and
|
| 95 |
+
|
| 96 |
+
(b) You must cause any modified files to carry prominent notices
|
| 97 |
+
stating that You changed the files; and
|
| 98 |
+
|
| 99 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 100 |
+
that You distribute, all copyright, trademark, and
|
| 101 |
+
attribution notices from the Source form of the Work,
|
| 102 |
+
excluding those notices that do not pertain to any part of
|
| 103 |
+
the Derivative Works; and
|
| 104 |
+
|
| 105 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 106 |
+
distribution, then any Derivative Works that You distribute must
|
| 107 |
+
include a readable copy of the attribution notices contained
|
| 108 |
+
within such NOTICE file, excluding those notices that do not
|
| 109 |
+
pertain to any part of the Derivative Works, in at least one
|
| 110 |
+
of the following places: within a NOTICE text file distributed
|
| 111 |
+
as part of the Derivative Works; within the Source form or
|
| 112 |
+
documentation, if provided along with the Derivative Works; or,
|
| 113 |
+
within a display generated by the Derivative Works, if and
|
| 114 |
+
wherever such third-party notices normally appear. The contents
|
| 115 |
+
of the NOTICE file are for informational purposes only and
|
| 116 |
+
do not modify the License. You may add Your own attribution
|
| 117 |
+
notices within Derivative Works that You distribute, alongside
|
| 118 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 119 |
+
that such additional attribution notices cannot be construed
|
| 120 |
+
as modifying the License.
|
| 121 |
+
|
| 122 |
+
You may add Your own copyright notice to Your modifications and
|
| 123 |
+
may provide additional or different license terms and conditions
|
| 124 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 125 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 126 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 127 |
+
the conditions stated in this License.
|
| 128 |
+
|
| 129 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 130 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 131 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 132 |
+
this License, without any additional terms or conditions.
|
| 133 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 134 |
+
the terms of any separate license agreement you may have executed
|
| 135 |
+
with Licensor regarding such Contributions.
|
| 136 |
+
|
| 137 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 138 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 139 |
+
except as required for reasonable and customary use in describing the
|
| 140 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 141 |
+
|
| 142 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 143 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 144 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 145 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 146 |
+
implied, including, without limitation, any warranties or conditions
|
| 147 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 148 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 149 |
+
appropriateness of using or redistributing the Work and assume any
|
| 150 |
+
risks associated with Your exercise of permissions under this License.
|
| 151 |
+
|
| 152 |
+
8. Limitation of Liability. IN NO EVENT AND UNDER NO LEGAL THEORY,
|
| 153 |
+
WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE,
|
| 154 |
+
UNLESS REQUIRED BY APPLICABLE LAW (SUCH AS DELIBERATE AND GROSSLY
|
| 155 |
+
NEGLIGENT ACTS) OR AGREED TO IN WRITING, SHALL ANY CONTRIBUTOR BE
|
| 156 |
+
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL,
|
| 157 |
+
INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING AS A
|
| 158 |
+
RESULT OF THIS LICENSE OR OUT OF THE USE OR INABILITY TO USE THE
|
| 159 |
+
WORK (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF GOODWILL,
|
| 160 |
+
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL
|
| 161 |
+
OTHER COMMERCIAL DAMAGES OR LOSSES), EVEN IF SUCH CONTRIBUTOR
|
| 162 |
+
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
| 163 |
+
|
| 164 |
+
9. Accepting Warranty or Additional Liability. When redistributing
|
| 165 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 166 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 167 |
+
or other liability obligations and/or rights consistent with this
|
| 168 |
+
License. However, in accepting such obligations, You may act only
|
| 169 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 170 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 171 |
+
defend, and hold each Contributor harmless for any liability
|
| 172 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 173 |
+
of your accepting any such warranty or additional liability.
|
| 174 |
+
|
| 175 |
+
END OF TERMS AND CONDITIONS
|
| 176 |
+
|
| 177 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 178 |
+
|
| 179 |
+
To apply the Apache License to your work, attach the following
|
| 180 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 181 |
+
replaced with your own identifying information. (Don't include
|
| 182 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 183 |
+
comment syntax for the file format. We also recommend that a
|
| 184 |
+
file or class name and description of purpose be included on the
|
| 185 |
+
same page as the copyright notice for easier identification within
|
| 186 |
+
third-party archives.
|
| 187 |
+
|
| 188 |
+
Copyright 2025 Pink Pixel
|
| 189 |
+
|
| 190 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 191 |
+
you may not use this file except in compliance with the License.
|
| 192 |
+
You may obtain a copy of the License at
|
| 193 |
+
|
| 194 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 195 |
+
|
| 196 |
+
Unless required by applicable law or agreed to in writing, software
|
| 197 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 198 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 199 |
+
See the License for the specific language governing permissions and
|
| 200 |
+
limitations under the License.
|
README.md
CHANGED
|
@@ -1,3 +1,275 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: gguf
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- mathematical-reasoning
|
| 9 |
+
- qwen3
|
| 10 |
+
- gguf
|
| 11 |
+
- quantized
|
| 12 |
+
- math
|
| 13 |
+
- reasoning
|
| 14 |
+
- fine-tuned
|
| 15 |
+
base_model: PinkPixel/Crystal-Think-V2
|
| 16 |
+
quantized_by: PinkPixel
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
# 🧠 Crystal Think V2 - GGUF Quantized ✨
|
| 20 |
+
|
| 21 |
+
**Optimized GGUF Quantizations for Efficient Mathematical Reasoning**
|
| 22 |
+
|
| 23 |
+
> **🔗 Original Model:** [PinkPixel/Crystal-Think-V2](https://huggingface.co/PinkPixel/Crystal-Think-V2)
|
| 24 |
+
> **📦 Quantized by:** Pink Pixel
|
| 25 |
+
> **🏷️ License:** Apache 2.0
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## 📋 About This Repository
|
| 30 |
+
|
| 31 |
+
This repository contains **GGUF quantized versions** of Crystal Think V2, an advanced mathematical reasoning model based on Qwen3-4B. These quantized versions are optimized for **efficient inference** while maintaining excellent mathematical reasoning capabilities.
|
| 32 |
+
|
| 33 |
+
### 🎯 Original Model Features
|
| 34 |
+
- 🧮 **Advanced Mathematical Reasoning** with enhanced chain-of-thought
|
| 35 |
+
- 📐 **Multi-step Problem Solving** with clear explanations
|
| 36 |
+
- 💻 **Mathematical Code Generation** and algorithm explanation
|
| 37 |
+
- 🎯 **Enhanced `<think></think>` Reasoning Format**
|
| 38 |
+
- 📊 **85.2% GSM8K accuracy** (+8.8% over base Qwen3-4B)
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## 📦 Available Quantizations
|
| 43 |
+
|
| 44 |
+
| Quantization | File Size | Use Case | Memory Required | Quality |
|
| 45 |
+
|-------------|-----------|----------|-----------------|---------|
|
| 46 |
+
| **Q4_K_M** | 2.3GB | Balanced efficiency | ~6GB RAM | Good |
|
| 47 |
+
| **Q5_K_M** | 2.7GB | Better quality | ~7GB RAM | Very Good |
|
| 48 |
+
| **Q6_K** | 3.1GB | High quality | ~8GB RAM | Excellent |
|
| 49 |
+
| **Q8_0** | 4.0GB | Maximum quality | ~10GB RAM | Near-Original |
|
| 50 |
+
|
| 51 |
+
### 💡 **Quantization Guide:**
|
| 52 |
+
- **Q4_K_M** - Best for limited hardware, good performance
|
| 53 |
+
- **Q5_K_M** - Recommended balance of speed and quality
|
| 54 |
+
- **Q6_K** - High quality with reasonable speed
|
| 55 |
+
- **Q8_0** - Near-original quality, slower inference
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## 🚀 Quick Start
|
| 60 |
+
|
| 61 |
+
### Using llama.cpp
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
# Download your preferred quantization
|
| 65 |
+
wget https://huggingface.co/PinkPixel/Crystal-Think-V2-GGUF/resolve/main/crystal-think-v2-q5_k_m.gguf
|
| 66 |
+
|
| 67 |
+
# Run with llama.cpp
|
| 68 |
+
./llama.cpp/main -m crystal-think-v2-q5_k_m.gguf -p "Solve this step by step: If x + 2y = 10 and 2x - y = 5, find x and y." -n 512
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
### Using llama-cpp-python
|
| 72 |
+
|
| 73 |
+
```python
|
| 74 |
+
from llama_cpp import Llama
|
| 75 |
+
|
| 76 |
+
# Load the model
|
| 77 |
+
llm = Llama(
|
| 78 |
+
model_path="crystal-think-v2-q5_k_m.gguf",
|
| 79 |
+
n_ctx=4096, # Context length
|
| 80 |
+
n_threads=8, # CPU threads
|
| 81 |
+
verbose=False
|
| 82 |
+
)
|
| 83 |
+
|
| 84 |
+
# Mathematical reasoning example
|
| 85 |
+
prompt = """Solve this step by step:
|
| 86 |
+
A rectangle has a length that is 3 more than twice its width. If the perimeter is 42 cm, what are the dimensions?
|
| 87 |
+
|
| 88 |
+
Use <think></think> for your reasoning."""
|
| 89 |
+
|
| 90 |
+
response = llm(
|
| 91 |
+
prompt,
|
| 92 |
+
max_tokens=512,
|
| 93 |
+
temperature=0.7,
|
| 94 |
+
stop=["</SOLUTION>", "<|endoftext|>"]
|
| 95 |
+
)
|
| 96 |
+
|
| 97 |
+
print(response["choices"][0]["text"])
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
### Using Ollama
|
| 101 |
+
|
| 102 |
+
```bash
|
| 103 |
+
# Create Modelfile
|
| 104 |
+
echo 'FROM ./crystal-think-v2-q5_k_m.gguf' > Modelfile
|
| 105 |
+
|
| 106 |
+
# Create Ollama model
|
| 107 |
+
ollama create crystal-think-v2 -f Modelfile
|
| 108 |
+
|
| 109 |
+
# Run the model
|
| 110 |
+
ollama run crystal-think-v2 "What is the derivative of x^3 + 2x^2 - 5?"
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
---
|
| 114 |
+
|
| 115 |
+
## 🎯 Enhanced Reasoning Format
|
| 116 |
+
|
| 117 |
+
Crystal Think V2 uses a structured reasoning approach:
|
| 118 |
+
|
| 119 |
+
```
|
| 120 |
+
<think>
|
| 121 |
+
[Step-by-step reasoning process]
|
| 122 |
+
- Variable definitions
|
| 123 |
+
- Equation setup
|
| 124 |
+
- Mathematical operations
|
| 125 |
+
- Verification steps
|
| 126 |
+
</think>
|
| 127 |
+
|
| 128 |
+
<SOLUTION>
|
| 129 |
+
[Final organized answer]
|
| 130 |
+
1) Specific results
|
| 131 |
+
2) Numerical values
|
| 132 |
+
3) Units and context
|
| 133 |
+
</SOLUTION>
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
## 📊 Performance Benchmarks
|
| 139 |
+
|
| 140 |
+
### Original Model Performance
|
| 141 |
+
| Benchmark | Score | Improvement over Base |
|
| 142 |
+
|-----------|-------|----------------------|
|
| 143 |
+
| **GSM8K** | 85.2% | +8.8% |
|
| 144 |
+
| **MATH** | 42.1% | +10.4% |
|
| 145 |
+
| **Algebra** | 78.9% | +13.7% |
|
| 146 |
+
| **Geometry** | 71.3% | +12.5% |
|
| 147 |
+
| **Code Math** | 82.6% | +13.5% |
|
| 148 |
+
|
| 149 |
+
### GGUF Quantization Impact
|
| 150 |
+
- **Q8_0**: ~99% original performance
|
| 151 |
+
- **Q6_K**: ~97% original performance
|
| 152 |
+
- **Q5_K_M**: ~95% original performance
|
| 153 |
+
- **Q4_K_M**: ~92% original performance
|
| 154 |
+
|
| 155 |
+
---
|
| 156 |
+
|
| 157 |
+
## 💻 Hardware Requirements
|
| 158 |
+
|
| 159 |
+
### Minimum Requirements
|
| 160 |
+
| Quantization | RAM | VRAM (GPU) | CPU |
|
| 161 |
+
|-------------|-----|-----------|-----|
|
| 162 |
+
| Q4_K_M | 6GB | 4GB | 4 cores |
|
| 163 |
+
| Q5_K_M | 7GB | 5GB | 4 cores |
|
| 164 |
+
| Q6_K | 8GB | 6GB | 6 cores |
|
| 165 |
+
| Q8_0 | 10GB | 8GB | 8 cores |
|
| 166 |
+
|
| 167 |
+
### Recommended for Best Performance
|
| 168 |
+
- **CPU**: Modern 8+ core processor
|
| 169 |
+
- **RAM**: 16GB+ system memory
|
| 170 |
+
- **GPU**: 8GB+ VRAM (optional, for GPU acceleration)
|
| 171 |
+
|
| 172 |
+
---
|
| 173 |
+
|
| 174 |
+
## 🔧 Installation & Dependencies
|
| 175 |
+
|
| 176 |
+
### llama.cpp
|
| 177 |
+
```bash
|
| 178 |
+
git clone https://github.com/ggerganov/llama.cpp
|
| 179 |
+
cd llama.cpp
|
| 180 |
+
make
|
| 181 |
+
```
|
| 182 |
+
|
| 183 |
+
### llama-cpp-python
|
| 184 |
+
```bash
|
| 185 |
+
pip install llama-cpp-python
|
| 186 |
+
# For GPU support (optional)
|
| 187 |
+
CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
|
| 188 |
+
```
|
| 189 |
+
|
| 190 |
+
### Ollama
|
| 191 |
+
```bash
|
| 192 |
+
# Install Ollama
|
| 193 |
+
curl -fsSL https://ollama.com/install.sh | sh
|
| 194 |
+
```
|
| 195 |
+
|
| 196 |
+
---
|
| 197 |
+
|
| 198 |
+
## 📚 Usage Examples
|
| 199 |
+
|
| 200 |
+
### Basic Mathematical Problem
|
| 201 |
+
```
|
| 202 |
+
Input: "What is the integral of 2x + 3?"
|
| 203 |
+
Expected: Step-by-step integration with explanation
|
| 204 |
+
```
|
| 205 |
+
|
| 206 |
+
### Complex Word Problem
|
| 207 |
+
```
|
| 208 |
+
Input: "A train travels 120 miles in 2 hours, then 180 miles in 3 hours. What's the average speed?"
|
| 209 |
+
Expected: Detailed solution with calculations
|
| 210 |
+
```
|
| 211 |
+
|
| 212 |
+
### Algebraic Reasoning
|
| 213 |
+
```
|
| 214 |
+
Input: "Solve the system: 3x + 2y = 12, x - y = 1"
|
| 215 |
+
Expected: Systematic solution using substitution or elimination
|
| 216 |
+
```
|
| 217 |
+
|
| 218 |
+
---
|
| 219 |
+
|
| 220 |
+
## 🔗 Related Links
|
| 221 |
+
|
| 222 |
+
- **🏠 Original Model:** [PinkPixel/Crystal-Think-V2](https://huggingface.co/PinkPixel/Crystal-Think-V2)
|
| 223 |
+
- **📖 Model Documentation:** [Crystal Think V2 README](https://huggingface.co/PinkPixel/Crystal-Think-V2/blob/main/README.md)
|
| 224 |
+
- **🛠️ llama.cpp:** [GitHub Repository](https://github.com/ggerganov/llama.cpp)
|
| 225 |
+
- **🐍 llama-cpp-python:** [PyPI Package](https://pypi.org/project/llama-cpp-python/)
|
| 226 |
+
|
| 227 |
+
---
|
| 228 |
+
|
| 229 |
+
## ⚠️ Limitations
|
| 230 |
+
|
| 231 |
+
- **Domain Focus**: Optimized for mathematical reasoning; may be less effective for general conversation
|
| 232 |
+
- **Quantization Trade-offs**: Lower quantizations may show reduced accuracy on complex problems
|
| 233 |
+
- **Language**: Primarily trained on English mathematical content
|
| 234 |
+
- **Hardware Dependency**: Performance varies significantly with hardware specifications
|
| 235 |
+
|
| 236 |
+
---
|
| 237 |
+
|
| 238 |
+
## 📈 Benchmarking Your Setup
|
| 239 |
+
|
| 240 |
+
Test your quantization choice with this sample problem:
|
| 241 |
+
|
| 242 |
+
```
|
| 243 |
+
Prompt: "A rectangular garden has a length that is 4 meters more than twice its width. The garden is surrounded by a walkway that is 2 meters wide on all sides. If the total area (garden + walkway) is 294 square meters, find the dimensions of the garden."
|
| 244 |
+
|
| 245 |
+
Expected: The model should show step-by-step reasoning and arrive at width ≈ 8.13m, length ≈ 20.26m
|
| 246 |
+
```
|
| 247 |
+
|
| 248 |
+
---
|
| 249 |
+
|
| 250 |
+
## 🤝 Contributing
|
| 251 |
+
|
| 252 |
+
Found an issue with the quantizations or have suggestions for improvements? Please open an issue or reach out!
|
| 253 |
+
|
| 254 |
+
---
|
| 255 |
+
|
| 256 |
+
## 📧 Contact & Support
|
| 257 |
+
|
| 258 |
+
- **Developer:** Pink Pixel
|
| 259 |
+
- **GitHub:** [https://github.com/pinkpixel-dev](https://github.com/pinkpixel-dev)
|
| 260 |
+
- **Website:** [https://pinkpixel.dev](https://pinkpixel.dev)
|
| 261 |
+
- **Email:** [admin@pinkpixel.dev](mailto:admin@pinkpixel.dev)
|
| 262 |
+
|
| 263 |
+
---
|
| 264 |
+
|
| 265 |
+
## 🙏 Acknowledgments
|
| 266 |
+
|
| 267 |
+
- **Original Model:** Crystal Think V2 by Pink Pixel
|
| 268 |
+
- **Base Model:** [Qwen/Qwen3-4B](https://huggingface.co/Qwen/Qwen3-4B) by Qwen Team
|
| 269 |
+
- **Quantization Tools:** [llama.cpp](https://github.com/ggerganov/llama.cpp) by Georgi Gerganov
|
| 270 |
+
- **Training Dataset:** [NVIDIA OpenMathReasoning](https://huggingface.co/datasets/nvidia/OpenMathReasoning)
|
| 271 |
+
|
| 272 |
+
---
|
| 273 |
+
|
| 274 |
+
**Made with ❤️ by Pink Pixel** ✨
|
| 275 |
+
*"Dream it, Pixel it"*
|
crystal-think-v2-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0633d0dc84c54918a197a96dd3584d194c5e313a1b88f38dda7c62211b76d71b
|
| 3 |
+
size 2497276800
|
crystal-think-v2-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b9328bff18e3a11e0d345524908c12e4a46293bf0d5df0a8a00a328396b888e
|
| 3 |
+
size 2889509760
|
crystal-think-v2-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7cdfbae340f9662d1ee760cfe111166dc95a26dfd48b07a2cf490c076ff8b43
|
| 3 |
+
size 3306257280
|
crystal-think-v2-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dfd3da83def0919bd4036336fa15124d743273d5f15fdeedbd0aa6415d94ad0
|
| 3 |
+
size 4280401280
|