How to use from the
Use from the
MLX library
# Download the model from the Hub
pip install huggingface_hub[hf_xet]

hf download bha6kar/finance-lora-phi-4-mini --local-dir finance-lora-phi-4-mini

bha6kar/finance-lora-phi-4-mini

LoRA adapter fine-tuning mlx-community/Phi-4-mini-instruct-4bit on the gbharti/finance-alpaca financial instruction dataset with MLX.

  • Test perplexity: 33.933 (base) to 7.184 (tuned), across 3 seed(s).

Use

from mlx_lm import load, generate
model, tok = load("mlx-community/Phi-4-mini-instruct-4bit", adapter_path="<downloaded-adapter-dir>")

Produced by slm-training.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for bha6kar/finance-lora-phi-4-mini