Instructions to use TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-32B") model = PeftModel.from_pretrained(base_model, "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving") - Transformers
How to use TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving
- SGLang
How to use TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving 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 "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving" \ --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": "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving", "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 "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving" \ --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": "TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving with Docker Model Runner:
docker model run hf.co/TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving
Download finetuned_deepseek_for_problem_solving.zip from TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving: direct link, hf CLI and curl.
- Browser
- Download file 496 MB
-
https://huggingface.co/TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving/resolve/main/finetuned_deepseek_for_problem_solving.zip
- Command line
-
hf download hf://TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving/finetuned_deepseek_for_problem_solving.zip
-
curl -L -o finetuned_deepseek_for_problem_solving.zip https://huggingface.co/TsofiaCohen/DeepSeek-R1-Distill-Qwen-32B_MUSE_problem_solving/resolve/main/finetuned_deepseek_for_problem_solving.zip
496 MB
- Xet hash:
- 0437315575da8656f2f26ec35b6701ee0bf30fea59b245ed1de93a60071b2a5e
- Size of remote file:
- 496 MB
- SHA256:
- 6a58f67477cb67b39a9abd078d217fd6c2149008305517c832227276372f88e7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.