Instructions to use ArmandS11/DeepSeekR1-7B-FineTuned-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ArmandS11/DeepSeekR1-7B-FineTuned-python 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("ArmandS11/DeepSeekR1-7B-FineTuned-python") 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 ArmandS11/DeepSeekR1-7B-FineTuned-python with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "ArmandS11/DeepSeekR1-7B-FineTuned-python" --prompt "Once upon a time"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# DeepSeek-R1-Distill-Qwen-7B — Python Code Fine-tune
|
| 2 |
|
| 3 |
A LoRA fine-tuned version of [DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) specialized for Python code generation.
|
|
@@ -70,4 +88,4 @@ Generated code should always be reviewed before use in production. The model may
|
|
| 70 |
|
| 71 |
## Model Card Authors
|
| 72 |
|
| 73 |
-
Armand — [@ArmandS11](https://huggingface.co/ArmandS11/)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- iamtarun/python_code_instructions_18k_alpaca
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
- fr
|
| 8 |
+
base_model:
|
| 9 |
+
- deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
library_name: mlx
|
| 12 |
+
tags:
|
| 13 |
+
- code
|
| 14 |
+
- python
|
| 15 |
+
- deepseek
|
| 16 |
+
- fine-tuned
|
| 17 |
+
- lora
|
| 18 |
+
---
|
| 19 |
# DeepSeek-R1-Distill-Qwen-7B — Python Code Fine-tune
|
| 20 |
|
| 21 |
A LoRA fine-tuned version of [DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) specialized for Python code generation.
|
|
|
|
| 88 |
|
| 89 |
## Model Card Authors
|
| 90 |
|
| 91 |
+
Armand — [@ArmandS11](https://huggingface.co/ArmandS11/)
|