Downloads · 30 days
228
5% of all-time downloads
RichardErkhov/raincandy-u_-_Rain-7B-v0.1-gguf
raincandy-u_-_Rain-7B-v0.1-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
228
5% of all-time downloads
All-time downloads
4.4K
Public
Repo size
89.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf104 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Rain-7B-v0.1 - GGUF
| Name | Quant method | Size |
|---|---|---|
| Rain-7B-v0.1.Q2_K.gguf | Q2_K | 2.89GB |
| Rain-7B-v0.1.IQ3_XS.gguf | IQ3_XS | 3.18GB |
| Rain-7B-v0.1.IQ3_S.gguf | IQ3_S | 3.32GB |
| Rain-7B-v0.1.Q3_K_S.gguf | Q3_K_S | 3.32GB |
| Rain-7B-v0.1.IQ3_M.gguf | IQ3_M | 3.48GB |
| Rain-7B-v0.1.Q3_K.gguf | Q3_K | 3.65GB |
| Rain-7B-v0.1.Q3_K_M.gguf | Q3_K_M | 3.65GB |
| Rain-7B-v0.1.Q3_K_L.gguf | Q3_K_L | 3.93GB |
| Rain-7B-v0.1.IQ4_XS.gguf | IQ4_XS | 4.02GB |
| Rain-7B-v0.1.Q4_0.gguf | Q4_0 | 4.2GB |
| Rain-7B-v0.1.IQ4_NL.gguf | IQ4_NL | 4.22GB |
| Rain-7B-v0.1.Q4_K_S.gguf | Q4_K_S | 4.23GB |
| Rain-7B-v0.1.Q4_K.gguf | Q4_K | 4.44GB |
| Rain-7B-v0.1.Q4_K_M.gguf | Q4_K_M | 4.44GB |
| Rain-7B-v0.1.Q4_1.gguf | Q4_1 | 4.62GB |
| Rain-7B-v0.1.Q5_0.gguf | Q5_0 | 5.03GB |
| Rain-7B-v0.1.Q5_K_S.gguf | Q5_K_S | 5.03GB |
| Rain-7B-v0.1.Q5_K.gguf | Q5_K | 5.15GB |
| Rain-7B-v0.1.Q5_K_M.gguf | Q5_K_M | 5.15GB |
| Rain-7B-v0.1.Q5_1.gguf | Q5_1 | 5.44GB |
| Rain-7B-v0.1.Q6_K.gguf | Q6_K | 5.91GB |
| Rain-7B-v0.1.Q8_0.gguf | Q8_0 | 7.65GB |
license: other license_name: tongyi-qianwen license_link: https://huggingface.co/Qwen/Qwen1.5-7B-Chat/raw/main/LICENSE datasets:
<img src="https://pbs.twimg.com/media/GKJ6VOdbIAAo2yr?format=png&name=900x900"></img>
<div id="main-ame-back"> <div style="font-size:40px;color: #ebb4dd;font-weight:bolder;">ジェルばんは~</div> <br> <h1>🧬UPDATE: Please see <a href="https://huggingface.co/raincandy-u/Rain-7B-v0.2">Here</a> for v0.2 model.</h1> <h1>🧬Rain-7B-v0.1</h1>Rain-7B-v0.1 is an experimental model finetuned on <a href="https://huggingface.co/Qwen/Qwen1.5-7B-Chat">Qwen1.5-7B-Chat</a> with thousands of <b>chain of thought</b> conversations.
It work better for "think step by step" prompt.
| Model name | MMLU |
|---|---|
| Qwen1.5-7B-Chat | 55.8 |
| Rain-7B-v0.1 | 58.1 |
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "raincandy-u/Rain-7B-v0.1"
messages = [{"role": "user", "content": "What is chain of thoughts?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
</div>