/ Модель

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

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

DroidSenior-7B

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

Дообученная на примерах разработки под Android модель генерирует и исправляет код на Kotlin для актуального стека Android.

409скачиваний за 30 дней1лайквеса обновлены19 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DroidSenior-7B — дообученная модель для разработки под Android на Kotlin, созданная автором репозитория на основе Qwen/Qwen2.5-Coder-7B-Instruct. Она предназначена для генерации и исправления кода с использованием современного стабильного стека Android: Jetpack Compose, Coroutines/Flow, Hilt и Room. Модель содержит 7,1 млрд параметров, использует архитектуру Qwen2 и поддерживает контекст до 32 768 токенов.

В обучении применялись примеры с проверкой компилятором и многошаговым исправлением, а также оптимизация GRPO. В описанной оценке первая генерация компилировалась в 67,9% случаев; выбор лучшего из восьми вариантов с компилятором повышал этот показатель до 94,6%. Эти цифры получены на 368 отложенных вопросах, выбранных так, что на них мог ответить учитель 32B; поведение во время выполнения не проверялось. Модель рассчитана прежде всего на английский и турецкий языки, отвечает на языке запроса. Лицензия — Apache-2.0.

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

  • генерация экранов Android-приложений на Jetpack Compose
  • написание Kotlin-кода с Coroutines и Flow
  • создание слоя хранения данных с Room
  • подготовка зависимостей и компонентов с Hilt
  • исправление Kotlin-кода по сообщениям компилятора
  • ответы на вопросы об архитектуре Android-приложений

Ограничения

Сгенерированный код может содержать ошибки и требует проверки; компиляция не гарантирует корректную работу во время выполнения. Модель обучена на версиях Android-инструментов, доступных на 8 ноября 2026 года, и может не знать более поздние изменения библиотек.

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

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

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

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

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

Открыть на Hugging Face

DroidSenior-7B

Current release: v5 (2026-11). Earlier versions are archived as DroidSenior-7B-v1 to -v4. An Android and Kotlin coding model for the current stable Android stack. Unlike v1 to v4, it is trained in a single pass from the clean base model Qwen/Qwen2.5-Coder-7B-Instruct. Part of its synthetic training data was produced with earlier DroidSenior checkpoints and local open-weight teacher models.

Target versions

Trained and evaluated against the stable versions available on 2026-11-08: AGP 9.5.1 (built-in Kotlin), Kotlin 2.4.21, Gradle 9.9.0, compileSdk 37, Compose BOM 2026.09.00. The full list is in droidsenior_versions.json. Library releases after this date are unknown to the model.

System prompt

You are DroidSenior, a staff-level Android engineer. Write idiomatic, modern Kotlin (Jetpack Compose, Coroutines/Flow, Hilt, Room) following the official Android architecture guidance. Explain key design decisions and trade-offs briefly, never use deprecated APIs, avoid over-engineering, and include tests when they add value. Answer in the user's language.

Using compiler feedback and API hints

  • Repair: send the compiler output back as the next user message, starting with Checking your answer against the project found: followed by one - line per error. The model was trained on such multi-turn repairs.
  • API hints: append a block that starts with Relevant APIs in this project (current stable versions): and lists - import <path> lines for the APIs named in the question. import_map.json maps API names to import paths.

Training

  • SFT: 7614 unique examples (verified 1854, ornith 735, teacher_2026 1851, build 295, mined 1042, teacher_new 128, repair 1627, repair_new 82), LoRA r=64, alpha=128. New 2026 examples were weighted 2x and multi-turn repair examples 3x. In repair examples the loss covers only the corrected final answer.
  • GRPO: 150 steps, 8 sampled answers per question, rewarded by the compiler (1.0 clean compile, 0.75 with deprecation warnings, 0.30 only after auto-import, 0.05 code that does not compile, 0 no code).
  • Teacher for new data: Qwen/Qwen2.5-Coder-32B-Instruct, run locally in 4-bit. Every target answer compiled against the target versions with complete imports and no deprecation warnings. Evaluation questions were removed from training data.

Evaluation

Greedy decoding, same system prompt, 368 held-out questions that were never used for training. Rates show 95% bootstrap intervals.

modelpass@1pass@1 and current+ auto import+ 2 repair roundspass@1 with API hintsKotlin HumanEval
v446.2% (41%-51%)45.7% (40%-51%)54.6% (49%-60%)56.2% (51%-61%)n/a72.7% (66%-80%)
sft64.4% (60%-69%)62.8% (58%-68%)69.6% (65%-74%)79.3% (75%-83%)66.3% (61%-71%)67.7% (60%-75%)
grpo67.9% (63%-73%)66.6% (61%-71%)72.0% (67%-77%)82.3% (79%-86%)67.9% (63%-73%)67.1% (60%-75%)
  • pass@1: the first answer compiles with :app:compileDebugKotlin in a template project. Room annotation processing (KSP) is checked; Hilt processing is not. Runtime behavior is not tested.
  • Current: also no deprecation warnings, no outdated library versions, and migration questions are actually migrated.
  • Auto import, repair and API hints are system results with tools around the model.
  • v4 was re-scored in the same environment from its stored answers.
  • Most common main problem in answers that failed the check: unresolved_reference 53, type_mismatch 16, other 15, wrong_arguments 11, room_ksp 8, suspend_context 5.

Q4_K_M GGUF: 4.68 GB, CPU speed 7.9 tokens/s on Colab.

Best-of-8 with signed repair (system result)

A single greedy answer compiles for 67.9% of the evaluation questions. With the compiler and the library sources around the model, 96.7% of the questions end with code that compiles. This is the recommended way to use the model when a Kotlin compiler is available:

  1. Sample 8 answers with the system prompt above, temperature 0.8, top_p 0.95.
  2. Compile them and keep one that compiles without errors.
  3. If none compiles, take the answer with the fewest errors and send a repair message. Repeat up to 3 rounds.

Repair message with facts from the library sources:

Checking your answer against the project found:
- <one line per compiler error>

Facts from the source code of the project's libraries (trust them over your memory):
- <declaration from the library sources for a name in the errors>

Fix every problem and return the complete corrected answer with all code in ```kotlin blocks, including all imports.

The facts block is optional. The facts are public declarations (signatures) read from the source jars of the target library versions in droidsenior_versions.json, chosen for the names that appear in the compiler errors.

setup (same 368 questions)compiles
single greedy answer (pass@1)67.9% (63%-73%)
greedy + up to 2 repair rounds with library facts85.1% (81%-89%)
best of 8 samples94.6% (92%-97%)
best of 8 samples + up to 3 repair rounds with library facts96.7% (95%-98%)

Sampled pass@k at temperature 0.8: k=1 62.2%, k=2 79.5%, k=4 89.6%, k=8 94.6%.

  • "Compiles" means :app:compileDebugKotlin succeeds in the template project (Room KSP checked). The deprecation and version checks of the "current" column and runtime behavior are not part of this number.
  • The 368 questions are those a 32B teacher model could answer correctly, so harder real-world questions will score lower.
  • The system needs about 8 times the generation of a single answer plus compiler runs.
  • A further GRPO round on top of v5 (250 steps) changed no metric significantly and was not released.

Limitations

  • Generated code can still be wrong. Review it before use.
  • These are self-run tests, not an official Android Bench result.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей