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
236ee79 -
add model
7388c75 -
add model
3f15c95 -
add model
b8c46e0 -
add model
1084c7f -
add model
fbb15ef -
add model
876c66d -
add model
5ca18c9 -
add model
930d17e -
add model
9437b70 -
add model
419e073 -
add model
f570f9e -
add model
f883f5e -
add model
a40695b -
add model
369671a -
add model
e6662ea -
add model
5b1997c -
add model
c6b1653 -
add model
0c6a54c -
add model
fbd7327
-
add model
e356b2c -
add model
5bb0c19 -
add model
74fb77f -
add model
7492249 -
add model
769b2bf -
add model
3158600 -
add model
b21bf8d -
add model
7232ad0 -
add model
598484e -
add model
609c5ab -
add model
a56ae02 -
add model
57e2995 -
add model
8358f60 -
add model
48565bf -
add model
8229345 -
add model
7f554a4 -
add model
597f255 -
add model
6a6a8c2 -
add model
8056c69
-
add model
1c84826 -
add model
5d690bf -
add model
e2f9d40 -
add model
dea6c1c -
add model
f5c2bb2 -
add model
d3b3354 -
Update README.md
ba127b6 -
add model
ecb4d0d -
Merge branch 'main' of https://huggingface.co/deepparag/DumBot into main
613da80 -
add model
8fe7f6d -
Update README.md
3a914ba