Instructions to use MainStack/marvy-1-14B-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MainStack/marvy-1-14B-lora with PEFT:
Task type is invalid.
- MLX
How to use MainStack/marvy-1-14B-lora with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("MainStack/marvy-1-14B-lora") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- MLX LM
How to use MainStack/marvy-1-14B-lora with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "MainStack/marvy-1-14B-lora" --prompt "Once upon a time"
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -84,10 +84,12 @@ model = PeftModel.from_pretrained(model, "MainStack/marvy-1-14B-lora")
|
|
| 84 |
|
| 85 |
See the merged model card for full dataset, evaluation, and limitations.
|
| 86 |
|
| 87 |
-
##
|
| 88 |
|
| 89 |
-
Apache-2.0
|
| 90 |
-
|
|
|
|
|
|
|
| 91 |
https://huggingface.co/MainStack/marvy-1-14B. Keep the `NOTICE` file intact
|
| 92 |
(required by Apache-2.0 §4) and cite the entry on the
|
| 93 |
[merged model card](https://huggingface.co/MainStack/marvy-1-14B#citation).
|
|
|
|
| 84 |
|
| 85 |
See the merged model card for full dataset, evaluation, and limitations.
|
| 86 |
|
| 87 |
+
## License & attribution
|
| 88 |
|
| 89 |
+
Dual-licensed: **weights Apache-2.0**, **MainStack contributions (cards, docs,
|
| 90 |
+
benchmark) CC-BY-4.0** — see [`LICENSING.md`](./LICENSING.md). **If you use
|
| 91 |
+
marvy-1-14B as a baseline, fine-tune it, distill from it, or evaluate against
|
| 92 |
+
it, please credit MainStack** and link to
|
| 93 |
https://huggingface.co/MainStack/marvy-1-14B. Keep the `NOTICE` file intact
|
| 94 |
(required by Apache-2.0 §4) and cite the entry on the
|
| 95 |
[merged model card](https://huggingface.co/MainStack/marvy-1-14B#citation).
|