Skip to main content
QUICK REVIEW

[Paper Review] Hermes 3 Technical Report

Ryan Teknium, Jeffrey Quesnelle|arXiv (Cornell University)|Aug 15, 2024
Topic ModelingComputer Science6 citations
TL;DR

Hermes 3 is a neutrally-aligned generalist instruct and tool-use model family (8B, 70B, 405B) built from Llama 3.1, achieving state-of-the-art open-weight performance on multiple public benchmarks and enabling interpretable multi-step reasoning and tool use.

ABSTRACT

Instruct (or "chat") tuned models have become the primary way in which most people interact with large language models. As opposed to "base" or "foundation" models, instruct-tuned models are optimized to respond to imperative statements. We present Hermes 3, a neutrally-aligned generalist instruct and tool use model with strong reasoning and creative abilities. Its largest version, Hermes 3 405B, achieves state of the art performance among open weight models on several public benchmarks.

Motivation & Objective

  • Develop a neutrally-aligned instruct and tool-use language model family based on open weights.
  • Demonstrate strong multi-turn reasoning, roleplaying, and code-generation capabilities.
  • Enable agentic behaviors through tool use and retrieval-augmented generation (RAG).
  • Scale across model sizes (8B, 70B, 405B) with efficient training strategies and evaluation on public benchmarks.

Proposed method

  • Fine-tune Llama 3.1 base models (8B, 70B, 405B) for instruction-following and system-prompt alignment.
  • Curate a diverse dataset (~390M tokens; 270M output/120M input) spanning general instructions, domain data, math, coding, and agentic tasks; apply rigorous filtering.
  • Train with supervised fine-tuning (SFT) followed by direct preference optimization (DPO) for larger models using LoRA adapters to reduce memory footprint.
  • Utilize efficient sample packing (Flash Attention) and long context windows (128K) to maximize training efficiency.
  • Incorporate agentic features (XML, scratchpads, inner monologue, Mermaid diagrams) and Hermes Function Calling for tool use and retrieval-based data integration.

Experimental results

Research questions

  • RQ1Can an open-weight LLM be tuned to perform instruct and chat tasks with neutral alignment and robust tool use?
  • RQ2What training data composition and scaling are required to achieve state-of-the-art performance on public benchmarks for open models?
  • RQ3How do agentic capabilities (scratchpads, planning, tool use) affect interpretability and multi-step problem solving?
  • RQ4What is the impact of direct preference optimization (DPO) versus pure supervised fine-tuning (SFT) across model sizes?
  • RQ5How does Hermes 3 perform on standard benchmarks compared to other open and closed models?

Key findings

  • Hermes 3 achieves state-of-the-art performance among open-weight models on multiple public benchmarks, especially in larger variants.
  • The 128K context window enables coherent multi-turn conversations and robust roleplaying across diverse personas.
  • Agentic features (structured output with XML, scratchpads, inner monologue, diagrams, and tool use) improve interpretability and complex task handling.
  • DPO provides modest gains for small models but gains are smaller for larger models, with SFT checkpoints often retained for the largest sizes.
  • A diverse, curated data mix (General Instructions, Domain Expert, Coding, Math, and Agentic/RAG content) underpins strong downstream performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.