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
-
Update README.md
61ec360
-
Update config.json
b03a79f
-
add model
12c38ee
-
add model
f0d52e4 -
add model
cec1964 -
add model
f9a0725 -
add model
3b18af5 -
add model
5aa8eba -
add model
0ec593a
-
add model
fd9a465 -
add model
df922fd -
add model
2fa2321 -
Update config.json
6bf1a85 -
Update config.json
a3520ba
-
add model
cf29584 -
add model
b65cc2a -
add model
dcbdbd7 -
add model
5a5bdbe -
add model
3f52320 -
add model
48499a0 -
add model
e03d76f
-
add model
c8dd1b5 -
add model
2f013fd -
add model
d6ede3f
-
add model
3779e4b -
add model
e3c7bac -
add model
f25e258 -
add model
11db21a -
Update config.json
d8bca9a -
Update config.json
89cf005
-
add model
1ead7f9 -
add model
df5e5e2 -
add model
aee182f
-
add model
f9c0c15 -
add model
dbd97c2 -
add model
18bfa4c -
add model
e1ab7b3 -
add model
5cdea14 -
add model
a3e0c18 -
Update config.json
5666f6d -
add model
5009355
-
add model
8af5c77 -
add model
6ea105f -
add model
fdedd72 -
add model
14279f9 -
Update config.json
4fdf050 -
add model
b86a5ee -
add tokenizer
462c87d -
add model
c532daf -
add tokenizer
2c814fb