---
title: Llama-2-7b-WikiChat-mlx
canonical_url: "https://www.modelscope.cn/models/mlx-community/Llama-2-7b-WikiChat-mlx"
md_url: "https://www.modelscope.cn/models/mlx-community/Llama-2-7b-WikiChat-mlx.md"
repository: mlx-community/Llama-2-7b-WikiChat-mlx
last_updated: 2024-12-20
license: llama2
model_type:
  - llama
architectures:
  - LlamaForCausalLM
parameters: 6.7B
tensor_type:
  - F16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 1545
stars: 0
tags:
  - mlx
---

# Llama-2-7b-WikiChat-mlx

> Llama-2-7b-WikiChat-mlx - mlx-community 在 ModelScope 开源的模型。Llama-2-7b-WikiChat-mlx This model was converted to MLX format from stanford-oval/Llama-2-7b-WikiChat. Refer to the original model card for more details on the model. Use with mlx

mlx-community/Llama-2-7b-WikiChat-mlx 是 ModelScope 魔搭社区上的 6.7B 参数机器学习模型，采用 llama2 许可，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: mlx-community/Llama-2-7b-WikiChat-mlx
- **License**: llama2
- **Parameters**: 6.7B
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Tags**: mlx
- **Downloads**: 1545
- **Stars**: 0
- **Last updated**: 2024-12-20

Source: https://www.modelscope.cn/models/mlx-community/Llama-2-7b-WikiChat-mlx

---

# Llama-2-7b-WikiChat-mlx
This model was converted to MLX format from [`stanford-oval/Llama-2-7b-WikiChat`]().
Refer to the [original model card](https://huggingface.co/stanford-oval/Llama-2-7b-WikiChat) for more details on the model.
## Use with mlx
```bash
pip install mlx
git clone https://github.com/ml-explore/mlx-examples.git
cd mlx-examples/llms/hf_llm
python generate.py --model mlx-community/Llama-2-7b-WikiChat-mlx --prompt "My name is"
```
