Text Generation
Transformers
Safetensors
deepseek_v3
conversational
custom_code
text-generation-inference
fp8
Instructions to use Isotr0py/DeepSeek-V3-0324-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Isotr0py/DeepSeek-V3-0324-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Isotr0py/DeepSeek-V3-0324-tiny", trust_remote_code=True) 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("Isotr0py/DeepSeek-V3-0324-tiny", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("Isotr0py/DeepSeek-V3-0324-tiny", trust_remote_code=True, 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 Isotr0py/DeepSeek-V3-0324-tiny with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Isotr0py/DeepSeek-V3-0324-tiny" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Isotr0py/DeepSeek-V3-0324-tiny", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Isotr0py/DeepSeek-V3-0324-tiny
- SGLang
How to use Isotr0py/DeepSeek-V3-0324-tiny 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 "Isotr0py/DeepSeek-V3-0324-tiny" \ --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": "Isotr0py/DeepSeek-V3-0324-tiny", "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 "Isotr0py/DeepSeek-V3-0324-tiny" \ --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": "Isotr0py/DeepSeek-V3-0324-tiny", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Isotr0py/DeepSeek-V3-0324-tiny with Docker Model Runner:
docker model run hf.co/Isotr0py/DeepSeek-V3-0324-tiny
Download figures/0324_comparison.png from Isotr0py/DeepSeek-V3-0324-tiny: direct link, hf CLI and curl.
- Browser
- Download file 292 kB
-
https://huggingface.co/Isotr0py/DeepSeek-V3-0324-tiny/resolve/main/figures/0324_comparison.png
- Command line
-
hf download hf://Isotr0py/DeepSeek-V3-0324-tiny/figures/0324_comparison.png
-
curl -L -o 0324_comparison.png https://huggingface.co/Isotr0py/DeepSeek-V3-0324-tiny/resolve/main/figures/0324_comparison.png
292 kB

- Xet hash:
- f096a4073c847ac57e3f66ceefe1ab1b4feed4b6b31c6b74589f29a45e42c1f4
- Size of remote file:
- 292 kB
- SHA256:
- 7212ae57a3a299c664858e74db102ef70daab173c00a3fa4913deb9d3cddb370
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.