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
d309501
-
add model
1a14a98 -
add model
a2b2024 -
add model
c28f8ad -
add model
d3e4f4c -
add model
bfc9abd -
add model
ab58f18 -
add model
70a0d8c -
add model
e8c227e -
add model
179e12e -
add model
ea0d90d
-
add model
c68ae1a -
add model
be0c9e6 -
add model
7c9d62b -
add model
59d8b56 -
add model
0f450dc -
add model
69274bd -
add model
3d34be1 -
add model
2c18b76 -
add model
e5942cf -
add model
e63b661 -
add model
495df39 -
add model
f7e0bec -
add model
2c1191f -
add model
f701f86 -
add model
4d986af -
add model
e03f287 -
add model
28750f4 -
add model
0a0ba86 -
add model
dc4f632 -
add model
6b34ad4 -
add model
c55a9c9 -
add model
2af7944 -
add model
895f30d -
add model
24d557b -
add model
34b40db -
add model
96ed130 -
add model
73e3732 -
add model
c7a855d -
add model
9436b51 -
add model
eabea8c -
add model
8a199c8 -
add model
aa0ca81 -
add model
7e557ce -
add model
e627657 -
add model
c576777 -
add model
fb91faf -
add model
613b012
-
add model
89ec9dd -
add model
5d22768