Instructions to use DevidCipher/RPG-Neuro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DevidCipher/RPG-Neuro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DevidCipher/RPG-Neuro")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DevidCipher/RPG-Neuro") model = AutoModelForCausalLM.from_pretrained("DevidCipher/RPG-Neuro", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DevidCipher/RPG-Neuro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DevidCipher/RPG-Neuro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DevidCipher/RPG-Neuro", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DevidCipher/RPG-Neuro
- SGLang
How to use DevidCipher/RPG-Neuro 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 "DevidCipher/RPG-Neuro" \ --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": "DevidCipher/RPG-Neuro", "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 "DevidCipher/RPG-Neuro" \ --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": "DevidCipher/RPG-Neuro", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DevidCipher/RPG-Neuro with Docker Model Runner:
docker model run hf.co/DevidCipher/RPG-Neuro
Commit History
-
Update README.md
Verified signature36ce922 -
Update README.md
Verified signature873a7d9 -
Update README.md
Verified signaturec0ab27b
-
Rename dewd/checkpoint-1101/config.json to config.json
Verified signature2ab306b -
Rename dewd/checkpoint-1101/generation_config.json to generation_config.json
Verified signature96e6577 -
Rename dewd/checkpoint-1101/model.safetensors to model.safetensors
Verified signature88c1ac0 -
Rename dewd/checkpoint-1101/optimizer.pt to optimizer.pt
Verified signaturef009a7e -
Rename dewd/checkpoint-1101/rng_state.pth to rng_state.pth
Verified signature6c41a8b -
Rename dewd/checkpoint-1101/scheduler.pt to scheduler.pt
Verified signature05b753b -
Rename dewd/checkpoint-1101/special_tokens_map.json to special_tokens_map.json
Verified signature387f51b -
Rename dewd/checkpoint-1101/tokenizer.json to tokenizer.json
Verified signaturee10c28a -
Rename dewd/checkpoint-1101/tokenizer_config.json to tokenizer_config.json
Verified signature2de4d4b -
Rename dewd/checkpoint-1101/trainer_state.json to trainer_state.json
Verified signature7d2e71a -
Rename dewd/checkpoint-1101/training_args.bin to training_args.bin
Verified signature7754dcf -
Rename dewd/checkpoint-1101/vocab.json to vocab.json
Verified signatureb250a1a -
Rename dewd/checkpoint-1101/merges.txt to merges.txt
Verified signature14416f6 -
Update README.md
Verified signature083fc36 -
Update README.md
Verified signaturef1f9f69 -
Update README.md
Verified signature3a73251 -
Update README.md
Verified signatureafd83b5 -
Upload 13 files
Verified signature95282d3 -
Update README.md
Verified signatured9448af -
initial commit
Verified signatureea42084