/ Модель

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

Контекст
32 768 токенов
Параметры
405 млн
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-0.5B-Instruct
Библиотека
transformers
Опубликована
7 окт 2026

sofia-chat-distilled-v0.1

Генерация текстаТекст → текст

Экспериментальная компактная англоязычная модель для генерации ответов на технические вопросы, созданная дистилляцией Qwen2.5-0.5B-Instruct.

343скачиваний за 30 дней0лайковвеса обновлены8 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

В подключённых источниках результатов для этой модели пока нет.

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

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

Sofia Chat Distilled v0.1 — экспериментальный англоязычный технический помощник от Rootcastle Engineering & Innovation, полученный обрезкой и дистилляцией Qwen2.5-0.5B-Instruct. Это плотная авторегрессионная модель семейства Qwen2 с 18 слоями и примерно 404,5 млн параметров; она сохраняет эмбеддинги и токенизатор исходной модели. Модель предназначена для диалоговой генерации ответов на технические вопросы по инженерии, обработке сигналов, Python, машинному обучению и проверяемым ядрам. Репозиторий использует Transformers и формат safetensors; заявленная длина контекста — 32 768 токенов, но обучение проводилось на коротких последовательностях длиной 192 токена, что не подтверждает качество на длинном контексте.

Модель обучалась на небольшом наборе из 192 английских запросов и ответов с дистилляцией распределений учителя и дополнительной целью выравнивания представлений. В README отмечены фактические ошибки и неточные определения; оценки на узком тестовом наборе не являются независимой проверкой фактичности, навыков программирования или безопасности. Модель следует считать экспериментом воспроизводимого обучения, а не надёжным техническим консультантом. Лицензия — Apache-2.0; веса и токенизатор Qwen сохраняют требования атрибуции исходной лицензии.

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

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

Ограничения

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

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

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

Открыть на Hugging Face

Sofia Chat Distilled v0.1

An experimental English technical assistant built by pruning and distilling Qwen2.5-0.5B-Instruct. Selected teacher blocks initialize an 18-layer student. The student retains the teacher's embeddings and tokenizer. LoRA learns from teacher output distributions and a product-rotation kernel alignment objective; the selected adapter is merged into standard Transformers weights.

Developed by Rootcastle Engineering & Innovation. Source and reproducible training.

This model inherits Qwen pretraining. It is not a foundation model pretrained from random initialization, and the narrow pilot dataset does not establish general language or engineering competence.

Observed quality limitation: held-out generations contain factual errors and imprecise definitions. For example, a test answer incorrectly describes a Python list as a one-dimensional array. This checkpoint is a reproducible distillation experiment, not a reliable technical adviser. Inspect the complete published test_generations.json.

Data and objective

192 original English prompts cover engineering, signal processing, Python, ML and verifiable-kernel concepts. Each of 48 topics has an original concise reference answer shared across four prompt styles. The teacher supplies token probabilities and representation targets on those reference sequences. Entire topic families are assigned to train/validation/test partitions, with 160/16/16 prompt examples. Validation selects the adapter checkpoint; test topics are reserved for reporting. References were written with AI assistance for this release and have not undergone external expert review.

Training uses assistant-token hard cross-entropy, temperature-scaled KL over teacher top-64 tokens plus an aggregated tail bucket, and a kernel alignment penalty. The latter compares fixed four-dimensional sketches of response hidden states against eight teacher landmarks chosen only from training samples. It is an engineering extension inspired by Quantum Artificial Intelligence with Verifiable Kernels; the manuscript does not prove a language-model benefit for this extension.

Teacher revision: 7ae557604adf67be50417f59c2c2f167def9a775. Default run: 18 selected layers, rank-16 LoRA, four epochs, learning rate 0.0002, sequence length 192, seed 42. Two architecture candidates, 12 and 18 layers, used the same training budget. The 18-layer model was selected by lower validation reference cross-entropy. Exact configuration and measured metrics accompany the checkpoint.

Evaluation

MeasurementPruned baselineDistilled checkpoint
Validation reference perplexity6,635.5267.96
Test reference perplexity10,327.2184.14
Test product-kernel alignment MSE0.2022230.018879

Teacher reference test perplexity is approximately 67.27. The student has 404,558,464 parameters, compared with 494,032,768 in the teacher: 18.11% fewer parameters. 6,598,656 LoRA parameters were optimized during 640 steps. The full merged FP16 safetensors file is approximately 809 MB. The best checkpoint is epoch 4, selected using validation loss.

metrics.json reports response cross-entropy, perplexity and kernel-alignment MSE for the pruned baseline and the selected distilled model. test_generations.json exposes actual held-out reference and student answers. Token likelihood on this narrow reference bank is not an independent factuality, coding or safety benchmark. No broad quality advantage or quantum advantage is claimed.

Use

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

repo = "rootcastleengineering/sofia-chat-distilled-v0.1"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, use_safetensors=True)
messages = [
    {"role": "system", "content": "You are Sofia, a concise English technical assistant."},
    {"role": "user", "content": "Explain why synthetic fault data require field validation."},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt")
with torch.inference_mode():
    output = model.generate(**inputs, max_new_tokens=128, do_sample=False,
                            pad_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(output[0, inputs.input_ids.shape[-1]:], skip_special_tokens=True))

Limitations and attribution

Small original reference corpus, one training seed, no independent expert answer verification and no broad benchmark. Answers may be false, repetitive or incomplete. Pruning can reduce general language quality. The trained context was short; upstream positional configuration is not proof of long-context competence. Kernel alignment is an explicit classical regularizer, not a quantum language-model architecture. Neither model performs machinery control.

Apache-2.0; Qwen weights and tokenizer remain subject to their upstream Apache-2.0 attribution. See LICENSE and NOTICE. Final weights use safetensors, with SHA-256 digests and pinned upstream provenance.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей