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 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 -
add model
1de4ba5 -
add tokenizer
26119fe -
add model
5316548 -
add tokenizer
33cedad -
add model
3fce11a -
add model
83daa91 -
add model
69c723d -
Update config.json
79e14c3
-
add model
18d50f6 -
add model
8611a20 -
Update README.md
a9e24a8 -
add model
b254f25 -
add model
7e5bf58 -
add model
e7be4b8
-
add tokenizer
1802258 -
add model
0bbf369 -
add tokenizer
d4cb14e -
add model
6301780 -
add tokenizer
87b3669 -
add model
5b1cee1 -
add tokenizer
c7e7996 -
add model
b9fa081 -
add tokenizer
2294f7e -
add model
df325cc -
add tokenizer
d64e861 -
add model
3083627
-
add model
fa574aa -
add model
0c7c6eb -
add model
2d4e881 -
add model
b821965 -
add model
70a5a10 -
add model
68c1347 -
add model
9c3b157 -
add model
48cfe0f -
add model
51f5145 -
add model
ebc786e -
add model
d8c94b1 -
add model
5d22eb5 -
add model
0bd9b5c