Text Generation
Transformers
Safetensors
English
Bengali
multilingual
qwen3_5
image-text-to-text
chat
reasoning
coding
qwen
yarn
long-context
1m-context
bangla
conversational
Instructions to use droplychee/droplychee-2.0-40b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use droplychee/droplychee-2.0-40b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="droplychee/droplychee-2.0-40b") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("droplychee/droplychee-2.0-40b") model = AutoModelForMultimodalLM.from_pretrained("droplychee/droplychee-2.0-40b", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use droplychee/droplychee-2.0-40b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "droplychee/droplychee-2.0-40b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "droplychee/droplychee-2.0-40b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/droplychee/droplychee-2.0-40b
- SGLang
How to use droplychee/droplychee-2.0-40b 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 "droplychee/droplychee-2.0-40b" \ --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": "droplychee/droplychee-2.0-40b", "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 "droplychee/droplychee-2.0-40b" \ --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": "droplychee/droplychee-2.0-40b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use droplychee/droplychee-2.0-40b with Docker Model Runner:
docker model run hf.co/droplychee/droplychee-2.0-40b
Update README.md
Browse files
README.md
CHANGED
|
@@ -196,5 +196,51 @@ Users must also comply with the license terms of the upstream base model where a
|
|
| 196 |
| Omniscience | 10.0 | Internal |
|
| 197 |
|
| 198 |
> **Disclaimer:** These benchmark results are derived from the Droplychee team's internal evaluation pipeline. Results may vary depending on hardware, inference engine, prompt format, evaluation methodology, and software versions. Independent third-party verification is planned for future releases.
|
| 199 |
-
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
| Omniscience | 10.0 | Internal |
|
| 197 |
|
| 198 |
> **Disclaimer:** These benchmark results are derived from the Droplychee team's internal evaluation pipeline. Results may vary depending on hardware, inference engine, prompt format, evaluation methodology, and software versions. Independent third-party verification is planned for future releases.
|
| 199 |
+
|
| 200 |
+
For the latest documentation, technical reports, and official releases, please visit the official Droplychee GitHub repository.
|
| 201 |
+
https://github.com/DropLychee/droplychee-2.0-40b
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
droplychee-2.0-40b/
|
| 205 |
+
│
|
| 206 |
+
├── README.md
|
| 207 |
+
├── LICENSE
|
| 208 |
+
├── MODEL_CARD.md
|
| 209 |
+
├── TECHNICAL_REPORT.md
|
| 210 |
+
├── SYSTEM_CARD.md
|
| 211 |
+
├── EVALUATION.md
|
| 212 |
+
├── CITATION.cff
|
| 213 |
+
├── CHANGELOG.md
|
| 214 |
+
├── CONTRIBUTING.md
|
| 215 |
+
├── SECURITY.md
|
| 216 |
+
├── CODE_OF_CONDUCT.md
|
| 217 |
+
├── docs/
|
| 218 |
+
│ ├── architecture.md
|
| 219 |
+
│ ├── training.md
|
| 220 |
+
│ ├── datasets.md
|
| 221 |
+
│ ├── tokenizer.md
|
| 222 |
+
│ ├── inference.md
|
| 223 |
+
│ ├── benchmarks.md
|
| 224 |
+
│ ├── deployment.md
|
| 225 |
+
│ ├── safety.md
|
| 226 |
+
│ ├── governance.md
|
| 227 |
+
│ └── roadmap.md
|
| 228 |
+
├── assets/
|
| 229 |
+
│ ├── logo.png
|
| 230 |
+
│ ├── banner.png
|
| 231 |
+
│ ├── architecture.svg
|
| 232 |
+
│ └── benchmark_charts/
|
| 233 |
+
├── examples/
|
| 234 |
+
│ ├── transformers.py
|
| 235 |
+
│ ├── vllm.py
|
| 236 |
+
│ ├── llama_cpp.py
|
| 237 |
+
│ └── openai_api.py
|
| 238 |
+
├── scripts/
|
| 239 |
+
│ ├── evaluate.py
|
| 240 |
+
│ ├── benchmark.py
|
| 241 |
+
│ ├── convert_gguf.py
|
| 242 |
+
│ └── export.py
|
| 243 |
+
└── paper/
|
| 244 |
+
├── Droplychee-2.0-40B_Technical_Report.pdf
|
| 245 |
+
├── Droplychee-2.0-40B_Technical_Report.md
|
| 246 |
+
└── references.bib
|