Text Generation
Safetensors
GGUF
English
creative-writing
story-generation
nlp
generative-ai
llm
fiction
roleplay
storytelling
state-of-the-art
conversational
Instructions to use cosmichackerx/nova-novel-writer-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cosmichackerx/nova-novel-writer-v1 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cosmichackerx/nova-novel-writer-v1:Q4_K_M
Use Docker
docker model run hf.co/cosmichackerx/nova-novel-writer-v1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cosmichackerx/nova-novel-writer-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cosmichackerx/nova-novel-writer-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cosmichackerx/nova-novel-writer-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cosmichackerx/nova-novel-writer-v1:Q4_K_M
- Ollama
How to use cosmichackerx/nova-novel-writer-v1 with Ollama:
ollama run hf.co/cosmichackerx/nova-novel-writer-v1:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use cosmichackerx/nova-novel-writer-v1 with Docker Model Runner:
docker model run hf.co/cosmichackerx/nova-novel-writer-v1:Q4_K_M
- Lemonade
How to use cosmichackerx/nova-novel-writer-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cosmichackerx/nova-novel-writer-v1:Q4_K_M
Run and chat with the model
lemonade run user.nova-novel-writer-v1-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload tokenizer
Browse files- chat_template.jinja +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
chat_template.jinja
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}
|
| 2 |
+
{% if message['role'] == 'user' %}
|
| 3 |
+
{{ '<|user|>
|
| 4 |
+
' + message['content'] + eos_token }}
|
| 5 |
+
{% elif message['role'] == 'system' %}
|
| 6 |
+
{{ '<|system|>
|
| 7 |
+
' + message['content'] + eos_token }}
|
| 8 |
+
{% elif message['role'] == 'assistant' %}
|
| 9 |
+
{{ '<|assistant|>
|
| 10 |
+
' + message['content'] + eos_token }}
|
| 11 |
+
{% endif %}
|
| 12 |
+
{% if loop.last and add_generation_prompt %}
|
| 13 |
+
{{ '<|assistant|>' }}
|
| 14 |
+
{% endif %}
|
| 15 |
+
{% endfor %}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<s>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"is_local": false,
|
| 8 |
+
"local_files_only": false,
|
| 9 |
+
"model_max_length": 2048,
|
| 10 |
+
"pad_token": "</s>",
|
| 11 |
+
"padding_side": "left",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 14 |
+
"unk_token": "<unk>",
|
| 15 |
+
"use_default_system_prompt": false
|
| 16 |
+
}
|