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 Settings
- 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 NOTICE with huggingface_hub
Browse files
NOTICE
CHANGED
|
@@ -6,6 +6,20 @@ You may obtain a copy of the License in the accompanying LICENSE file or at:
|
|
| 6 |
|
| 7 |
http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
================================================================================
|
| 10 |
Attribution
|
| 11 |
================================================================================
|
|
|
|
| 6 |
|
| 7 |
http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
|
| 9 |
+
================================================================================
|
| 10 |
+
Attribution request (downstream use)
|
| 11 |
+
================================================================================
|
| 12 |
+
|
| 13 |
+
marvy-1-14B was created by MainStack (https://huggingface.co/MainStack).
|
| 14 |
+
|
| 15 |
+
If you use marvy-1-14B as a baseline, fine-tune it, distill from it, evaluate
|
| 16 |
+
against it, or otherwise build on it, please credit MainStack and link to:
|
| 17 |
+
|
| 18 |
+
https://huggingface.co/MainStack/marvy-1-14B
|
| 19 |
+
|
| 20 |
+
Under the Apache License, Version 2.0, this NOTICE file MUST be retained and
|
| 21 |
+
reproduced in any derivative works and redistributions (License §4(d)).
|
| 22 |
+
|
| 23 |
================================================================================
|
| 24 |
Attribution
|
| 25 |
================================================================================
|