Downloads · 30 days
290
14% of all-time downloads
RichardErkhov/Kabster_-_Bio-Mistralv2-Squared-gguf
Kabster_-_Bio-Mistralv2-Squared-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
290
14% of all-time downloads
All-time downloads
2.1K
Public
Repo size
82.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf95.2 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Bio-Mistralv2-Squared - GGUF
| Name | Quant method | Size |
|---|---|---|
| Bio-Mistralv2-Squared.Q2_K.gguf | Q2_K | 2.53GB |
| Bio-Mistralv2-Squared.IQ3_XS.gguf | IQ3_XS | 2.81GB |
| Bio-Mistralv2-Squared.IQ3_S.gguf | IQ3_S | 2.96GB |
| Bio-Mistralv2-Squared.Q3_K_S.gguf | Q3_K_S | 2.95GB |
| Bio-Mistralv2-Squared.IQ3_M.gguf | IQ3_M | 3.06GB |
| Bio-Mistralv2-Squared.Q3_K.gguf | Q3_K | 3.28GB |
| Bio-Mistralv2-Squared.Q3_K_M.gguf | Q3_K_M | 3.28GB |
| Bio-Mistralv2-Squared.Q3_K_L.gguf | Q3_K_L | 3.56GB |
| Bio-Mistralv2-Squared.IQ4_XS.gguf | IQ4_XS | 3.67GB |
| Bio-Mistralv2-Squared.Q4_0.gguf | Q4_0 | 3.83GB |
| Bio-Mistralv2-Squared.IQ4_NL.gguf | IQ4_NL | 3.87GB |
| Bio-Mistralv2-Squared.Q4_K_S.gguf | Q4_K_S | 3.86GB |
| Bio-Mistralv2-Squared.Q4_K.gguf | Q4_K | 4.07GB |
| Bio-Mistralv2-Squared.Q4_K_M.gguf | Q4_K_M | 4.07GB |
| Bio-Mistralv2-Squared.Q4_1.gguf | Q4_1 | 4.24GB |
| Bio-Mistralv2-Squared.Q5_0.gguf | Q5_0 | 4.65GB |
| Bio-Mistralv2-Squared.Q5_K_S.gguf | Q5_K_S | 4.65GB |
| Bio-Mistralv2-Squared.Q5_K.gguf | Q5_K | 4.78GB |
| Bio-Mistralv2-Squared.Q5_K_M.gguf | Q5_K_M | 4.78GB |
| Bio-Mistralv2-Squared.Q5_1.gguf | Q5_1 | 5.07GB |
| Bio-Mistralv2-Squared.Q6_K.gguf | Q6_K | 5.53GB |
| Bio-Mistralv2-Squared.Q8_0.gguf | Q8_0 | 7.17GB |
base_model:
Bio-Mistralv2-Squared is a merge of pre-trained language models created using mergekit.
This model was merged using the SLERP merge method.
The following models were included in the merge:
The following YAML configuration was used to produce this model:
slices:
- sources:
- model: BioMistral/BioMistral-7B
layer_range: [0, 32]
- model: mistralai/Mistral-7B-Instruct-v0.2
layer_range: [0, 32]
merge_method: slerp
base_model: BioMistral/BioMistral-7B
parameters:
t:
- filter: self_attn
value: [0, 0.5, 0.3, 0.7, 1]
- filter: mlp
value: [1, 0.5, 0.7, 0.3, 0]
- value: 0.5
dtype: bfloat16
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "Kabster/Bio-Mistralv2-Squared"
messages = [{"role": "user", "content": "What is fluimucil used for?"}]
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.2, top_k=100, top_p=0.95)
print(outputs[0]["generated_text"])