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 README.md
863fa5d -
Update README.md
676239d -
add model
8fdc93c -
Update README.md
d763605 -
add model
7fe2255 -
add model
b19e6cc -
add model
82a3255 -
add model
5dd44a1 -
add model
1ef66c7 -
add model
56e2ba4 -
add model
c5de41a -
add model
1aa17f8 -
add model
5438fdb -
add model
aac8733 -
add model
93d1f9a -
add model
4cc3b0a
-
add model
d11f65b -
add model
c157b46 -
add model
df91d14 -
add model
73e918b -
add model
33800d4 -
add model
c97a73b -
add model
9c7605a -
add model
a577017 -
add model
aacd8af -
add model
b13bd5b -
add model
4adb397 -
add model
791a64c -
add model
9bf18d0 -
add model
b7410b1 -
add model
48706ef -
add model
539fe89 -
add model
2818730 -
add model
8133ada -
add model
ff6dccc -
add model
430e9c6 -
add model
5d0be3a -
add model
7f2bc45 -
add model
8d44c4e -
add model
f03be44
-
add model
b1ece02 -
add model
13fa35f -
add model
87ea3e6 -
add model
2504d9b -
add model
1d51d45 -
add model
db35e7b -
add model
753659e -
add model
001dbb3 -
add model
5a0e5fa -
add model
2e9add4