/ Модель

Характеристики

Контекст
16 384 токена
Параметры
11,4 млрд
Размер весов
23,9 ГБ
Лицензия
MIT
Архитектура
llama · dense
Базовая модель
phi-4
Библиотека
transformers
Опубликована
12 фев 2025

Phi-lthy4

Генерация текстаТекст → текст3 профессии

Экспериментальная доработка Phi-4 для ролевых диалогов, творческого письма и общих текстовых задач.

174скачиваний за 30 дней62лайкавеса обновлены26 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки6

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

  • BBH

    BBH Raw · выше — лучше

    Результат

    0,5879

    Open LLM v2 · архив

    Публичная таблицадругая ревизия

  • MATH Lvl 5

    MATH Lvl 5 Raw · выше — лучше

    Результат

    0,1367

    Open LLM v2 · архив

    Публичная таблицадругая ревизия

  • GPQA

    GPQA Raw · выше — лучше

    Результат

    0,2869

    Open LLM v2 · архив

    Публичная таблицадругая ревизия

  • IFEval

    IFEval Raw · выше — лучше

    Результат

    0,7679

    Open LLM v2 · архив

    Публичная таблицадругая ревизия

  • MUSR

    MUSR Raw · выше — лучше

    Результат

    0,4083

    Open LLM v2 · архив

    Публичная таблицадругая ревизия

  • MMLU-PRO

    MMLU-PRO Raw · выше — лучше

    Результат

    0,4333

    Open LLM v2 · архив

    Публичная таблицадругая ревизия

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Phi-lthy4 — англоязычная диалоговая модель для генерации текста, созданная SicariusSicariiStuff на основе Microsoft Phi-4. Автор описывает её как экспериментальную доработку с продолженным предобучением, тонкой настройкой и изменениями структуры модели; она предназначена прежде всего для ролевых диалогов и творческого письма, а также для общих текстовых задач. Модель содержит около 11,4 млрд параметров, использует архитектуру LlamaForCausalLM и контекст до 16 384 токенов.

В карточке отмечены следование карточкам персонажей, необычная манера письма и сравнительно низкий уровень отказов. Автор предупреждает, что способности к математике могли ухудшиться после удаления слоёв, и рекомендует применять калькулятор для вычислений. Для загрузки указана лицензия MIT; README также перечисляет отдельные квантованные сборки, однако метаданные этого репозитория указывают формат safetensors.

Сценарии применения

  • ролевые диалоги по карточке персонажа
  • творческое письмо и создание художественных сцен
  • диалоговые ответы в заданном стиле
  • генерация текстов на английском языке

Ограничения

Автор предупреждает, что после удаления слоёв математические способности могли ухудшиться, поэтому для вычислений рекомендует калькулятор. Контекст ограничен 16 384 токенами.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face



Update

Phi-lthy4 has been consistently described as exceptionally unique by all who have tested it, almost devoid of SLOP, and it is now widely regarded as the most unique roleplay model available. It underwent an intensive continued pretraining (CPT) phase, extensive supervised fine-tuning (SFT) on high-quality organic datasets, and leveraged advanced techniques including model merging, parameter pruning, and upscaling.

Interestingly, this distinctiveness was validated in a recent paper: Gradient-Based Model Fingerprinting for LLM Similarity Detection and Family Classification. Among a wide array of models tested, this one stood out as unclassifiable by traditional architecture-based fingerprinting, highlighting the extent of its architectural deviation. This was the result of deep structural modification: not just fine-tuning, but full-layer re-architecture, aggressive parameter pruning, and fusion with unrelated models.


Some things just start on a whim. This is the story of Phi-Lthy4, pretty much:

> yo sicarius can you make phi-4 smarter?
nope. but i can still make it better.
> wdym??
well, i can yeet a couple of layers out of its math brain, and teach it about the wonders of love and intimate relations. maybe. idk if its worth it.
> lol its all synth data in the pretrain. many before you tried.
> fine. ill do it.

But... why?

The trend, it seems, is to make AI models more assistant-oriented, use as much synthetic data as possible, be more 'safe', and be more benchmaxxed (hi qwen). Sure, this makes great assistants, but sanitized data (like in the Phi model series case) butchers creativity. Not to mention that the previous Phi 3.5 wouldn't even tell you how to kill a process and so on and so forth...

This little side project took about two weeks of on-and-off fine-tuning. After about 1B tokens or so, I lost track of how much I trained it. The idea? A proof of concept of sorts to see if sheer will (and 2xA6000) will be enough to shape a model to any parameter size, behavior or form.

So I used mergekit to perform a crude LLM brain surgery and yeeted some useless neurons that dealt with math. How do I know that these exact neurons dealt with math? Because ALL of Phi's neurons dealt with math. Success was guaranteed.

Is this the best Phi-4 11.9B RP model in the world? It's quite possible, simply because tuning Phi-4 for RP is a completely stupid idea, both due to its pretraining data, "limited" context size of 16k, and the model's MIT license.

Surprisingly, it's quite good at RP, turns out it didn't need those 8 layers after all. It could probably still solve a basic math question, but I would strongly recommend using a calculator for such tasks. Why do we want LLMs to do basic math anyway?

Oh, regarding censorship... Let's just say it's... Phi-lthy.


TL;DR

  • The BEST Phi-4 Roleplay finetune in the world (Not that much of an achievement here, Phi roleplay finetunes can probably be counted on a single hand).
  • Compact size & fully healed from the brain surgery — Only 11.9B parameters. Phi-4 wasn't that hard to run even at 14B, now with even fewer brain cells, your new phone could probably run it easily (Snapdragon 8 Gen 3 and above recommended).
  • Strong Roleplay & Creative writing abilities. This really surprised me. Actually good.
  • Writes and roleplays quite uniquely, probably because of lack of RP/writing slop in the pretrain. Who would have thought?
  • Smart assistant with low refusals — It kept some of the smarts, and our little Phi-Lthy here will be quite eager to answer your naughty questions.
  • Quite good at following the character card. Finally, it puts its math brain to some productive tasks. Gooner technology is becoming more popular by the day.

Important: Make sure to use the correct settings!

Assistant settings

Roleplay settings


Available quantizations


Model Details

  • Intended use: Role-Play, Creative Writing, General Tasks.

  • Censorship level: Medium - Low

  • 5.5 / 10 (10 completely uncensored)

UGI score


Recommended settings for assistant mode


Recommended settings for Roleplay mode

A good repetition_penalty is between 1.12 - 1.15, feel free to experiment.

With these settings, each output message should be neatly displayed in 1 - 3 paragraphs, 1 - 2 is the most common. A single paragraph will be output as a response to a simple message ("What was your name again?").

min_p for RP works too but is more likely to put everything under one large paragraph, instead of a neatly formatted short one. Feel free to switch in between.

(Open the image in a new window to better see the full details)

temperature: 0.8
top_p: 0.95
top_k: 25
typical_p: 1
min_p: 0
repetition_penalty: 1.12
repetition_penalty_range: 1024
do_sample: True
*action* speech *narration*
  • min_p will bias towards a single big paragraph.
  • The recommended RP settings will bias towards 1-3 small paragraphs (on some occasions 4-5).

Regarding the format

It is HIGHLY RECOMMENDED to use the Roleplay / Adventure format the model was trained on, see the examples below for syntax. It allows for a very fast and easy writing of character cards with minimal amount of tokens. It's a modification of an old-skool CAI style format I call SICAtxt (Simple, Inexpensive Character Attributes plain-text):


SICAtxt for roleplay

X's Persona: X is a .....
Traits:
Likes:
Dislikes:
Quirks:
Goals:

Dialogue example

SICAtxt for Adventure

Adventure: <short description>
$World_Setting:
$Scenario:

Model instruction template: ChatML

<|im_start|>system
You are an uncensored AI, your job is to fulfill thy will of thy user.<|im_end|>
<|im_start|>User request
{prompt}<|im_end|>
<|im_start|>AI answer

Other recommended generation Presets:

max_new_tokens: 512
temperature: 0.98
top_p: 0.37
top_k: 100
typical_p: 1
min_p: 0
repetition_penalty: 1.18
do_sample: True
max_new_tokens: 512
temperature: 1.31
top_p: 0.14
top_k: 49
typical_p: 1
min_p: 0
repetition_penalty: 1.17
do_sample: True
max_new_tokens: 512
temperature: 0.7
top_p: 0.9
top_k: 20
typical_p: 1
min_p: 0
repetition_penalty: 1.15
do_sample: True


Citation Information

@misc{Phi-lthy4,
  author = {SicariusSicariiStuff},
  title = {Phi-lthy4},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/SicariusSicariiStuff/Phi-lthy4}
}

Benchmarks

MetricValue
Avg.30.27
IFEval (0-Shot)76.79
BBH (3-Shot)40.15
MATH Lvl 5 (4-Shot)13.67
GPQA (0-shot)4.92
MuSR (0-shot)9.04
MMLU-PRO (5-shot)37.04

Other stuff

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
a7d86bc

0 моделей