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
52dd0b2 -
add model
bd6aab1 -
add model
2a81e9e -
add model
299d8d1 -
add model
62d19f9 -
add model
2be28c6 -
add model
b6af025 -
add model
c0e20d9 -
add model
c5d3a4a -
add model
98a4b38 -
add model
fda522d -
add model
437aa25 -
add model
ae5d64a -
add model
ad8b586
-
add model
91a4bab -
add model
fbdfc0d -
add model
5eb2957 -
add model
4e1d374 -
add model
377be3e -
add model
59cd919 -
add model
1e7fd8a -
add model
d3a30be -
Update config.json
2c82f50 -
Update README.md
e7bbaae -
Update config.json
d488c61 -
Update config.json
21a2513 -
add tokenizer
085976a -
add model
6086976 -
add model
f3d71db -
add model
874edca -
add model
2262b36 -
add tokenizer
be1e5ae -
add model
1a0dc91 -
v16
f82e4a1 -
Update config.json
6952825 -
add model
6979e54 -
add tokenizer
e183f83 -
add model
1a5c560 -
add model
029e331 -
add model
c164a3f -
add model
6e28fe5 -
add model
60ea06b -
add model
fe5cdfe -
add model
dc0c322 -
add model
1ae62f9 -
add model
d57b15a -
add model
ea8bcc9 -
add model
2eeaf50 -
add model
e204abe -
add model
f6a0c34