Skip to main content
Browse Models

Sao10K

Llama 3.1 8B Stheno v3.4

Released

2024-08-19

Family

Llama 3

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 · Llama-3.1-8B-Stheno-v3.4-Q4_K_M.gguf

5-bit GGUF (Q5_K_M)

GGUF · Llama-3.1-8B-Stheno-v3.4-Q5_K_M.gguf

6-bit GGUF (Q6_K)

GGUF · Llama-3.1-8B-Stheno-v3.4-Q6_K.gguf

8-bit GGUF (Q8_0)

GGUF · Llama-3.1-8B-Stheno-v3.4-Q8_0.gguf

16-bit GGUF (F16)

GGUF · Llama-3.1-8B-Stheno-v3.4-f16.gguf

Model Report

Overview

Llama 3.1 8B Stheno v3.4 is a generative AI language model developed through a multi-stage fine-tuning process on the Llama 3.1 architecture. Designed for improved multi-turn dialogue, creative writing, and roleplaying, this model incorporates custom dataset curation and implemented instruction tuning techniques. Its development was facilitated by computational resources provided by Backyard.ai, emphasizing iterative dataset refinement for performance and alignment. Details on the model and its public documentation can be found at the Hugging Face model repository.

Digital illustration of an anime-style character; model output

Figure 1. Example of visual output featured on the Llama 3.1 8B Stheno v3.4 model card, illustrating creative capability.

Model Architecture and Technical Features

Llama 3.1 8B Stheno v3.4 is constructed upon the Llama 3.1 architecture and contains approximately 8.03 billion parameters, employing the Brain Floating Point 16 (BF16) tensor format for efficiency and performance. This model targets several key capabilities including maintaining coherency in multi-turn conversations, adherence to system prompts, enhanced reasoning, and improved spatial awareness. According to statements from the developer, direct tuning on the Llama 3.1 base model was observed not to perform as strongly as with other foundational models such as Nemo, particularly noting the Llama 3.1 instruct tuning as "overbaked" due to post-supervised preference optimization, which impacted downstream model behavior. These technical observations are documented in the model’s release notes.

Training Strategy and Dataset Composition

The fine-tuning of the Stheno v3.4 model utilized a two-stage process. The first stage involved instruction-based, multi-turn dialogue fine-tuning using carefully curated conversational datasets. This was followed by a second stage focusing on creative writing and roleplay, leveraging both original and synthetic data sources. The dataset strategy for Stheno v3.4 included substantial modifications compared to prior Stheno versions. Notably, single-turn instruction data was replaced with richer prompt-response pairs, including those generated by Claude 3.5 Sonnet and Claude 3 Opus, with an emphasis on diversity and adherence to high-quality standards.

To further enhance dialogue depth and contextual consistency, multi-turn conversational datasets were introduced, distinct from equivalents used in models like Magnum. Roleplay capability was strengthened through the integration of a 55% increase in roleplaying examples derived from the Sonnet3.5-Charcard-Roleplay set, which underwent additional filtering and cleaning procedures. Creative writing coverage was extended by 40% with new examples. Additional subsets were introduced to target system prompt adherence, broad reasoning skills, and spatial reasoning, with all entries subjected to comprehensive filtering for error reduction and dataset quality. The final training mixture included both human- and Claude-generated content, striking a balance between authenticity and scalability.

Bar graph showing turn distribution in the training set

Figure 2

The dataset design and turn structure are informed by the ShareGPT format, where a single "turn" refers to a paired human-model interaction. In this system, "4 turns" would include one system-level prompt followed by four exchanges each from both the human and the model, as visualized in the provided dataset charts.

Histogram illustrating token length distribution in training data

Figure 3. Histogram of token counts in the training dataset, showing two main peaks at lower and mid-range token counts, based on the Llama 3 tokenizer.

Prompting, Usage, and Performance Insights

For optimal prompting, the model is designed to work with the Llama 3 Instruct formatting, and the Euryale 2.1 Preset has been identified as effective for engaging diverse model behaviors. The developer recommends using a temperature of 1.4 and a minimum probability (min_p) of 0.2, but encourages users to adjust these settings according to specific task requirements, as the model exhibits distinct characteristics compared to previous Stheno iterations. Over its first month of availability, Llama 3.1 8B Stheno v3.4 was downloaded 214 times, as reflected in publicly available release statistics.

Technical visualizations accompanying the release include bar graphs of turn distributions and histograms of token lengths. These provide further context for understanding the conversational depth and complexity emphasized during the model's fine-tuning, as demonstrated above.

Limitations and Observations

The developer's documentation notes shortcomings encountered with the Llama 3.1 instruct base, describing its output as less consistent than expected, potentially attributable to post-supervised fine-tuning preference optimization (AHP) applied after the primary supervised fine-tuning (SFT) phase. This may affect the model’s responsiveness in instruction-following and conversational flows compared to alternative foundation models such as Nemo. The iterative process of dataset curation and model evaluation remains ongoing, with the possibility of future refinements, particularly around error filtering and dialogue balance.

Datasets and External Resources

A key dataset utilized in the fine-tuning process is the Gryphe/Sonnet3.5-Charcard-Roleplay collection, which contributed to the model’s roleplay training examples after being subjected to additional filtering and cleaning steps. Visual assets used in the project’s model card are sourced from Pixiv Artwork.

Further Reading and Helpful Links

About Llama 3: The Llama 3 family of AI models, developed by Meta, represents a significant advancement in open-source large language models, offering parameter sizes up to 405 billion and supporting context windows of up to 128k tokens. Llama 3.1, 3.2, and 3.3 optimize this performance through distillation learning and improved multimodal capabilities.

More in the Llama 3 Family

Meta /

Llama 3 8B

Large language model with 8 billion parameters featuring transformer architecture, trained on 15 trillion tokens for text generation and coding tasks.
Meta /

Llama 3 70B

State-of-the-art 70B foundation model from Meta, trained on over 15 trillion tokens.
Meta /

Llama 3.1 8B

Llama 3.1 is a new state-of-the-art large language model from Meta.
Deepseek AI /

DeepSeek R1 Distill Llama 8B

Distilled 8B-parameter model optimized for mathematical reasoning and code generation through knowledge transfer from larger reinforcement learning-trained teacher models.
Deep Cogito /

Cogito V1 Preview 8B

A Llama 3.1-based model trained with Iterated Distillation and Amplification, featuring dual reasoning modes and tool calling capabilities.
Meta /

Llama 3.1 70B

The Llama 3.1 series of open models rivals top closed models in performance. It was trained on over 15 trillion tokens using over 16K H100 GPUs. These models display state-of-the-art capabilities in general knowledge, steerability, math, tool use, and translation.
Deep Cogito /

Cogito V1 Preview 70B

A 70B parameter instruction-tuned model based on Llama 3.1 architecture featuring dual reasoning modes and multilingual tool-calling capabilities.
Meta /

Llama 3.2 3B

The next iteration in the Llama series of open models. This lightweight model was designed to run on edge devices, even mobile.
Cognitive Computations /

Dolphin 3.0 Llama3.2 3B

An uncensored instruct-tuned 3.2B parameter language model that grants users full control over system prompts and behavioral alignment.
Deep Cogito /

Cogito V1 Preview 3B

A 3B-parameter multilingual instruction-tuned model based on Llama 3.2 that supports tool-calling and features dual operational modes for standard and extended reasoning.
Meta /

Llama 3.3 70B

Llama 3.3 is a text-only 70B instruction-tuned model that provides enhanced performance relative to Llama 3.1 70B and to Llama 3.2 90B when used for text-only applications. For some applications, Llama 3.3 70B approaches the performance of Llama 3.1 405B.
Sao10K /

L3.3 70B Euryale v2.3

A 70-billion parameter language model fine-tuned from Llama 3.3 for creative writing and role-playing applications using custom datasets.
Sao10K /

70B L3.3 Cirrus x1

A 70.6-billion parameter language model finetuned from Llama 3.3 using extended training and checkpoint merging techniques for improved output stability.
TheDrummer /

Anubis 70B v1

A 70.6-billion parameter text generation model fine-tuned from Llama 3.3, designed for creative writing and role-playing applications.
TheDrummer /

Anubis 70B v1.1

A 70.6 billion parameter Llama 3.3-based model fine-tuned for character consistency and dynamic dialogue in creative text generation applications.
LatitudeGames /

Wayfarer Large 70B Llama 3.3

A 70.6-billion parameter language model fine-tuned for adventure role-play scenarios, emphasizing conflict, tension, and narrative stakes in second-person storytelling.
Deepseek AI /

DeepSeek R1 Distill Llama 70B

A 70B parameter dense language model distilled from DeepSeek-R1 using Llama 3.3 architecture, optimized for mathematical and coding reasoning tasks.