Text Generation
Transformers
Safetensors
Dream
feature-extraction
diffusion
fast-inference
d3llm
conversational
custom_code
Run this model with HF Jobs
Run d3LLM/d3LLM_Dream_Coder 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/d3LLM/d3LLM_Dream_Coder. Ask me which dataset to train on, then push the fine-tuned model to a new 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/d3LLM/d3LLM_Dream_Coder 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/d3LLM/d3LLM_Dream_Coder. Ask me which benchmark to run, then save the scores and the per-example results to a new 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/d3LLM/d3LLM_Dream_Coder. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use d3LLM/d3LLM_Dream_Coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d3LLM/d3LLM_Dream_Coder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="d3LLM/d3LLM_Dream_Coder", trust_remote_code=True) 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("d3LLM/d3LLM_Dream_Coder", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use d3LLM/d3LLM_Dream_Coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "d3LLM/d3LLM_Dream_Coder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "d3LLM/d3LLM_Dream_Coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/d3LLM/d3LLM_Dream_Coder
- SGLang
How to use d3LLM/d3LLM_Dream_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 "d3LLM/d3LLM_Dream_Coder" \ --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": "d3LLM/d3LLM_Dream_Coder", "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 "d3LLM/d3LLM_Dream_Coder" \ --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": "d3LLM/d3LLM_Dream_Coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use d3LLM/d3LLM_Dream_Coder with Docker Model Runner:
docker model run hf.co/d3LLM/d3LLM_Dream_Coder
Commit History
-
Add metadata, paper link and citation
Verified signatureThis PR improves the model card for d3LLM-Dream-Coder by: - Adding the `library_name: transformers` tag to enable library-specific features. - Adding the `license: apache-2.0` and `base_model` metadata. - Linking the model to its research paper and official resources (blog, demo, and code repository). - Adding the BibTeX citation for researchers.26f91fa
-
Update README.md
Verified signaturedad7e73 -
Update README.md
Verified signature89bf6ed -
Update README.md
Verified signature1c58527 -
Update README.md
Verified signature5098454
-
Create README.md
Verified signatureae3482e
-
Upload merges.txt with huggingface_hub
ChienVerified signature01f2963 -
Upload vocab.json with huggingface_hub
ChienVerified signaturef1dc76f -
Upload added_tokens.json with huggingface_hub
ChienVerified signature94f80cd -
Upload special_tokens_map.json with huggingface_hub
ChienVerified signature8f7fa78 -
Upload tokenizer_config.json with huggingface_hub
ChienVerified signature18fd882 -
Upload model.safetensors.index.json with huggingface_hub
ChienVerified signatureef4783c -
Upload model-00004-of-00004.safetensors with huggingface_hub
ChienVerified signatureb88ce9e -
Upload model-00003-of-00004.safetensors with huggingface_hub
ChienVerified signaturee5d6523 -
Upload model-00002-of-00004.safetensors with huggingface_hub
ChienVerified signature2e29f0c -
Upload model-00001-of-00004.safetensors with huggingface_hub
ChienVerified signature04f06ce -
Upload generation_config.json with huggingface_hub
ChienVerified signature037f6db -
Upload config.json with huggingface_hub
ChienVerified signature3b1abae -
initial commit
ChienVerified signature16324ed