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 tokenizer
462c87d -
add tokenizer
2c814fb -
add tokenizer
26119fe -
add tokenizer
33cedad
-
add tokenizer
1802258 -
add tokenizer
d4cb14e -
add tokenizer
87b3669 -
add tokenizer
c7e7996 -
add tokenizer
2294f7e -
add tokenizer
d64e861
-
add tokenizer
b06413f -
add tokenizer
7164bec
-
add tokenizer
cebc723 -
add tokenizer
7a0e1f0
-
add tokenizer
ccc3470 -
add tokenizer
07a71bf -
add tokenizer
14aa686 -
add tokenizer
7be7aad -
add tokenizer
968879f -
add tokenizer
63f7260 -
add tokenizer
d88fe56 -
add tokenizer
1fab90e -
add tokenizer
33e47db -
add tokenizer
42e6faa
-
add tokenizer
1439dfd -
add tokenizer
d76353b -
add tokenizer
704340f
-
add tokenizer
36d9e7a -
add tokenizer
9e2e429 -
add tokenizer
b6bc87d -
add tokenizer
d329831
-
add tokenizer
43cda80 -
add tokenizer
34b26cd
-
add tokenizer
085976a -
add tokenizer
be1e5ae -
v16
f82e4a1 -
add tokenizer
e183f83
-
add tokenizer
9fec38b
-
v13
f0cfe78 -
v12
290596a
-
v9
34eb2a6
-
v8
905e8d2
-
v3
df48a8f -
v2
9494a52
-
added models
1e3ab40