/ Модель

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

Лицензия
MIT
Архитектура
netflix_qwen3_inspired · dense
Опубликована
17 ноя 2026

Netflix-SLM-V2

Генерация текстаТекст → текст3 профессии
317скачиваний за 30 дней1лайквеса обновлены19 ноя 2026

Описание модели

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

Компактная диалоговая модель для ответов на вопросы и уточнений о фильмах и сериалах Netflix.

Netflix SLM V2 — компактная диалоговая языковая модель, созданная в рамках студенческого проекта для ответов на вопросы о фильмах и сериалах Netflix. Это не официальная модель Netflix и не чекпойнт с предобученными весами Qwen3: модель обучена для проекта, а совместимое с Qwen3 представление использовано для экспорта в GGUF и работы с Ollama.

Модель представляет собой плотный декодерный Transformer с 40,38 млн параметров и 12 слоями. Она предназначена для вопросов по каталожным сведениям, уточняющих вопросов в диалоге и переключения между названиями. Данные проекта включали 1 500 записей каталога и около 29 986 подготовленных диалоговых примеров. Репозиторий содержит веса в GGUF F32; в метаданных также указан PyTorch. Основной язык карточки — английский.

Для выбранной версии исправления переключения названий авторы сообщают результаты небольших проектных проверок, но они не являются независимым масштабным бенчмарком и не гарантируют точность ответов. Модель может ошибаться в фактах, а качество за пределами узкого каталожного сценария не подтверждено. Лицензия — MIT.

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

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

Ограничения

Проверки автора небольшие, проектные и частично синтетические; они не подтверждают точность на независимом масштабном наборе. Возможны фактические ошибки, а пригодность для тем вне каталога Netflix не установлена.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Netflix SLM V2 — 40.38M-Parameter Conversational Movie & TV Model

Final trained model: 40,384,512 parameters (40.38 million). A compact, student-trained, Qwen3-inspired Transformer for Netflix catalog question answering, conversational follow-ups, and title-aware responses. This is not an official Netflix model or an official pretrained Qwen3 checkpoint.

Project links

1. Overview

This academic project develops and deploys a small, domain-specific language model to answer questions about Netflix movies and television series. Its development stages include metadata preparation, conversational question–answer generation, training a smaller baseline model, training and improving a 40.38M-parameter model, targeted title-switch fine-tuning, evaluation, conversion to GGUF, and local Ollama chat demonstration.

Final artifact in this repository: netflix-slm-40m-title-switch-f32.gguf (~162 MB, F32 GGUF)
Registered local Ollama name: netflix-slm-40m-title-switch-candidate
Training hardware for improved model: NVIDIA RTX 4060 Laptop GPU (8 GB VRAM)

2. Final model architecture — exact specifications

ComponentFinal model specification
Total trainable model parameters40,384,512 (40.38M)
ArchitectureStudent-trained, Qwen3-inspired decoder-only Transformer
Transformer layers12
Hidden/model dimension512
Query attention heads8
Attention head dimension64
Key-value attention heads2
Query heads per KV head4
Feed-forward/intermediate dimension1,536
Vocabulary size8,192
Fine-tuning context window512 tokens
Attention mechanismGrouped Query Attention (GQA)
Position encodingRotary Position Embeddings (RoPE), theta = 10,000
NormalizationRMSNorm, epsilon = 1e-6
Feed-forward activationSwiGLU / SiLU gating
Attention dropout in Qwen3-compatible export0.0
Embedding/output projectionTied embeddings in the Qwen3-compatible conversion
Exported deployment artifactF32 GGUF, approximately 162 MB

The architecture was trained for this project and later mapped into a Qwen3-compatible representation for GGUF/Ollama interoperability. Compatibility with the Qwen3 file architecture does not mean the model uses pretrained official Qwen3 weights. The earlier ~14.16M-parameter baseline is a separate model.

3. Dataset and preparation

The selected local Netflix CSV contained 1,500 catalog records with fields including title, type, director, cast, country, release year, maturity rating, and duration. These were used in a project that produced 29,986 conversational examples. The original Kaggle source is linked above; do not confuse the selected 1,500-row CSV with the size of larger public Netflix catalog datasets.

Prepared dataset splitExamples
Training23,988
Validation2,999
Test2,999
Total29,986

Processed files hosted within the Hugging Face model repository:

  • data/train.jsonl
  • data/validation.jsonl
  • data/test.jsonl
  • dialogues_v2_data/dialogues_train.jsonl
  • dialogues_v2_data/dialogues_validation.jsonl

The additional dialogue datasets support multi-turn questions, follow-ups, and switches between Netflix titles. The raw CSV is not redistributed in this GitHub repository. The exact lineage of every generated example should be verified before making stronger claims about catalog coverage or independence.

4. Training workflow and verified hyperparameters

The uploaded Python scripts document several stages. Values described as defaults below are command-line defaults, not evidence that every stage ran for exactly that many updates. The selected final title-switch repair checkpoint was saved at step 300.

SettingLong-chat 512-token stageDialogue V2 stageTitle-switch repair
Scripttrain_netflix_longchat_512.pytrain_netflix_dialogues_v2.pynetflix_title_switch_repair.py
Starting checkpointOriginal 40.38M step-2750Original 40.38M step-2750Dialogue V2 best.pt
Default update steps3002,500400; selected checkpoint step 300
Microbatch size444
Gradient accumulation244
Effective sequences per update81616
OptimizerAdamWAdamWAdamW
Initial learning rate5e-53e-52e-5
Adam betas(0.9, 0.95)(0.9, 0.95)(0.9, 0.95)
Weight decay0.050.050.05
LR scheduleWarm-up + cosine decay to 1e-5Warm-up + cosine decay to 5e-6Cosine decay, 25% floor
Gradient clipping1.01.01.0
Mixed precisionCUDA BF16 autocastCUDA BF16 autocastCUDA BF16 autocast
Context length512 tokens512 tokens512 tokens
Default random seed202611192026111920261119

The Dialogue V2 stage uses a default 80% long-dialogue sampling ratio, mixing newly prepared multi-turn conversations with original training examples. The repair script defaults to 3,000 fact-grounded title-switch training dialogues and 80 validation dialogues, generated from existing question–answer facts rather than external invented movie facts.

Pipeline at a glance

  1. Inspect the selected Netflix metadata and prepare structured Q&A records.
  2. Train the earlier ~14.16M baseline model and prepare the larger 40.38M architecture.
  3. Train the 40.38M model and retain its checkpoint.
  4. Generate longer dialogues and fine-tune for follow-up questions and title tracking.
  5. Fine-tune a separate title-switch repair candidate, selecting the step-300 checkpoint.
  6. Map model tensors to Qwen3-compatible weights and export to GGUF.
  7. Register the final GGUF in Ollama with the custom role-token chat template used during training.
  8. Compare answers and evaluate model behavior on small, project-specific tests.

5. Evaluation results — small project-specific tests

Selected title-switch repair checkpoint (step 300):

MetricResult
Generated-response title identification (24 answers)95.8%
Generated-response factual correctness (24 answers)87.5%
Joint title-and-fact correctness (24 answers)87.5%
Validation loss0.3934

Separate local Ollama test (10 questions): 10/10 correct title tracking; 9/10 factually correct answers.
Additional manual Ollama demonstration: 5/5 satisfactory responses on five questions.

These are small, project-specific, partly synthetic tests, not a large independently sampled benchmark or a guarantee of general accuracy. One observed error was an incorrect release year for Cobra Kai. More extensive evaluation against an independent, manually verified test set is necessary before making stronger performance claims.

Baseline context: The earlier ~14.16M model was separately reported with a validation loss of 1.7522 at 1,000 training steps. This number is not directly comparable to the final repair-stage validation loss without matching evaluation datasets and procedures.

6. Source-code inventory (GitHub)

StageUploaded scripts
Dataset preparationpreprocess_dataset.py, prepare_netflix_longchat.py, prepare_netflix_longchat_export.py, prepare_netflix_dialogues_v2.py
Trainingtrain_to_3000.py, train_netflix_longchat_512.py, train_netflix_dialogues_v2.py, netflix_title_switch_repair.py
Checks and evaluationcheck_longchat_512.py, evaluate_netflix_dialogues_v2.py, smoke_test.py
Model conversionconvert_to_qwen3_longchat.py
Ollama deployment and fixesdeploy_netflix_slm_40m_v2.py, deploy_netflix_title_switch_candidate.py, fix_netflix_ollama_template.py
Earlier baselineSLM_Training_Part1.ipynb, modeling_netflix_slm.py, inference.py, config.json, tokenizer.json, chat_template.jinja

The older source files are retained for historical context on GitHub and in the original Hugging Face model repository. The config.json and modeling_netflix_slm.py at the root of this GitHub repository describe the earlier model, not the final 40.38M GGUF artifact. For final weights, use the GGUF file in this Hugging Face repository. The root-level config.json and pytorch_model.bin belong to the earlier approximately 14.16M model, not the final 40.38M model.

7. Ollama deployment and live chat

The final GGUF is hosted on Hugging Face. Download netflix-slm-40m-title-switch-f32.gguf to a local folder, and create a file named Modelfile in that same folder:

FROM ./netflix-slm-40m-title-switch-f32.gguf
TEMPLATE """{{ if .System }}<|system|>
{{ .System }}<|end|>
{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|user|>
{{ .Content }}<|end|>
{{ else if eq .Role "assistant" }}<|assistant|>
{{ .Content }}<|eos|>
{{ end }}{{ end }}<|assistant|>
"""
SYSTEM "You answer Netflix catalog questions concisely and factually. Follow the latest title mentioned in the conversation."
PARAMETER num_ctx 512
PARAMETER num_predict 96
PARAMETER temperature 0.15
PARAMETER top_k 20
PARAMETER top_p 0.85
PARAMETER repeat_penalty 1.08
PARAMETER stop "<|eos|>"
PARAMETER stop "<|end|>"
PARAMETER stop "<|user|>"
PARAMETER stop "<|assistant|>"

Run in a terminal from the folder containing both files:

ollama create netflix-slm-40m-title-switch -f Modelfile
ollama run netflix-slm-40m-title-switch

On the original development laptop, the already registered model is named netflix-slm-40m-title-switch-candidate and can be used in Ollama Desktop. The template above is important because the model was trained using custom <|system|>, <|user|>, <|assistant|>, <|end|>, and <|eos|> markers, not the stock Qwen3 chat format.

Example prompts:

  • Who directed Army of the Dead?
  • How long is Army of the Dead?
  • Is Cobra Kai a movie or a TV series?
  • Now switch to Grey's Anatomy. Is it a TV show?

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей