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
df74f84 -
add model
d1e02b9 -
add model
2f2e549 -
add model
9f7f449 -
add model
2cbd396 -
add model
162f0f9 -
add model
7cbbd39 -
add model
6fe76bc
-
add model
5a70292 -
add model
8c93a67 -
add model
d18bfcd -
add model
5bb0507 -
add model
4de2b7c -
add model
d74e646 -
add model
2a4590a -
add model
fa25350 -
add model
358116e
-
add model
3aff63a -
add model
d7f6043 -
add model
dc6abea -
add model
6b19207 -
add model
e2a7546 -
add model
914e837 -
add tokenizer
cebc723 -
add model
db9eb7d -
add tokenizer
7a0e1f0 -
add model
e7cb7d9
-
add model
de48c15 -
add model
fb68e49 -
add tokenizer
ccc3470 -
add model
2a67622 -
add tokenizer
07a71bf -
add model
6442b76 -
add tokenizer
14aa686 -
add model
0cb5474 -
add tokenizer
7be7aad -
add model
55e442c -
add tokenizer
968879f -
add model
a871b0e -
add tokenizer
63f7260 -
add model
fc37a10 -
add tokenizer
d88fe56 -
add model
0f6cca4 -
add tokenizer
1fab90e -
add model
2caf660 -
add tokenizer
33e47db -
add model
a28dc0e -
add tokenizer
42e6faa -
add model
7c6a6de -
add model
c437ef4