Downloads · 30 days
0
lang-uk/dragoman-4bit
dragoman-4bit is a text generation model from lang-uk. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This model was converted to MLX format from the lang-uk/dragoman adapter fused into the mistralai/Mistral-7b-v0.1 base model and quantized into 4 bits using mlx-lm version 0.4.0. Refer to the original model card for m…
Downloads · 30 days
0
Access
Public
Updated Apr 16, 2024
Parameters
7.2B
4.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors4.3 GB · 100%
How the weights are stored.
U327.1B · 98%
From the Hugging Face model README
This model was converted to MLX format from the lang-uk/dragoman adapter fused into the mistralai/Mistral-7b-v0.1
base model and quantized into 4 bits using mlx-lm version 0.4.0.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("lang-uk/dragoman-4bit")
response = generate(model, tokenizer, prompt="[INST] who holds this neighborhood? [/INST]", verbose=True)
Or use from your shell:
python -m mlx_lm.generate --model lang-uk/dragoman-4bit --prompt '[INST] who holds this neighborhood? [/INST]' --temp 0 --max-tokens 100