lang-uk/dragoman-4bit

Model

1

stars

6

commits

1

linked in READMEs

Apr 16, 2024

updated

mistral
mlx
model-index
peft
safetensors
text-generation
translation
Browse cluster: Large Language Model Fine-tuning and Inference

README

lang-uk/dragoman-4bit

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.

Use with mlx

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

Contributors

darkproger

6 commits

lang-uk/dragoman-4bit

Model

1

stars

6

commits

1

linked in READMEs

Apr 16, 2024

updated

mistral
mlx
model-index
peft
safetensors
text-generation
translation
Browse cluster: Large Language Model Fine-tuning and Inference

README

lang-uk/dragoman-4bit

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.

Use with mlx

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

Contributors

darkproger

6 commits