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
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 model
e1aadb1 -
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 -
add model
b33b518 -
add model
24b4eb5 -
add model
4c8451e -
add model
a79e9b2 -
add model
9a6b9fa -
add model
857a8b1 -
add model
29ee5d5
-
add model
7d8f704 -
add model
3cd81ee -
add model
bc85c67 -
add model
22db373 -
add model
9e3f934 -
add model
fc33eae -
add model
44289d6 -
add model
ba682ee -
add model
add1967
-
add model
d4a588b -
add model
b458fbc -
add model
6a64509 -
add model
008e14d -
add model
2e6c90b -
add model
0a88987