Instructions to use aframson/RDPDLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aframson/RDPDLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aframson/RDPDLM", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("aframson/RDPDLM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use aframson/RDPDLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aframson/RDPDLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aframson/RDPDLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/aframson/RDPDLM
- SGLang
How to use aframson/RDPDLM 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 "aframson/RDPDLM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aframson/RDPDLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "aframson/RDPDLM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aframson/RDPDLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use aframson/RDPDLM with Docker Model Runner:
docker model run hf.co/aframson/RDPDLM
Commit History
-
jbk
572ca7b -
,mjbj
c57e4b5 -
mkjbkj
345e4ef -
kjbk
f31c538 -
jhvj
3934b2b -
jhvj
8d3c77c -
did
7c8752b -
khjbk
b940ca4 -
kjb
38c86a9 -
job
2e3bd71 -
gvy
cf31bc7
-
wq
99a7249 -
aasdwe
cfdbc0a -
wer
dc72b75 -
23e4
48840d8 -
aqewe
a3d0dbb -
gbf
a3ffccc -
asa
7772942 -
weqe
8024d3d -
qw
712a8f5 -
qw
0b976b2 -
wq
6f82bc6 -
wew
b6b3d26
-
qwqw
79dfc9f -
ewe
d6eb381 -
wew
d856d65
-
ser
31dc182 -
het
5376a3f -
initial commit
862b11f