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
35e5174
-
add model
78c45d4 -
add model
6dd4f0d -
add model
38a7db7 -
add model
6af90c9 -
add model
0e9e4d3 -
add model
d330fb2 -
add model
b4cbf9f -
add model
2714971 -
add model
e4042d2 -
add model
d238ca8 -
add model
068968b -
add model
68951d4 -
add model
d4abd63
-
add model
9ff40a8 -
add model
e8b820c -
add model
6fe08e6 -
add model
2b8515c -
add model
1520a39 -
add model
8dd5108 -
add model
419f9e7 -
add model
535b63c -
add model
013e45b -
add model
ad43462 -
add model
7e591d1 -
add model
7f2a07a -
add model
6aeb0d2 -
add model
5966c26 -
add model
fcbc5cc -
add tokenizer
b06413f -
add model
e1aadb1 -
add tokenizer
7164bec -
add model
c765122 -
add model
162af45 -
add model
ae68d72 -
add model
c38fdcf -
add model
fa3d2d0
-
add model
dddaf86 -
add model
3337787 -
add model
3e65d3b -
add model
580396e -
add model
66af7e5 -
add model
89af016 -
add model
9ccb380 -
add model
17715a5 -
add model
e6b5ee6 -
add model
79188f5
-
add model
692fadb -
add model
7e1a1a0 -
add model
8fcbc37