Run this model with HF Jobs
Run Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B") model = AutoModelForCausalLM.from_pretrained("Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B
- SGLang
How to use Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B with Docker Model Runner:
docker model run hf.co/Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B
AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B
This model is a fine-tuned version of deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0416
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 10
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5283 | 0.0395 | 50 | 0.5352 |
| 0.4595 | 0.0789 | 100 | 0.3924 |
| 0.3567 | 0.1184 | 150 | 0.3286 |
| 0.2457 | 0.1579 | 200 | 0.2729 |
| 0.219 | 0.1973 | 250 | 0.2486 |
| 0.2513 | 0.2368 | 300 | 0.2232 |
| 0.2006 | 0.2762 | 350 | 0.2084 |
| 0.2081 | 0.3157 | 400 | 0.1943 |
| 0.1961 | 0.3552 | 450 | 0.1859 |
| 0.2486 | 0.3946 | 500 | 0.1730 |
| 0.1313 | 0.4341 | 550 | 0.1651 |
| 0.1386 | 0.4736 | 600 | 0.1632 |
| 0.1397 | 0.5130 | 650 | 0.1600 |
| 0.1655 | 0.5525 | 700 | 0.1535 |
| 0.1206 | 0.5919 | 750 | 0.1539 |
| 0.1562 | 0.6314 | 800 | 0.1478 |
| 0.1444 | 0.6709 | 850 | 0.1464 |
| 0.1454 | 0.7103 | 900 | 0.1406 |
| 0.1393 | 0.7498 | 950 | 0.1384 |
| 0.1324 | 0.7893 | 1000 | 0.1369 |
| 0.1142 | 0.8287 | 1050 | 0.1324 |
| 0.11 | 0.8682 | 1100 | 0.1297 |
| 0.1301 | 0.9077 | 1150 | 0.1290 |
| 0.1122 | 0.9471 | 1200 | 0.1242 |
| 0.1428 | 0.9866 | 1250 | 0.1217 |
| 0.1026 | 1.0260 | 1300 | 0.1235 |
| 0.1412 | 1.0655 | 1350 | 0.1204 |
| 0.0887 | 1.1050 | 1400 | 0.1202 |
| 0.1026 | 1.1444 | 1450 | 0.1158 |
| 0.0843 | 1.1839 | 1500 | 0.1136 |
| 0.105 | 1.2234 | 1550 | 0.1127 |
| 0.0949 | 1.2628 | 1600 | 0.1094 |
| 0.0986 | 1.3023 | 1650 | 0.1071 |
| 0.1415 | 1.3418 | 1700 | 0.1042 |
| 0.0827 | 1.3812 | 1750 | 0.1035 |
| 0.0974 | 1.4207 | 1800 | 0.1010 |
| 0.064 | 1.4601 | 1850 | 0.0999 |
| 0.0894 | 1.4996 | 1900 | 0.0950 |
| 0.0704 | 1.5391 | 1950 | 0.0923 |
| 0.0966 | 1.5785 | 2000 | 0.0899 |
| 0.0832 | 1.6180 | 2050 | 0.0875 |
| 0.0765 | 1.6575 | 2100 | 0.0868 |
| 0.0718 | 1.6969 | 2150 | 0.0811 |
| 0.0647 | 1.7364 | 2200 | 0.0790 |
| 0.0652 | 1.7758 | 2250 | 0.0766 |
| 0.0815 | 1.8153 | 2300 | 0.0748 |
| 0.0503 | 1.8548 | 2350 | 0.0723 |
| 0.0704 | 1.8942 | 2400 | 0.0693 |
| 0.0645 | 1.9337 | 2450 | 0.0669 |
| 0.0843 | 1.9732 | 2500 | 0.0642 |
| 0.0426 | 2.0126 | 2550 | 0.0616 |
| 0.0435 | 2.0521 | 2600 | 0.0610 |
| 0.0359 | 2.0916 | 2650 | 0.0603 |
| 0.0505 | 2.1310 | 2700 | 0.0591 |
| 0.0368 | 2.1705 | 2750 | 0.0574 |
| 0.0393 | 2.2099 | 2800 | 0.0564 |
| 0.0415 | 2.2494 | 2850 | 0.0555 |
| 0.0384 | 2.2889 | 2900 | 0.0556 |
| 0.0425 | 2.3283 | 2950 | 0.0548 |
| 0.039 | 2.3678 | 3000 | 0.0538 |
| 0.0401 | 2.4073 | 3050 | 0.0525 |
| 0.0375 | 2.4467 | 3100 | 0.0513 |
| 0.0535 | 2.4862 | 3150 | 0.0496 |
| 0.0368 | 2.5257 | 3200 | 0.0485 |
| 0.0369 | 2.5651 | 3250 | 0.0473 |
| 0.0394 | 2.6046 | 3300 | 0.0466 |
| 0.0352 | 2.6440 | 3350 | 0.0462 |
| 0.0346 | 2.6835 | 3400 | 0.0454 |
| 0.0385 | 2.7230 | 3450 | 0.0449 |
| 0.0336 | 2.7624 | 3500 | 0.0442 |
| 0.0397 | 2.8019 | 3550 | 0.0435 |
| 0.0396 | 2.8414 | 3600 | 0.0427 |
| 0.0335 | 2.8808 | 3650 | 0.0420 |
| 0.0329 | 2.9203 | 3700 | 0.0419 |
| 0.0337 | 2.9597 | 3750 | 0.0417 |
| 0.0371 | 2.9992 | 3800 | 0.0416 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- -
Model tree for Chuxia-sys/AI-Tuned-DeepSeek-R1-Distill-Qwen-1.5B
Base model
deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B