---
title: OpenELM-270M-Instruct-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/OpenELM-270M-Instruct-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/OpenELM-270M-Instruct-4bit.md"
repository: mlx-community/OpenELM-270M-Instruct-4bit
last_updated: 2024-12-20
license: other
model_type:
  - openelm
architectures:
  - OpenELMForCausalLM
parameters: 42.5M
tensor_type:
  - U32
  - F16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 1012
stars: 0
tags:
  - mlx
---

# OpenELM-270M-Instruct-4bit

> OpenELM-270M-Instruct-4bit - mlx-community 在 ModelScope 开源的模型。mlx-community/OpenELM-270M-Instruct-4bit

mlx-community/OpenELM-270M-Instruct-4bit 是 ModelScope 魔搭社区上的 42.5M 参数机器学习模型，采用 other 许可。

- **Repository**: mlx-community/OpenELM-270M-Instruct-4bit
- **License**: other
- **Parameters**: 42.5M
- **Tags**: mlx
- **Downloads**: 1012
- **Stars**: 0
- **Last updated**: 2024-12-20

Source: https://www.modelscope.cn/models/mlx-community/OpenELM-270M-Instruct-4bit

---

# mlx-community/OpenELM-270M-Instruct-4bit

The Model [mlx-community/OpenELM-270M-Instruct-4bit](https://huggingface.co/mlx-community/OpenELM-270M-Instruct-4bit) was converted to MLX format from [mlx-community/OpenELM-270M-Instruct](https://huggingface.co/mlx-community/OpenELM-270M-Instruct) using mlx-lm version **0.14.0**.

## Use with mlx

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

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/OpenELM-270M-Instruct-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
