Skip to main content
Browse Models

NousResearch

Nous Hermes 13b

Released

2023-06-03

Family

Llama 2

Type

Fine-Tuned Model

Downloads

External Download

You are about to open a link to an external source. Verify the URL before continuing.

Download

4-bit GGUF (Q4_K_M)

GGUF · nous-hermes-13b.Q4_K_M.gguf

5-bit GGUF (Q5_K_M)

GGUF · nous-hermes-13b.Q5_K_M.gguf

6-bit GGUF (Q6_K)

GGUF · nous-hermes-13b.Q6_K.gguf

8-bit GGUF (Q8_0)

GGUF · nous-hermes-13b.Q8_0.gguf

Ollama Model (q4_K_M)

Ollama

Model Report

Overview

Nous Hermes 13B is a large language model developed by Nous Research, designed to perform a wide spectrum of natural language processing tasks. It is a fine-tuned variant of Meta AI's Llama 13B model, with enhancements in instruction-following and general language ability. The model was partially curated and fine-tuned by Teknium and Karan4D, with additional contributions from Redmond AI in providing computational resources. The development of Nous Hermes 13B aligns with ongoing efforts to broaden public access to capable open-source language models for research and other non-commercial purposes.

Technical Characteristics and Architecture

At its core, Nous Hermes 13B utilizes the Llama 13B architecture, which is notable for its balance of capability and efficiency. The model was fine-tuned on a context window of 2,000 tokens, enhancing its ability to sustain longer and more coherent responses compared to its predecessor. Released initially in the FP16 precision format, additional quantized versions—such as GGML and GPTQ 4-bit—are planned to optimize model deployment and accessibility. The architecture and training processes for Nous Hermes 13B emphasize robust instruction compliance, minimal hallucination rates, and the exclusion of restrictive moderation systems found in closed-source models such as those from OpenAI.

Training Data and Methodology

The fine-tuning of Nous Hermes 13B drew upon a diverse and extensive dataset of more than 300,000 instructions. The majority of this data was composed of synthetic outputs generated by GPT-4, contributing to the overall quality of instruction-following tasks. Key sources included the GPTeacher dataset (covering general tasks, roleplay, and code instructions), the CodeAlpaca dataset, Evol_Instruct Uncensored, GPT4-LLM, and Unnatural Instructions. Additionally, the dataset incorporated specialized content from Camel-AI's STEM-focused resources and Airoboros' GPT-4 dataset. The training procedure was conducted over a span of more than 50 hours utilizing advanced infrastructure, specifically an 8x A100 80GB DGX platform. These efforts yielded a model designed to generate accurate, contextually relevant, and creative outputs across a broad array of instructions and domains.

Benchmark Performance and Evaluation

Nous Hermes 13B has achieved competitive results on a range of academic NLP benchmarks. In evaluations using the ARC-challenge (ARC-c), ARC-easy (ARC-e), BoolQ, HellaSwag, OpenBookQA, PIQA, and Winogrande datasets, the model demonstrated strong performance in both accuracy and normalized scoring. Notably, Nous Hermes 13B demonstrated leading performance on benchmarks such as ARC-c, ARC-e, HellaSwag, and OpenBookQA, when compared with entries in the GPT4All benchmarking suite. For instance, it recorded an accuracy of 0.4915 on ARC-c and 0.7769 on ARC-e, aligning it closely with, and in some cases exceeding, several contemporaneous open models in these tasks.

Applications and Use Cases

Nous Hermes 13B is designed to excel across a variety of NLP applications. Its capacities span creative text generation, complex instruction following, coding assistance, and contextual dialogue. The model's design also supports multi-turn dialogue systems, making it well-suited for implementation in both research and entertainment chatbot scenarios. Illustrative applications include its integration in conversational and role-playing bots, as demonstrated by available open-source repositories.

Prompting Format and Usage

The model follows the Alpaca prompt format, facilitating a standardized approach to instruction input and response output. A typical prompt consists of an "Instruction" heading, with the optional inclusion of an "Input" field for supplementary context, followed by the "Response." This structure is compatible with widely-adopted prompting conventions and ensures consistency across development environments. Examples and templates for interaction using this format can be found in community repositories and in technical documentation released by model contributors.

Collaborators and Development

The creation of Nous Hermes 13B was a collaborative project involving Teknium, Karan4D, Nous Research, and computational support from Redmond AI. Further contributions were made by Huemin Art and key dataset authors, including nlpxucan, jondurbin, and organizations like Camel-AI and Microsoft. The development team also benefited from community support in debugging and performance optimization, reflecting the open and participatory ethos behind much of contemporary open-source AI research.

Limitations and Licensing

Details regarding specific model limitations and license terms for Nous Hermes 13B are not explicitly delineated in publicly available releases. Users are advised to consult the official Hugging Face model page and accompanying documentation for the most current information on permissible uses and deployment restrictions.

About Llama 2: The Llama 2 family, developed by Meta, comprises large language models ranging from 7 billion to 70 billion parameters, trained on 40% more data than their predecessors and featuring a doubled context length of 4,096 tokens.

More in the Llama 2 Family

Meta /

Llama 2 7B

7 billion parameter version of the 2nd iteration in Meta's Llama series of open source models.
codellama /

CodeLlama 7B

Fine-tuned version of Llama 7b, with training data optimized for code generation and completion tasks.
lmsys /

Vicuna 7B

Llama 7B fine-tuned on 125k GPT-4 conversations, with strong performance in chatbot and instruction following use-cases.
PygmalionAI /

Pygmalion 2 7B

Llama 7B fine-tuned for conversation, roleplaying, and storywriting.
openchat /

OpenChat 3.5 7B

Llama 2 7B fine-tuned using the C-RLFT strategy, with performance surpassing GPT 3.5 on some benchmarks.
Xwin-LM /

Xwin LM 7B

Llama 2 7B fine-tune using numerous emerging techniques including SFT, RM, and RLHF, achieving top results on AlpacaEval.
Meta /

Llama 2 13B

13 billion parameter version of the 2nd iteration in Meta's Llama series of open source models.
Meta /

CodeLlama 13B

Fine-tuned version of Llama 13b, with training data optimized for code generation and completion tasks.
lmsys /

Vicuna 13B

Llama 13B fine-tuned on 125k GPT-4 conversations, with strong performance in chatbot and instruction following use-cases.
Gryphe /

MythoMax L2

An improved variant of MythoMix (MythoLogic-L2 and Huginn merge) using an experimental tensor-type merge technique. Originally a merge of multiple popular Llama 2 fine-tunes, including Hermes, Chronos, and Airoboros. Very popular for rich descriptions, storywriting, and roleplay.
WizardLM /

WizardLM 13B

Llama 2 13B model fine-tuned to follow complex instructions using the WizardLM training methodology.
PygmalionAI /

Pygmalion 2 13B

Llama 13B fine-tuned for conversation, roleplaying, and storywriting.
PygmalionAI /

Mythalion 13B

Merge of two popular fine-tunes: Pygmalion and Mythomax L2, resulting in a model that is good at roleplaying and instruction-following.
Xwin-LM /

Xwin LM 13B

Llama 2 13B fine-tune using numerous emerging techniques including SFT, RM, and RLHF, achieving top results on AlpacaEval.
Meta /

CodeLlama 34B

Fine-tuned version of unreleased Llama 2 34b, with training data optimized for code generation and completion tasks.
Meta /

Llama 2 70B

70 billion parameter version of the 2nd iteration in Meta's Llama series of open source models.
Meta /

CodeLlama 70B

Fine-tuned version of Llama 70b, with training data optimized for code generation and completion tasks.
Xwin-LM /

Xwin 70B

Llama 2 70B fine-tune using numerous emerging techniques including SFT, RM, and RLHF, achieving top results on AlpacaEval.
WizardLM /

WizardLM 70B

Llama 2 70B model fine-tuned to follow complex instructions using the WizardLM training methodology.
NousResearch /

Nous Hermes Llama 2 70B

Llama 2 70B fine-tuned on over 300k curated GPT-4 outputs.