Instructions to use Endevor/InfinityRP-v1-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Endevor/InfinityRP-v1-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Endevor/InfinityRP-v1-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Endevor/InfinityRP-v1-7B") model = AutoModelForCausalLM.from_pretrained("Endevor/InfinityRP-v1-7B") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Endevor/InfinityRP-v1-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Endevor/InfinityRP-v1-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Endevor/InfinityRP-v1-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Endevor/InfinityRP-v1-7B
- SGLang
How to use Endevor/InfinityRP-v1-7B 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 "Endevor/InfinityRP-v1-7B" \ --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": "Endevor/InfinityRP-v1-7B", "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 "Endevor/InfinityRP-v1-7B" \ --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": "Endevor/InfinityRP-v1-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Endevor/InfinityRP-v1-7B with Docker Model Runner:
docker model run hf.co/Endevor/InfinityRP-v1-7B
This is an experimental model I currently use. It's far from great as I'm still working on it, but I leave it here for people to try if interested in this format. This model was basically made to stop some upsetting hallucinations, so {{char}} mostly and occasionally will wait {{user}} response instead of responding itself or deciding for {{user}}, also, my primary idea was to create a cozy model that thinks.*
Inspired by lemonilia/Limamono-Mistral-7B-v0.50
Style details:
- Quotes are used for character dialogs.
"Hey, Anon... What do you think about my style?"
- Asterisks can be used for narration, but it's optional, it's recommended to use default novel format.
*Her cheeks blush slightly, she tries to hide.*
- Character thoughts are wrapped with ` marks. This may often spontaneously occur.
My heart skips a beat hearing him call me pretty!
If you want thoughts to appear more often, just add something like this to your system prompt: "{{char}} internal thoughts are wrapped with ` marks."
- Accepted response lengths: tiny, short, medium, long, huge
- For example: ### Response: (length = medium)
Note: Apparently humongous, extreme and unlimited may not work at moment. Not fully tested.
Prompt format:
Extended Alpaca, as always.
"You are now in roleplay chat mode. Engage in an endless chat with {{user}}. Always wait {{user}} turn, next actions and responses."
Example:
Abstinence note: Very sorry for my delay answering some questions, I was out on a travel without access to my main computer, now that I'm back in the confort of my home, I will try to get things on track. First, I will test few things to get updated with the newest AIs and merges before I do any release. Anyway, really happy to see this model is some ppl, got a lot of useful feedback from here and Reddit as well, thank you all.
- Downloads last month
- 16

