Downloads · 30 days
113
21% of all-time downloads
RichardErkhov/Cartinoe5930_-_TIES-Merging-gguf
Cartinoe5930_-_TIES-Merging-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
113
21% of all-time downloads
All-time downloads
548
Public
Repo size
80.2 GB
Likes
0
Public
Click a slice to open those files.
.gguf93.2 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
TIES-Merging - GGUF
| Name | Quant method | Size |
|---|---|---|
| TIES-Merging.Q2_K.gguf | Q2_K | 2.53GB |
| TIES-Merging.IQ3_XS.gguf | IQ3_XS | 2.81GB |
| TIES-Merging.IQ3_S.gguf | IQ3_S | 2.96GB |
| TIES-Merging.Q3_K_S.gguf | Q3_K_S | 2.95GB |
| TIES-Merging.IQ3_M.gguf | IQ3_M | 3.06GB |
| TIES-Merging.Q3_K.gguf | Q3_K | 3.28GB |
| TIES-Merging.Q3_K_M.gguf | Q3_K_M | 3.28GB |
| TIES-Merging.Q3_K_L.gguf | Q3_K_L | 3.56GB |
| TIES-Merging.IQ4_XS.gguf | IQ4_XS | 3.67GB |
| TIES-Merging.Q4_0.gguf | Q4_0 | 1.99GB |
| TIES-Merging.IQ4_NL.gguf | IQ4_NL | 3.87GB |
| TIES-Merging.Q4_K_S.gguf | Q4_K_S | 3.86GB |
| TIES-Merging.Q4_K.gguf | Q4_K | 4.07GB |
| TIES-Merging.Q4_K_M.gguf | Q4_K_M | 4.07GB |
| TIES-Merging.Q4_1.gguf | Q4_1 | 4.24GB |
| TIES-Merging.Q5_0.gguf | Q5_0 | 4.65GB |
| TIES-Merging.Q5_K_S.gguf | Q5_K_S | 4.65GB |
| TIES-Merging.Q5_K.gguf | Q5_K | 4.78GB |
| TIES-Merging.Q5_K_M.gguf | Q5_K_M | 4.78GB |
| TIES-Merging.Q5_1.gguf | Q5_1 | 5.07GB |
| TIES-Merging.Q6_K.gguf | Q6_K | 5.53GB |
| TIES-Merging.Q8_0.gguf | Q8_0 | 7.17GB |
license: apache-2.0 tags:
TIES-Merging is a merge of the following models using LazyMergekit:
models:
- model: mistralai/Mistral-7B-Instruct-v0.2
# no parameters necessary for base model
- model: Open-Orca/Mistral-7B-OpenOrca
parameters:
density: 0.5
weight: 0.5
- model: openchat/openchat-3.5-0106
parameters:
density: 0.5
weight: 0.5
- model: WizardLM/WizardMath-7B-V1.1
parameters:
density: 0.5
weight: 0.5
merge_method: ties
base_model: mistralai/Mistral-7B-Instruct-v0.2
parameters:
normalize: true
dtype: float16
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "Cartinoe5930/TIES-Merging"
messages = [{"role": "user", "content": "What is a large language model?"}]
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"])