Downloads · 30 days
6
3% of all-time downloads
Hinova/mistral7b-v0.1-4bit-mlx-lora-wikisql
mistral7b-v0.1-4bit-mlx-lora-wikisql is a machine learning model from Hinova. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx.
A 4-bit LoRA-fine-tuned Mistral-7B model for WikiSQL tasks, via Apple’s MLX framework and the lora.py.
Downloads · 30 days
6
3% of all-time downloads
All-time downloads
178
Public
Parameters
7.2B
4.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.1 GB · 100%
How the weights are stored.
U327.2B · 100%
From the Hugging Face model README
A 4-bit LoRA-fine-tuned Mistral-7B model for WikiSQL tasks, via Apple’s MLX framework and the lora.py.
This model was converted to MLX format from Hinova/mistral-7B-v0.1-4bit-mlx.
Refer to the original model card for more details on the model.
This model was trained using the MLX Examples LoRA tutorial:
lora.py (ml-explore/mlx-examples/lora)mlx-lm| File | Description |
|---|---|
weights.npz | Fused weights: base + LoRA adapters |
config.json | Model config with quantization metadata |
tokenizer.model | SentencePiece tokenizer for Mistral-7B |
pip install mlx-lm
## 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 Hinova/mistral7b-v0.1-4bit-mlx-lora-wikisql --prompt "My name is"