Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
trl
roleplay
conversational
Merge
mergekit
chat
Instructions to use N-Bot-Int/OpenElla-NovelWriter-Charol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use N-Bot-Int/OpenElla-NovelWriter-Charol with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="N-Bot-Int/OpenElla-NovelWriter-Charol") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("N-Bot-Int/OpenElla-NovelWriter-Charol") model = AutoModelForCausalLM.from_pretrained("N-Bot-Int/OpenElla-NovelWriter-Charol", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use N-Bot-Int/OpenElla-NovelWriter-Charol with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "N-Bot-Int/OpenElla-NovelWriter-Charol" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "N-Bot-Int/OpenElla-NovelWriter-Charol", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/N-Bot-Int/OpenElla-NovelWriter-Charol
- SGLang
How to use N-Bot-Int/OpenElla-NovelWriter-Charol 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 "N-Bot-Int/OpenElla-NovelWriter-Charol" \ --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": "N-Bot-Int/OpenElla-NovelWriter-Charol", "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 "N-Bot-Int/OpenElla-NovelWriter-Charol" \ --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": "N-Bot-Int/OpenElla-NovelWriter-Charol", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use N-Bot-Int/OpenElla-NovelWriter-Charol with Docker Model Runner:
docker model run hf.co/N-Bot-Int/OpenElla-NovelWriter-Charol
Update README.md
Browse files
README.md
CHANGED
|
@@ -138,7 +138,19 @@ scrap it entirely and release **CHAROL** as-is!
|
|
| 138 |
## GOD MODDING REDUCTION TECHNIQUES -
|
| 139 |
1. the model is still very much known to god mod, however thanks to our pal @EvilBobTHEALMIGHTY who tested the model; We've concluded that the following setting should
|
| 140 |
be enabled as adviced(depends if you want to change it or modify it! We're always open for tips!)
|
| 141 |
-
- set the **DRY MULT.** on both sillytavern or koboldCPP to **0.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
|
| 143 |
**DO YOU HAVE ANY SUGGESTIONS? FEEL FREE TO MAKE A COMMUNITY TAB OVER YONDER AND WE'LL HAPPILY REPLY!**
|
| 144 |
|
|
|
|
| 138 |
## GOD MODDING REDUCTION TECHNIQUES -
|
| 139 |
1. the model is still very much known to god mod, however thanks to our pal @EvilBobTHEALMIGHTY who tested the model; We've concluded that the following setting should
|
| 140 |
be enabled as adviced(depends if you want to change it or modify it! We're always open for tips!)
|
| 141 |
+
- set the **DRY MULT.** on both sillytavern or koboldCPP to **0.2** to prevent Extreme god modding, as stated below
|
| 142 |
+
- Set DRY multiplier to 0.2. This is the setting that actually stops the model
|
| 143 |
+
from writing your character's actions for you and gets you real turn-taking.
|
| 144 |
+
- Don't push DRY much past 0.2 expecting "less controlling" behavior — it
|
| 145 |
+
reduces the model grabbing other characters, but makes it MORE willing to
|
| 146 |
+
quietly invent details or fast-talk past a question instead of waiting for
|
| 147 |
+
your answer. You'll get fewer hijacked NPCs and more fabricated outcomes.
|
| 148 |
+
- If a scene has an open question (a count, a form, a name) that's gone
|
| 149 |
+
unanswered for a few turns, expect the model to get impatient and force
|
| 150 |
+
a beat on its own — answer or close loops promptly if you want to stay
|
| 151 |
+
in control of pacing.
|
| 152 |
+
|
| 153 |
+
*Credit to @EvilBobTHEALMIGHTY for this findings!*
|
| 154 |
|
| 155 |
**DO YOU HAVE ANY SUGGESTIONS? FEEL FREE TO MAKE A COMMUNITY TAB OVER YONDER AND WE'LL HAPPILY REPLY!**
|
| 156 |
|