Text Generation
Transformers
Safetensors
English
qwen3
Qwen-3-14B
instruct
finetune
reasoning
hybrid-mode
chatml
function calling
tool use
json mode
structured outputs
atropos
dataforge
long context
roleplaying
chat
conversational
text-generation-inference
Instructions to use NousResearch/Hermes-4-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NousResearch/Hermes-4-14B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NousResearch/Hermes-4-14B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("NousResearch/Hermes-4-14B") model = AutoModelForMultimodalLM.from_pretrained("NousResearch/Hermes-4-14B") 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NousResearch/Hermes-4-14B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NousResearch/Hermes-4-14B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NousResearch/Hermes-4-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NousResearch/Hermes-4-14B
- SGLang
How to use NousResearch/Hermes-4-14B 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 "NousResearch/Hermes-4-14B" \ --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": "NousResearch/Hermes-4-14B", "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 "NousResearch/Hermes-4-14B" \ --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": "NousResearch/Hermes-4-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NousResearch/Hermes-4-14B with Docker Model Runner:
docker model run hf.co/NousResearch/Hermes-4-14B
Improve model card: Add pipeline tag, paper, GitHub, and project page links (#3)
Browse files- Improve model card: Add pipeline tag, paper, GitHub, and project page links (9cb58aa83c4ed9dfabd5373441fdbf9273577ca5)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
|
|
|
| 4 |
license: apache-2.0
|
|
|
|
| 5 |
tags:
|
| 6 |
- Qwen-3-14B
|
| 7 |
- instruct
|
|
@@ -18,18 +21,14 @@ tags:
|
|
| 18 |
- long context
|
| 19 |
- roleplaying
|
| 20 |
- chat
|
| 21 |
-
base_model: Qwen/Qwen3-14B
|
| 22 |
-
library_name: transformers
|
| 23 |
widget:
|
| 24 |
- example_title: Hermes 4
|
| 25 |
messages:
|
| 26 |
- role: system
|
| 27 |
-
content:
|
| 28 |
-
You are Hermes 4, a capable, neutrally-aligned assistant. Prefer concise,
|
| 29 |
correct answers.
|
| 30 |
- role: user
|
| 31 |
-
content:
|
| 32 |
-
Explain the difference between BFS and DFS to a new CS student.
|
| 33 |
model-index:
|
| 34 |
- name: Hermes-4-Qwen-3-14B
|
| 35 |
results: []
|
|
@@ -37,14 +36,14 @@ model-index:
|
|
| 37 |
|
| 38 |
# Hermes 4 — Qwen 3 14B
|
| 39 |
|
|
|
|
|
|
|
| 40 |

|
| 41 |
|
| 42 |
## Model Description
|
| 43 |
|
| 44 |
Hermes 4 14B is a frontier, hybrid-mode **reasoning** model based on Qwen 3 14B by Nous Research that is aligned to **you**.
|
| 45 |
|
| 46 |
-
Read the Hermes 4 technical report here: <a href="https://arxiv.org/abs/2508.18255">Hermes 4 Technical Report</a>
|
| 47 |
-
|
| 48 |
Chat with Hermes in Nous Chat: https://chat.nousresearch.com
|
| 49 |
|
| 50 |
Training highlights include a newly synthesized post-training corpus emphasizing verified reasoning traces, massive improvements in math, code, STEM, logic, creativity, and format-faithful outputs, while preserving general assistant quality and broadly neutral alignment.
|
|
@@ -203,9 +202,6 @@ GGUF (Courtesy of LM Studio team!):
|
|
| 203 |
|
| 204 |
Hermes 4 is also available in larger sizes (e.g., 70B, 405B) with similar prompt formats.
|
| 205 |
|
| 206 |
-
See the Hermes 4 collection to explore them all:
|
| 207 |
-
https://huggingface.co/collections/NousResearch/hermes-4-collection-68a731bfd452e20816725728
|
| 208 |
-
|
| 209 |
# How to cite
|
| 210 |
|
| 211 |
```bibtex
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3-14B
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
license: apache-2.0
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
tags:
|
| 9 |
- Qwen-3-14B
|
| 10 |
- instruct
|
|
|
|
| 21 |
- long context
|
| 22 |
- roleplaying
|
| 23 |
- chat
|
|
|
|
|
|
|
| 24 |
widget:
|
| 25 |
- example_title: Hermes 4
|
| 26 |
messages:
|
| 27 |
- role: system
|
| 28 |
+
content: You are Hermes 4, a capable, neutrally-aligned assistant. Prefer concise,
|
|
|
|
| 29 |
correct answers.
|
| 30 |
- role: user
|
| 31 |
+
content: Explain the difference between BFS and DFS to a new CS student.
|
|
|
|
| 32 |
model-index:
|
| 33 |
- name: Hermes-4-Qwen-3-14B
|
| 34 |
results: []
|
|
|
|
| 36 |
|
| 37 |
# Hermes 4 — Qwen 3 14B
|
| 38 |
|
| 39 |
+
[\ud83d\udcda Paper (Hugging Face)](https://huggingface.co/papers/2508.18255) | [\ud83d\udcda Paper (arXiv)](https://arxiv.org/abs/2508.18255) | [\ud83c\udf10 Project Page](https://huggingface.co/collections/NousResearch/hermes-4-collection-68a731bfd452e20816725728) | [\ud83d\udcbb GitHub Repository](https://github.com/NousResearch/Hermes-4-14B)
|
| 40 |
+
|
| 41 |

|
| 42 |
|
| 43 |
## Model Description
|
| 44 |
|
| 45 |
Hermes 4 14B is a frontier, hybrid-mode **reasoning** model based on Qwen 3 14B by Nous Research that is aligned to **you**.
|
| 46 |
|
|
|
|
|
|
|
| 47 |
Chat with Hermes in Nous Chat: https://chat.nousresearch.com
|
| 48 |
|
| 49 |
Training highlights include a newly synthesized post-training corpus emphasizing verified reasoning traces, massive improvements in math, code, STEM, logic, creativity, and format-faithful outputs, while preserving general assistant quality and broadly neutral alignment.
|
|
|
|
| 202 |
|
| 203 |
Hermes 4 is also available in larger sizes (e.g., 70B, 405B) with similar prompt formats.
|
| 204 |
|
|
|
|
|
|
|
|
|
|
| 205 |
# How to cite
|
| 206 |
|
| 207 |
```bibtex
|