Instructions to use deepparag/DumBot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepparag/DumBot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="deepparag/DumBot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("deepparag/DumBot") model = AutoModelForCausalLM.from_pretrained("deepparag/DumBot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use deepparag/DumBot with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "deepparag/DumBot" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deepparag/DumBot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deepparag/DumBot
- SGLang
How to use deepparag/DumBot 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 "deepparag/DumBot" \ --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": "deepparag/DumBot", "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 "deepparag/DumBot" \ --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": "deepparag/DumBot", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use deepparag/DumBot with Docker Model Runner:
docker model run hf.co/deepparag/DumBot
Commit History
-
add model
b84317d -
add model
21a893a -
add model
8bd1ae5 -
add model
49546d7 -
add model
997f656 -
add model
2337fd6 -
add model
49c0c48 -
add model
6abd723 -
add model
8221a65 -
add model
7677bfe -
add model
ed9d508 -
add model
1ccdc9b -
Update config.json
d25553f -
add model
17e1e38 -
Update README.md
a3dc316
-
add model
8f2c9cf -
add model
ad29f39 -
add model
8698c1e -
add model
30eabc9 -
add model
cfad818
-
add model
8c8d019 -
add model
dd3bd6c -
add model
1a25bb3 -
add model
6c654f6 -
add model
3eb597f -
add model
9474284 -
add model
fe11c44
-
add model
502443a -
add model
a7c22e6 -
add model
c580246
-
add model
64c838c -
add model
9179fe3 -
add model
4ad18dd -
add model
c806597 -
add model
489d381
-
add model
e5e4dad -
add model
37d51b4 -
Update config.json
f489639 -
add model
0e79b3e -
add model
9a62bac
-
add model
3d98959 -
Update config.json
d362a74 -
add model
e310c9c -
Update config.json
051b791 -
add model
2847fd2 -
Update config.json
e188477 -
Update config.json
b9a5640 -
Update config.json
cbfe774 -
add model
234ca45 -
Update config.json
70b2119