---
title: Agatha-111B-v1-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/Agatha-111B-v1-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/Agatha-111B-v1-4bit.md"
repository: mlx-community/Agatha-111B-v1-4bit
last_updated: 2025-06-13
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - cohere2
architectures:
  - Cohere2ForCausalLM
base_model:
  - TheDrummer/Agatha-111B-v1
base_model_relation: quantized
parameters: 17.4B
tensor_type:
  - BF16
  - U32
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task text/emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 250
stars: 0
tags:
  - mlx
---

# Agatha-111B-v1-4bit

> Agatha-111B-v1-4bit - mlx-community 在 ModelScope 开源的模型。mlx-community/Agatha-111B-v1-4bit

mlx-community/Agatha-111B-v1-4bit 是 ModelScope 魔搭社区上的 17.4B 参数text-generation模型，基于 TheDrummer/Agatha-111B-v1 构建，可用 deploy_task text/emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: mlx-community/Agatha-111B-v1-4bit
- **Tasks**: text-generation
- **Parameters**: 17.4B
- **Base model**: TheDrummer/Agatha-111B-v1
- **Inference backends**: deploy_task text/emb, sglang 0.5.2, vllm 0.9.2
- **Tags**: mlx
- **Downloads**: 250
- **Stars**: 0
- **Last updated**: 2025-06-13

Source: https://www.modelscope.cn/models/mlx-community/Agatha-111B-v1-4bit

---

# mlx-community/Agatha-111B-v1-4bit

This model [mlx-community/Agatha-111B-v1-4bit](https://huggingface.co/mlx-community/Agatha-111B-v1-4bit) was
converted to MLX format from [TheDrummer/Agatha-111B-v1](https://huggingface.co/TheDrummer/Agatha-111B-v1)
using mlx-lm version **0.25.2**.

## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Agatha-111B-v1-4bit")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
```
