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
113a74a -
add model
6f8eb4e -
add model
0825073 -
add model
f7be33f -
add model
b1a2025 -
add model
be3e33d -
add model
621be14 -
add model
ddaa9dc
-
add model
ed82af6 -
add model
bed3990 -
add model
79f025c -
add model
7990c2e -
add model
e472343 -
add model
a716470 -
add model
3b38480 -
add model
298a809 -
add model
5b206e0 -
add tokenizer
1439dfd -
add model
f36b9d7 -
add tokenizer
d76353b -
add model
5d483a6 -
add tokenizer
704340f -
add model
7f767c2 -
add model
56893ec -
add model
e47763c -
add model
84253a2 -
Merge branch 'main' of https://huggingface.co/deepparag/DumBot into main
990e32b -
Update config.json
dc974d3 -
add model
132d143
-
add model
39b626d -
add model
e709b15 -
add model
02a4dfb -
add model
18d9448 -
add model
a5d6419
-
add model
bd7e99a -
add model
0654a82 -
add model
5b9b339 -
add model
4a4bbeb -
add model
c72ef65
-
add tokenizer
36d9e7a -
add model
cf21a37 -
add tokenizer
9e2e429 -
add model
ea27db4 -
add model
da519ff -
add tokenizer
b6bc87d -
add model
4bedaa3 -
add tokenizer
d329831 -
add model
642ddf5 -
add model
96a7092
-
add model
7ca1066