Instructions to use maywell/PiVoT-0.1-Starling-LM-RP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maywell/PiVoT-0.1-Starling-LM-RP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="maywell/PiVoT-0.1-Starling-LM-RP")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("maywell/PiVoT-0.1-Starling-LM-RP") model = AutoModelForCausalLM.from_pretrained("maywell/PiVoT-0.1-Starling-LM-RP") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use maywell/PiVoT-0.1-Starling-LM-RP with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maywell/PiVoT-0.1-Starling-LM-RP" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maywell/PiVoT-0.1-Starling-LM-RP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/maywell/PiVoT-0.1-Starling-LM-RP
- SGLang
How to use maywell/PiVoT-0.1-Starling-LM-RP 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 "maywell/PiVoT-0.1-Starling-LM-RP" \ --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": "maywell/PiVoT-0.1-Starling-LM-RP", "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 "maywell/PiVoT-0.1-Starling-LM-RP" \ --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": "maywell/PiVoT-0.1-Starling-LM-RP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use maywell/PiVoT-0.1-Starling-LM-RP with Docker Model Runner:
docker model run hf.co/maywell/PiVoT-0.1-Starling-LM-RP
PiVoT-0.1-Starling-LM-RP
Model Details
Description
PiVoT-0.1-Starling-LM-RP is RP finetuned model based on Starling-LM-alpha. Using Synatra-RP dataset.
Prompt template: OpenChat
GPT4 Correct User: Hello<|end_of_turn|>GPT4 Correct Assistant:
Follow me on twitter: https://twitter.com/stablefluffy
Consider Support me making these model alone: https://www.buymeacoffee.com/mwell or with Runpod Credit Gift 💕
Contact me on Telegram: https://t.me/AlzarTakkarsen
- Downloads last month
- 741
