Text Generation
Transformers
Safetensors
llama
trl
sft
Generated from Trainer
text-generation-inference
Instructions to use woody72/albertus-deepseek-coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use woody72/albertus-deepseek-coder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="woody72/albertus-deepseek-coder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("woody72/albertus-deepseek-coder") model = AutoModelForCausalLM.from_pretrained("woody72/albertus-deepseek-coder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use woody72/albertus-deepseek-coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "woody72/albertus-deepseek-coder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "woody72/albertus-deepseek-coder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/woody72/albertus-deepseek-coder
- SGLang
How to use woody72/albertus-deepseek-coder 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 "woody72/albertus-deepseek-coder" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "woody72/albertus-deepseek-coder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "woody72/albertus-deepseek-coder" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "woody72/albertus-deepseek-coder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use woody72/albertus-deepseek-coder with Docker Model Runner:
docker model run hf.co/woody72/albertus-deepseek-coder
Commit History
-
Model save
Verified signature67c40e4 -
Training in progress, step 1170
Verified signature5b85775 -
Training in progress, step 1053
Verified signature5642097 -
Training in progress, step 936
Verified signature7e7ea08 -
Training in progress, step 819
Verified signatureaf22b05 -
Training in progress, step 702
Verified signaturef4cd94b -
Training in progress, step 585
Verified signature8c29e1e -
Training in progress, step 468
Verified signatureb4a3990 -
Training in progress, step 351
Verified signaturec8a7e34 -
Training in progress, step 234
Verified signaturec211208 -
Training in progress, step 117
Verified signaturea670bd8 -
Training in progress, step 702
Verified signaturea97c158 -
Training in progress, step 468
Verified signature457e351 -
Training in progress, step 234
Verified signature9885ae0 -
initial commit
Verified signatured69f289