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
47ae772 -
add tokenizer
9fec38b -
add model
87ee832
-
v15
3f7e98f
-
Update config.json
2aad53e -
Update config.json
5fb4b1e -
Update config.json
7de774f -
Update config.json
8ea6820 -
Update config.json
1306246 -
Update config.json
b0ba738 -
Update config.json
b9f2592 -
v14
bb46347 -
Update config.json
59fbcf3 -
Update config.json
ee59ad7
-
v13
ca136cf -
v13
f0cfe78 -
Update config.json
4cdcb26 -
Update config.json
0f215d1 -
Update config.json
051b7ce -
v12
290596a
-
Update config.json
488bfa9
-
Update config.json
3ad8b3c
-
v11
ea232aa -
v10
7eb534d -
v9
34eb2a6
-
v8
905e8d2
-
Update config.json
6cb1d28 -
Update config.json
f4d4af6 -
Update config.json
9407ebc -
Update config.json
221f83f -
Update config.json
ebbc782 -
Update config.json
9205cba
-
Update config.json
f11c176 -
Update config.json
c4774d5 -
Update config.json
a888388 -
Update config.json
72ffa46 -
Update config.json
e0e1ed5 -
Update config.json
b92d252 -
Update config.json
c3cd64d -
Update config.json
1393c7d -
Update config.json
9e7cf1b -
Merge branch 'main' of https://huggingface.co/deepparag/DumBot
10d364f -
v7
8b81853
-
Update config.json
0fe3aff -
Update config.json
e7dabc3 -
Update config.json
8cd706d -
v6
4b3136d -
Merge branch 'main' of https://huggingface.co/deepparag/DumBot
ec4f84b -
v6
60c1127 -
v5
e9d022e