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
c06975f -
add model
da58db8 -
add model
1bb0cd1 -
add model
d3ff1e5 -
add model
2b0d6e6
-
add model
fcd3ec5 -
add model
bee389b -
add model
94b6d79 -
add model
41b352c -
add model
6b35b9f -
add model
0a4201a -
add model
cfc9362 -
add model
7a7f1f8 -
add model
d0555e8 -
add model
d33c4a7 -
add model
1d6e0dc -
add model
f6171c0
-
add model
93ce2e8 -
add model
dd17cb2 -
add model
df9e73c -
add model
e8e8fa5 -
add model
2760a14 -
add model
765f69c -
add model
f1fdcb6 -
add model
b603003 -
add model
1e0b196 -
add model
7d63e4d
-
add model
f0a0ee9 -
add model
0351ce9 -
add model
7729e86 -
add model
f7d68cc -
add model
5778a8f -
add model
c2c13d7 -
add model
929f7c5 -
add model
73a87e6 -
add model
b817097 -
add model
f84d276 -
add model
34777c6 -
add model
d35bfc5 -
add model
984310b -
add model
e7f28ea -
add model
0db3992 -
add model
2ca8631 -
add model
49ca605 -
add model
4a1e0cf -
add model
ce12aad -
add model
ce71107 -
add model
c4a1b4d -
add model
57500fb
-
add model
9ec2a0b