Skip to main content
Browse Models

PygmalionAI

Pygmalion 2 13B

Released

2023-09-05

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 · pygmalion-2-13b.Q4_K_M.gguf

5-bit GGUF (Q5_K_M)

GGUF · pygmalion-2-13b.Q5_K_M.gguf

6-bit GGUF (Q6_K)

GGUF · pygmalion-2-13b.Q6_K.gguf

8-bit GGUF (Q8_0)

GGUF · pygmalion-2-13b.Q8_0.gguf

Model Report

Overview

Pygmalion-2 13B is an instruction-tuned generative language model tailored for conversational and fictional text generation. Developed by PygmalionAI and previously referred to as Metharme, the model builds upon Meta AI's Llama-2 13B architecture and has been refined to optimize interactions involving storytelling, roleplay, and nuanced dialogue. Public documentation and release notes reveal that Pygmalion-2 13B is primarily intended for entertainment and creative writing applications, supported by a mix of proprietary and community-driven training datasets.

Model Architecture and Technical Foundations

At its core, Pygmalion-2 13B leverages the Llama-2 13B architecture by Meta AI, benefiting from the transformer-based design and 13 billion parameters configured in a BF16 tensor format. The model keeps the underlying architectural specifications consistent with Llama-2 but undergoes further supervised fine-tuning to adapt its behavior for structured instruction compliance, conversational ease, and fictional engagement. The development and training of Pygmalion-2 13B were sponsored by SpicyChat, with model weights and training artifacts distributed under the Llama-2 license terms, permitting both research and broader commercial or non-commercial usage.

Training Data and Methodology

The model’s conversational and creative strengths derive from its training corpus, which is a composite of conventional instruction data, roleplay interactions, fictional narratives, and dialogues containing synthetically generated instructions. Notably, Pygmalion-2 13B incorporates the proprietary PIPPA dataset curated by PygmalionAI, in addition to various public instruction datasets and roleplaying forum data. Supervised fine-tuning techniques were employed to instill the model with a strong aptitude for following prompts and imitating role-specific dialogue, enhancing its ability to produce contextually appropriate and imaginative responses in diverse creative writing scenarios.

Prompting Format and Usage

Effective interaction with Pygmalion-2 13B is achieved through a structured prompting scheme that uses explicit tokens to demarcate roles and conversation turns. According to official documentation on model interaction, prompts are constructed using <|system|>, <|user|>, and <|model|> tokens. The <|system|> token serves to inject narrative context, behavioral instructions, or constraints on response characteristics, such as specifying "Enter RP mode. Pretend to be {{char}} whose persona follows: {{persona}}. You shall reply to the user while staying in character, and generate long responses." The <|user|> and <|model|> tokens, respectively, designate the user's input and the model's subsequent response. This scheme supports multi-turn dialogues through token chaining, enabling persistent role identity and scenario consistency across conversation sessions.

Applications and Intended Use

Pygmalion-2 13B was conceived with a primary focus on entertainment-oriented creative writing, including character-driven roleplay, collaborative storytelling, and dialogue simulation. Its conversational tuning and narrative orientation make it well-suited for applications in text-based fiction, gamified chat interactions, and as an auxiliary tool for authors in developing character dialogue or imaginative scenarios. The model’s design intentionally emphasizes adaptability to natural language instructions, facilitating intuitive prompt guidance across various creative contexts.

Limitations and Ethical Considerations

The training and fine-tuning pipeline for Pygmalion-2 13B did not incorporate specialized safety alignment or adversarial filtering for harmful content. Both the original Llama-2 base model and the subsequent fine-tuned variant have been exposed to training data containing language and themes that may be inappropriate or offensive in general contexts. As a result, the model is prone to generating outputs that are factually unreliable, potentially misleading, or socially undesirable from a non-fiction prompt. The developers explicitly restrict its application scope to fictional entertainment and do not recommend its deployment in environments or tasks demanding factual precision or safety-sensitive dialogue handling. Ongoing use beyond creative entertainment may require additional risk and output management controls.

Model Family and Licensing

Pygmalion-2 13B is part of a broader family of models curated by PygmalionAI, which includes additional fine-tuned, merged, and quantized variants designed for specific performance or accessibility needs. Consistent with the open-model ethos, Pygmalion-2 13B is available under terms compatible with the Llama-2 license, allowing both research experimentation and wider deployment across sectors, provided license compliance.

External Resources

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.
NousResearch /

Nous Hermes 13b

Llama 13b fine-tuned on over 300k curated GPT-4 outputs, known long high-quality outputs.
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 /

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.