Instructions to use bha6kar/finance-lora-phi-4-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use bha6kar/finance-lora-phi-4-mini with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir finance-lora-phi-4-mini bha6kar/finance-lora-phi-4-mini
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| base_model: mlx-community/Phi-4-mini-instruct-4bit | |
| library_name: mlx | |
| tags: | |
| - lora | |
| - mlx | |
| - finance | |
| # bha6kar/finance-lora-phi-4-mini | |
| LoRA adapter fine-tuning [`mlx-community/Phi-4-mini-instruct-4bit`](https://huggingface.co/mlx-community/Phi-4-mini-instruct-4bit) on the [`gbharti/finance-alpaca`](https://huggingface.co/datasets/gbharti/finance-alpaca) financial instruction dataset with [MLX](https://github.com/ml-explore/mlx). | |
| - Test perplexity: 33.933 (base) to 7.184 (tuned), across 3 seed(s). | |
| ## Use | |
| ```python | |
| 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](https://github.com/bha6kar/slm-training). | |