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
b33b518 -
add model
24b4eb5 -
add model
4c8451e -
Update config.json
929c4ff -
add model
a79e9b2 -
add model
9a6b9fa -
add model
857a8b1 -
add model
29ee5d5
-
add model
7d8f704 -
add model
3cd81ee -
add model
bc85c67 -
add model
22db373 -
add model
9e3f934 -
add model
fc33eae -
add model
44289d6 -
add model
ba682ee -
add model
add1967
-
add model
d4a588b -
add model
b458fbc -
add model
6a64509 -
add model
008e14d -
add model
2e6c90b -
add model
0a88987 -
add model
3164174 -
add model
0ff30d5 -
add model
02cfe3f -
add model
0bf1602
-
add model
bec9dd9 -
add model
b19c734 -
add model
4be290a -
add model
114c523 -
add model
83c12dd -
add model
288dd4c -
add model
e19711a -
add model
960368e -
add model
bae5152 -
add model
54de84d -
add model
c6266fe
-
add model
f4a6eeb -
add model
3d846e2 -
add model
ace6d5a -
add model
24b2914 -
add model
f75db18 -
add model
d981b38 -
add model
c6bd3ea -
add model
00d6bb8 -
add model
c9ca383
-
add model
67c5db1 -
add model
60db190 -
add model
41d2028