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
d126eec -
add model
49a0760 -
add model
034e01a
-
add model
cd235d4 -
add tokenizer
43cda80 -
add model
714edaa -
add tokenizer
34b26cd -
add model
193ce1e
-
add model
b15f94a -
add model
b91d7f6 -
add model
7bf0cef -
add model
bf9be3f -
add model
bac42c3 -
add model
f9fc962 -
add model
6ee520f -
add model
3e9eac5
-
add model
b1828b3 -
add model
1c861b3 -
add model
68c2288 -
add model
1f7cd1a -
add model
426bffa -
add model
d2d3094 -
add model
b2768b8 -
add model
2650dce -
add model
dbab925 -
add model
0e360cc -
add model
7fc7bb1 -
add model
ffa9812 -
add model
0680c83 -
add model
ec0d11f -
add model
6b94646 -
add model
3b5d804 -
add model
e4fea43
-
add model
e1b1953 -
add model
6f98bca -
add model
4542a09 -
add model
a494fc5 -
add model
137e17a -
add model
8ddd178 -
add model
7906658 -
add model
3246bcc -
add model
1e944fd -
add model
bfdf29a -
add model
d75d9af -
add model
9c212df -
add model
088a8aa -
add model
f041bf4 -
add model
f102994 -
add model
8f79f8f -
add model
1abed9f