--- datasets: - THUDM/LongWriter-6k language: - en - zh library_name: transformers license: llama3.1 tags: - Long Context - chatglm - llama - mlx --- # shi3z/mlx-LongWriter-llama3.1-8b-8bit The Model [shi3z/mlx-LongWriter-llama3.1-8b-8bit](https://huggingface.co./shi3z/mlx-LongWriter-llama3.1-8b-8bit) was converted to MLX format from [THUDM/LongWriter-llama3.1-8b](https://huggingface.co./THUDM/LongWriter-llama3.1-8b) using mlx-lm version **0.17.0**. ## Use with mlx ```bash pip install mlx-lm ``` ```python from mlx_lm import load, generate model, tokenizer = load("shi3z/mlx-LongWriter-llama3.1-8b-8bit") response = generate(model, tokenizer, prompt="hello", verbose=True) ```