Downloads · 30 days
5
0% of all-time downloads
RichardErkhov/andito_-_mlx_summarization-gguf
andito_-_mlx_summarization-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
5
0% of all-time downloads
All-time downloads
1.2K
Public
Repo size
19.8 GB
Likes
0
Public
Click a slice to open those files.
.gguf22.9 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
mlx_summarization - GGUF
| Name | Quant method | Size |
|---|---|---|
| mlx_summarization.Q2_K.gguf | Q2_K | 0.63GB |
| mlx_summarization.IQ3_XS.gguf | IQ3_XS | 0.69GB |
| mlx_summarization.IQ3_S.gguf | IQ3_S | 0.72GB |
| mlx_summarization.Q3_K_S.gguf | Q3_K_S | 0.72GB |
| mlx_summarization.IQ3_M.gguf | IQ3_M | 0.75GB |
| mlx_summarization.Q3_K.gguf | Q3_K | 0.8GB |
| mlx_summarization.Q3_K_M.gguf | Q3_K_M | 0.8GB |
| mlx_summarization.Q3_K_L.gguf | Q3_K_L | 0.87GB |
| mlx_summarization.IQ4_XS.gguf | IQ4_XS | 0.88GB |
| mlx_summarization.Q4_0.gguf | Q4_0 | 0.92GB |
| mlx_summarization.IQ4_NL.gguf | IQ4_NL | 0.93GB |
| mlx_summarization.Q4_K_S.gguf | Q4_K_S | 0.93GB |
| mlx_summarization.Q4_K.gguf | Q4_K | 0.98GB |
| mlx_summarization.Q4_K_M.gguf | Q4_K_M | 0.98GB |
| mlx_summarization.Q4_1.gguf | Q4_1 | 1.02GB |
| mlx_summarization.Q5_0.gguf | Q5_0 | 1.11GB |
| mlx_summarization.Q5_K_S.gguf | Q5_K_S | 1.11GB |
| mlx_summarization.Q5_K.gguf | Q5_K | 1.14GB |
| mlx_summarization.Q5_K_M.gguf | Q5_K_M | 1.14GB |
| mlx_summarization.Q5_1.gguf | Q5_1 | 1.2GB |
| mlx_summarization.Q6_K.gguf | Q6_K | 1.31GB |
| mlx_summarization.Q8_0.gguf | Q8_0 | 1.7GB |
library_name: transformers tags:
The Model andito/mlx_summarization was converted to MLX format from HuggingFaceTB/SmolLM2-1.7B-Intermediate-SFT-v2-summarization-lora-r32-a64-merged-2 using mlx-lm version 0.19.2.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("andito/mlx_summarization")
prompt="hello"
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)