Model reference · open weights
Nous-Hermes-2-Mixtral-8x-DPO is an open-weight language model from NousResearch, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Nous Hermes 2 - Mixtral 8x7B - DPO Model description Nous Hermes 2 Mixtral 8x7B DPO is the new flagship Nous Research model trained over the Mixtral 8x7B MoE LLM. The model was trained on over 1,000,000 entries of primarily GPT-4 generated data, as well as other high quality data from open datasets across the AI landscape, achieving state of the art performance on a variety of tasks. This is the SFT + DPO version of Mixtral Hermes 2, we have also released an SFT only version, for people to find which works best for them, which can be found here: https://huggingface.co/NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT We are grateful to Together.ai for sponsoring our compute during the many experiments both training Mixtral and working on DPO! Table of Contents 1. Example Outputs 2. Benchmark Results - GPT4All - AGIEval - BigBench - Comparison to Mixtral-Instruct 3. Prompt Format 4. Inference Example Code 5. Quantized Models Example Outputs Writing Code for Data Visualization Writing Cyberpunk Psychedelic Poems Performing Backtranslation to Create Prompts from Input Text Benchmark Results Nous-Hermes 2 on Mixtral 8x7B is a major improvement across the board on the benchmarks below compared to the base Mixtral model, and is the first model to beat the flagship Mixtral Finetune by MistralAI. GPT4All: Average: 75.70 AGIEval: Average: 46.05 BigBench: Average: 49.70 Benchmark Comparison Charts GPT4All AGI-Eval BigBench Reasoning Test Comparison to Mixtral Instruct: Our benchmarks show gains in many benchmarks against Mixtral Instruct v0.1, on average, beating the flagship Mixtral model. Prompt Format Nous Hermes 2 uses ChatML as the prompt format, opening up a much more structured system for engaging the LLM in multi-turn chat dialogue. System prompts allow steerability and interesting new ways to interact with an LLM, guiding rules, roles, and stylistic choices of the model. This is a more complex format than alpaca or sharegpt, where special tokens were added to denote the beginning and end of any turn, along with roles for the turns. This format enables OpenAI endpoint compatability, and people familiar with ChatGPT API will be familiar with the format, as it is the same
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | NousResearch |
|---|---|
| Type | Language models |
| Parameters (lead) | 46.7B |
| Context | 32k tokens |
| Variants | 1 |
| Runs with | transformers |
| Based on | mistralai/Mixtral-8x7B-v0.1 |
| Released | 2024-01-11 |
| Popularity | 22k downloads / month |
| Likes | 459 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| Nous-Hermes-2-Mixtral-8x7B-DPO | 46.7B | BF16 | ~107.4 GB | — | Weights ↗ |
Using it via the API
Once AxForge deploys nous-hermes-2-mixtral-8x-dpo for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (nous-hermes-2-mixtral-8x-dpo below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"nous-hermes-2-mixtral-8x-dpo","messages":[{"role":"user","content":"Hello"}]}'
Details
Languages
Trained / evaluated on
Tags
Licence
Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗