pitrolkun commited on
Commit
76230df
·
verified ·
1 Parent(s): d8f313f

Publish Neuroconstructor study and listening examples

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ logo.png filter=lfs diff=lfs merge=lfs -text
37
+ lopata_neuro-1.2.0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,10 +1,30 @@
1
  ---
2
- title: Neuroconstructor Study
3
- emoji: 🐢
4
- colorFrom: purple
5
- colorTo: pink
6
  sdk: static
 
7
  pinned: false
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: LOPATA Neuroconstructor
3
+ emoji: 🖥️
4
+ colorFrom: blue
5
+ colorTo: indigo
6
  sdk: static
7
+ app_file: index.html
8
  pinned: false
9
+ short_description: Hear the inputs and compare three local multimodal builds
10
  ---
11
 
12
+ # Как Нейроконструктор ЛОПАТЫ находит значок по голосу
13
+
14
+ Выберите задание на вкладке **App**. На экране четыре значка. Текст просит использовать первую или вторую запись. Послушайте обе и сравните, какую ячейку выбрали лёгкая, средняя и тяжёлая сборки при независимой работе моделей и после обучения связей между ними. На странице показаны сохранённые ответы локальных моделей.
15
+
16
+ **[ЛОПАТА на GitHub](https://github.com/PiTrolKun/LOPATA)** · [Автор](https://github.com/PiTrolKun) · [YouTube](https://youtube.com/@lopata_ai_hub) · [ВКонтакте](https://vk.ru/lopata_ai_localhub)
17
+
18
+ ## Explore the study
19
+
20
+ Pick one of the 32 tasks in the app, listen to both original synthetic clips and compare all six recorded decisions. Each model combines language, speech and vision. We kept the specialists’ weights frozen and trained the connections between them in the LOPATA desktop app.
21
+
22
+ | Six-cycle build | Independent specialists | Learned connections | Seconds per task, before → after |
23
+ | --- | ---: | ---: | ---: |
24
+ | [Light](https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-light) | 6/32 | 18/32 | 1.70 → 0.37 |
25
+ | [Medium](https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-medium) | 13/32 | 23/32 | 2.74 → 2.50 |
26
+ | [Heavy](https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-heavy) | 15/32 | 18/32 | 3.61 → 2.52 |
27
+
28
+ The ranking changed on a fresh set of 64 tasks. Medium scored 32/64, Heavy 37/64. This experiment measures four-way icon selection on synthetic inputs. See the study for how we tested transfer to new panels and voices, including the cases that got worse.
29
+
30
+ [Report and methods (RU/EN)](./STUDY.md) · [Benchmark inputs and recorded decisions](https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study/resolve/main/benchmark.zip?download=true) · [External runtime and instructions](./RUN.md)
RUN.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Запуск / Running a build
2
+
3
+ Скачайте файл `.lopatanet` из карточки выбранного размера. Модели и выученные связи упакованы вместе. Для распаковки нужно свободное место примерно под ещё одну копию файла. В ЛОПАТЕ с Нейроконструктором откройте **Эксперименты → Тесты → Нейроконструктор → Про**. Укажите картинку, текст и две записи, нажмите **«Получить ответ из файла модели»** и выберите скачанный файл. Для встроенной самопроверки есть кнопка **«Проверить готовый файл»**. Все три сборки поддерживает испытанная версия 0.9.4-dev. Для самостоятельного запуска доступны инструкции ниже.
4
+
5
+ Download the model file and the [runtime wheel](https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study/resolve/main/lopata_neuro-1.2.0-py3-none-any.whl?download=true). For a source installation use the [corresponding SDK source](https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study/resolve/main/lopata-neuro-sdk-source.zip?download=true). Allow temporary disk space for the unpacked weights. The tested stack was Python 3.12, PyTorch 2.10.0 with CUDA 12.6, Transformers 5.3.0, NumPy 2.5.3 and Pillow 11.3.0. Install an appropriate build of PyTorch for your system first.
6
+
7
+ ```console
8
+ python -m pip install ./lopata_neuro-1.2.0-py3-none-any.whl
9
+ python -m lopata_neuro.cli check --model LOPATA-trio.lopatanet
10
+ ```
11
+
12
+ **Medium and Heavy.** OCR and layout require PaddlePaddle 3.2.1, NumPy and Pillow in their own Python environment. A Windows example for PowerShell follows. The LOPATA desktop app manages this interpreter when running inside the app.
13
+
14
+ ```powershell
15
+ py -3.12 -m venv .paddle
16
+ & .\.paddle\Scripts\python.exe -m pip install paddlepaddle==3.2.1 numpy Pillow
17
+ $env:LOPATA_PADDLE_PYTHON = (Resolve-Path .\.paddle\Scripts\python.exe).Path
18
+ python -m lopata_neuro.cli check --model LOPATA-medium-6.lopatanet
19
+ ```
20
+
21
+ For Heavy use `LOPATA-heavy-6.lopatanet`. In `check`, **matched** counts decisions that match the saved answers and **correct** counts decisions that match ground truth. The package check has its own inputs. To repeat the published 32-task evaluation, unpack [benchmark.zip](https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study/resolve/main/benchmark.zip?download=true) and run the supplied script from the folder containing the extracted `benchmark` directory.
22
+
23
+ ```console
24
+ python benchmark/replay.py --model LOPATA-trio.lopatanet
25
+ python -m lopata_neuro.cli predict --model LOPATA-trio.lopatanet --image benchmark/original/audit-01.png --text "use the second word" --audio benchmark/original/111.wav benchmark/original/103.wav
26
+ ```
27
+
28
+ The example is task 6. The correct answer is top left, slot 0. The Light build chose bottom left (2), Medium chose top left (0), and Heavy chose top right (1). Use `--device cpu` to request CPU execution. Slot order is top left (0), top right (1), bottom left (2), bottom right (3).
29
+
30
+ В архиве `benchmark.zip` лежат исходные размеченные задания, две дополнительные серии, сохранённые ответы и короткий скрипт для повторения итоговой проверки. Для запуска в своей программе можно открыть любой из трёх файлов через `open_model` и передать произвольную картинку, инструкцию и две записи WAV (моно PCM 16 бит). Модель вернёт выбранную ячейку. По аудио выводится ответ классификации. Собственного голосового ответа у этих сборок нет.
31
+
32
+ ```python
33
+ from lopata_neuro import open_model
34
+
35
+ with open_model("LOPATA-trio.lopatanet") as model:
36
+ answer = model.predict("benchmark/original/audit-01.png", "use the second word",
37
+ ["benchmark/original/111.wav", "benchmark/original/103.wav"])
38
+ print(answer["slot"], answer["position"])
39
+ ```
40
+
41
+ [Light](https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-light) · [Medium](https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-medium) · [Heavy](https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-heavy) · [LOPATA on GitHub](https://github.com/PiTrolKun/LOPATA)
STUDY.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Нейроконструктор ЛОПАТЫ / The LOPATA Neuroconstructor
2
+
3
+ **Исследовательский вопрос.** Можно ли научить несколько разноплановых моделей совместно находить значок на экране и при этом передавать между CPU и GPU компактные сообщения? Наш пример связывает язык, слух и зрение. Сборки выдают номер одной из четырёх ячеек.
4
+
5
+ **Что проверяли.** На входе картинка, две синтетические записи и короткая текстовая инструкция на русском, английском или смеси языков. Текст определяет первую или вторую запись. В выбранной записи назван один из четырёх значков. Все задания размечены. В исходном режиме специалисты запускаются одновременно, а общее правило сопоставляет их независимые ответы с размеченными обучающими примерами. В режиме слияния исходные веса специалистов заморожены. У полных сборок сохраняются признаки 64 обучающих примеров и настраиваются восемь коэффициентов вклада зрительных специалистов и два коэффициента связи слуха со зрением.
6
+
7
+ Один запуск для каждого размера в режиме «Авто» настольной ЛОПАТЫ. 64 примера для обучения связей, 24 для выбора цикла, 32 для итоговой проверки. Все шесть циклов были выполнены. В лёгком файле сохранено состояние пятого цикла, в среднем и тяжёлом — первого. Для трёх сборок порядок заданий и исходные данные совпадают. На итоговой серии восемь новых экранов и двадцать новых синтетических записей. Их содержимое отличается от материала обучения и выбора цикла.
8
+
9
+ | Сборка / Build | Независимо / Independent | Слияние / Fused | Среднее время на ответ / Mean warm latency | Внутренние сообщения на запрос / Graph payload |
10
+ | --- | ---: | ---: | ---: | ---: |
11
+ | Light | 6/32 | 18/32 | 1.70 → 0.37 s | 132 B |
12
+ | Medium | 13/32 | 23/32 | 2.74 → 2.50 s | 2,144 B |
13
+ | Heavy | 15/32 | 18/32 | 3.61 → 2.52 s | 2,144 B |
14
+
15
+ Время получено на одном ПК с Intel Core i9-13900KF и NVIDIA RTX 4090 после загрузки моделей. Язык и слух работали на CPU, зрение — на GPU. У полных наборов чтение текста и структуры шло в отдельном процессе на CPU. В счётчик байтов вошли внутренние сообщения графа. Копирование исходного изображения, связь с процессом OCR и расходы драйвера в него не входят. Подготовка всех признаков и запись файла занимают значительно больше времени, чем шесть циклов настройки уже извлечённых признаков. От создания задания до готового файла прошло 3:37, 10:27 и 13:28 соответственно.
16
+
17
+ ## Почему тяжёлая сборка меняет ответы
18
+
19
+ У тяжёлой сборки вместо Qwen3-ASR-0.6B и Qwen3-VL-2B используются Qwen3-ASR-1.7B и Qwen3-VL-8B. При переходе от средней к тяжёлой сборке после слияния потерялись правильные ответы в заданиях 6, 17, 19, 21, 25 и 26. В задании 29 появился новый правильный ответ. Перестановка речевого модуля с повторной настройкой связи воспроизвела все шесть потерь. При замене лишь зрительного модуля эти шесть ответов сохранились. Это локализует эффект в обработке голосовых признаков и их связи со зрением в этом опыте. Отдельное влияние сжатия признаков до 128 чисел пока не измерено.
20
+
21
+ Добавление расшифровки выбранной запис�� к акустическому сигналу исправило три из этих шести заданий. Шаг обучения и доли сигналов выбирали по 24 примерам настройки. Ниже показаны проверки на двух новых сериях. Первая содержит 12 новых экранов и 24 новые записи, вторая — 16 экранов и 32 записи. Лёгкий набор в этих двух дополнительных опытах не испытывался.
22
+
23
+ | Сохранённые веса и способ связи / Connection | 32 исходных / Original | 48 новых / New A | 64 новых / New B |
24
+ | --- | ---: | ---: | ---: |
25
+ | Medium | 23 | 27 | 32 |
26
+ | Heavy | 18 | 24 | 37 |
27
+ | Heavy + расшифровка / selected transcript | 22 | 28 | 36 |
28
+ | Heavy, меньший шаг и слабее звук / reduced step and audio weight | 14 | 19 | 29 |
29
+ | То же с расшифровкой / plus selected transcript | 14 | 18 | 24 |
30
+
31
+ Все серии состоят из искусственных команд и четырёх позиций. Несколько заданий используют один экран или запись. Порядок профилей меняется от серии к серии. Диктовку живого человека, произвольные интерфейсы, синтез речи и работу на другом физическом ПК этот опыт не оценивал. Звук в проигрывателе — реальные входные WAV из теста. Текст под ним — дословные ответы распознавания. Выход сборки — выбранная ячейка.
32
+
33
+ ## Methods and interpretation in English
34
+
35
+ We tested whether frozen specialists from different model families could learn connections for a narrow multimodal task. A written instruction chooses one of two recordings. The selected utterance names an icon on a four-cell panel. The answer is its position. The independent baseline runs the specialists concurrently and compares their outputs against labeled training examples. In the full fused builds, language picks the recording, speech sends compact acoustic features, and eight visual signals score the four image regions. The learned link stores 64 reference examples and trains ten scalar weights.
36
+
37
+ Each size ran once in LOPATA Auto mode. The same 64 training examples, 24 validation examples and 32 held-out commands were used across sizes. Six cycles ran. Validation selected cycle 5 for Light and cycle 1 for Medium and Heavy. The original holdout used eight new images and twenty unique synthetic recordings. Mean end-to-end warm inference times and graph payloads are in the first table. Image ingestion, OCR subprocess traffic and driver transfers are outside the payload counter. The machine was an i9-13900KF with one RTX 4090. Exported Medium and Heavy reproduced all 32 previously saved fused decisions in the external runtime on that machine, including errors. Built-in package checks and task accuracy are different measurements.
38
+
39
+ Heavy lost six of Medium’s correct decisions and gained one. Swapping just the speech donor and refitting the connection reproduced the six losses on the original set. Swapping just the vision donor preserved those six answers. The experiment did not isolate the impact of feature compression. Adding the selected transcript to the stock Heavy connection recovered three of the six and scored 22/32, 28/48 and 36/64. Stock Heavy won the last comparison at 37/64. These are measurements on related synthetic panels and voices, with several commands per panel. They establish neither a universal size ranking nor a real-world dictation score. The recordings are the inputs and the transcripts come from the speech specialists. The fused network outputs one icon position.
40
+
41
+ [Try the listening examples](https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study) · [Run the packages](./RUN.md) · [LOPATA on GitHub](https://github.com/PiTrolKun/LOPATA)
app.js ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ const select = document.querySelector("#task");
3
+ const example = document.querySelector("#example");
4
+ const statusLine = document.querySelector("#status");
5
+ const languages = {
6
+ ru: { builds:["Лёгкая", "Средняя", "Тяжёлая"], positions:["сверху слева","сверху справа","снизу слева","снизу справа"], clips:["Первая запись","Вторая запись"], truth:"Правильная ячейка", selected:"выбрана инструкцией", task:"Задание", ok:"верно", error:"ошибка", image:"Экран с четырьмя значками", loadError:"Не удалось загрузить примеры. Обновите страницу." },
7
+ en: { builds:["Light", "Medium", "Heavy"], positions:["top left","top right","bottom left","bottom right"], clips:["First clip","Second clip"], truth:"Correct cell", selected:"selected by the instruction", task:"Task", ok:"correct", error:"wrong", image:"Panel with four icons", loadError:"The examples could not be loaded. Refresh the page to retry." }
8
+ };
9
+ const keys = ["light","medium","heavy"];
10
+ let language = navigator.language?.toLowerCase().startsWith("ru") ? "ru" : "en";
11
+ let data;
12
+ function node(tag, value, className) {
13
+ const el = document.createElement(tag);
14
+ if (value !== undefined) el.textContent = value;
15
+ if (className) el.className = className;
16
+ return el;
17
+ }
18
+ function renderTask() {
19
+ const row = data.tasks[select.selectedIndex];
20
+ const labels = languages[language];
21
+ const panel = document.querySelector("#panel");
22
+ panel.src = "examples/" + row.image;
23
+ panel.alt = labels.image + " · " + row.task;
24
+ document.querySelector("#truth").textContent = labels.truth + " — " + labels.positions[row.expected];
25
+ document.querySelector("#command").textContent = row.command;
26
+ const clips = document.querySelector("#clips");
27
+ const texts = document.querySelector("#transcripts");
28
+ clips.replaceChildren();
29
+ texts.replaceChildren();
30
+ row.audio.forEach((file, index) => {
31
+ const entry = data.recordings[file];
32
+ const title = labels.clips[index] + (index === row.order ? " · " + labels.selected : "");
33
+ const player = node("audio");
34
+ player.controls = true;
35
+ player.preload = "none";
36
+ player.src = "examples/" + file;
37
+ player.setAttribute("aria-label",title);
38
+ clips.append(node("span",title,"clip"),player);
39
+ texts.append(node("p",labels.clips[index] + " — «" + entry.source + "»"));
40
+ const list = node("ul");
41
+ keys.forEach((key,i) => { const li=node("li"); li.append(node("b",labels.builds[i] + " — "),node("bdi",entry[key])); list.append(li); });
42
+ texts.append(list);
43
+ });
44
+ const table = document.querySelector("#decisions");
45
+ table.replaceChildren();
46
+ keys.forEach((key,i) => {
47
+ const tr=node("tr");
48
+ const th=node("th", labels.builds[i]);
49
+ th.scope="row";
50
+ tr.append(th);
51
+ for (const mode of ["before","after"]) {
52
+ const current=row[key][mode];
53
+ const ok=current === row.expected;
54
+ const td=node("td",(ok ? "✓ " : "× ") + labels.positions[current],ok ? "correct" : "wrong");
55
+ td.setAttribute("aria-label",(ok ? labels.ok : labels.error) + ", " + labels.positions[current]);
56
+ tr.append(td);
57
+ }
58
+ table.append(tr);
59
+ });
60
+ }
61
+ function setLanguage(next) {
62
+ language = next;
63
+ document.documentElement.lang = next;
64
+ document.querySelectorAll("[data-ru]").forEach(el => { el.textContent=el.dataset[next]; });
65
+ document.querySelectorAll("[data-lang]").forEach(el => { el.setAttribute("aria-pressed",String(el.dataset.lang===next)); });
66
+ if (data) {
67
+ Array.from(select.options).forEach((option,i) => { option.textContent=String(i+1) + " / " + data.tasks.length; });
68
+ renderTask();
69
+ }
70
+ }
71
+ for (const btn of document.querySelectorAll("[data-lang]")) btn.addEventListener("click",()=>setLanguage(btn.dataset.lang));
72
+ select.addEventListener("change",renderTask);
73
+ setLanguage(language);
74
+ fetch("data.json").then(async res => {
75
+ if (!res.ok) throw new Error(String(res.status));
76
+ data=await res.json();
77
+ data.tasks.forEach(row => { const option=node("option"); option.value=String(row.task); select.append(option); });
78
+ select.value="6";
79
+ select.disabled=false;
80
+ example.hidden=false;
81
+ statusLine.hidden=true;
82
+ setLanguage(language);
83
+ }).catch(() => { statusLine.textContent=languages[language].loadError; });
benchmark.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db1428716b8fce514bdb36ac60caabd252a0982d1ac15c99512043218bec4297
3
+ size 4956632
data.json ADDED
@@ -0,0 +1,862 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tasks": [
3
+ {
4
+ "task": 1,
5
+ "image": "audit-00.png",
6
+ "command": "выбери первое слово",
7
+ "audio": [
8
+ "089.wav",
9
+ "114.wav"
10
+ ],
11
+ "order": 0,
12
+ "expected": 3,
13
+ "light": {
14
+ "before": 2,
15
+ "after": 3
16
+ },
17
+ "medium": {
18
+ "before": 3,
19
+ "after": 1
20
+ },
21
+ "heavy": {
22
+ "before": 3,
23
+ "after": 1
24
+ }
25
+ },
26
+ {
27
+ "task": 2,
28
+ "image": "audit-00.png",
29
+ "command": "выбери второе слово",
30
+ "audio": [
31
+ "089.wav",
32
+ "114.wav"
33
+ ],
34
+ "order": 1,
35
+ "expected": 1,
36
+ "light": {
37
+ "before": 2,
38
+ "after": 1
39
+ },
40
+ "medium": {
41
+ "before": 2,
42
+ "after": 1
43
+ },
44
+ "heavy": {
45
+ "before": 1,
46
+ "after": 1
47
+ }
48
+ },
49
+ {
50
+ "task": 3,
51
+ "image": "audit-00.png",
52
+ "command": "use the first word",
53
+ "audio": [
54
+ "108.wav",
55
+ "103.wav"
56
+ ],
57
+ "order": 0,
58
+ "expected": 2,
59
+ "light": {
60
+ "before": 3,
61
+ "after": 2
62
+ },
63
+ "medium": {
64
+ "before": 2,
65
+ "after": 2
66
+ },
67
+ "heavy": {
68
+ "before": 2,
69
+ "after": 2
70
+ }
71
+ },
72
+ {
73
+ "task": 4,
74
+ "image": "audit-00.png",
75
+ "command": "use the second word",
76
+ "audio": [
77
+ "108.wav",
78
+ "103.wav"
79
+ ],
80
+ "order": 1,
81
+ "expected": 0,
82
+ "light": {
83
+ "before": 2,
84
+ "after": 0
85
+ },
86
+ "medium": {
87
+ "before": 2,
88
+ "after": 0
89
+ },
90
+ "heavy": {
91
+ "before": 0,
92
+ "after": 0
93
+ }
94
+ },
95
+ {
96
+ "task": 5,
97
+ "image": "audit-01.png",
98
+ "command": "use the first word",
99
+ "audio": [
100
+ "111.wav",
101
+ "103.wav"
102
+ ],
103
+ "order": 0,
104
+ "expected": 1,
105
+ "light": {
106
+ "before": 0,
107
+ "after": 1
108
+ },
109
+ "medium": {
110
+ "before": 1,
111
+ "after": 1
112
+ },
113
+ "heavy": {
114
+ "before": 1,
115
+ "after": 1
116
+ }
117
+ },
118
+ {
119
+ "task": 6,
120
+ "image": "audit-01.png",
121
+ "command": "use the second word",
122
+ "audio": [
123
+ "111.wav",
124
+ "103.wav"
125
+ ],
126
+ "order": 1,
127
+ "expected": 0,
128
+ "light": {
129
+ "before": 0,
130
+ "after": 2
131
+ },
132
+ "medium": {
133
+ "before": 0,
134
+ "after": 0
135
+ },
136
+ "heavy": {
137
+ "before": 0,
138
+ "after": 1
139
+ }
140
+ },
141
+ {
142
+ "task": 7,
143
+ "image": "audit-01.png",
144
+ "command": "нужен first пункт",
145
+ "audio": [
146
+ "089.wav",
147
+ "116.wav"
148
+ ],
149
+ "order": 0,
150
+ "expected": 2,
151
+ "light": {
152
+ "before": 2,
153
+ "after": 1
154
+ },
155
+ "medium": {
156
+ "before": 0,
157
+ "after": 2
158
+ },
159
+ "heavy": {
160
+ "before": 2,
161
+ "after": 2
162
+ }
163
+ },
164
+ {
165
+ "task": 8,
166
+ "image": "audit-01.png",
167
+ "command": "нужен second пункт",
168
+ "audio": [
169
+ "089.wav",
170
+ "116.wav"
171
+ ],
172
+ "order": 1,
173
+ "expected": 3,
174
+ "light": {
175
+ "before": 0,
176
+ "after": 1
177
+ },
178
+ "medium": {
179
+ "before": 0,
180
+ "after": 0
181
+ },
182
+ "heavy": {
183
+ "before": 0,
184
+ "after": 2
185
+ }
186
+ },
187
+ {
188
+ "task": 9,
189
+ "image": "audit-02.png",
190
+ "command": "нужен first пункт",
191
+ "audio": [
192
+ "115.wav",
193
+ "109.wav"
194
+ ],
195
+ "order": 0,
196
+ "expected": 0,
197
+ "light": {
198
+ "before": 1,
199
+ "after": 0
200
+ },
201
+ "medium": {
202
+ "before": 3,
203
+ "after": 0
204
+ },
205
+ "heavy": {
206
+ "before": 2,
207
+ "after": 0
208
+ }
209
+ },
210
+ {
211
+ "task": 10,
212
+ "image": "audit-02.png",
213
+ "command": "нужен second пункт",
214
+ "audio": [
215
+ "115.wav",
216
+ "109.wav"
217
+ ],
218
+ "order": 1,
219
+ "expected": 1,
220
+ "light": {
221
+ "before": 0,
222
+ "after": 1
223
+ },
224
+ "medium": {
225
+ "before": 3,
226
+ "after": 1
227
+ },
228
+ "heavy": {
229
+ "before": 2,
230
+ "after": 1
231
+ }
232
+ },
233
+ {
234
+ "task": 11,
235
+ "image": "audit-02.png",
236
+ "command": "первый из двух",
237
+ "audio": [
238
+ "103.wav",
239
+ "089.wav"
240
+ ],
241
+ "order": 0,
242
+ "expected": 3,
243
+ "light": {
244
+ "before": 1,
245
+ "after": 2
246
+ },
247
+ "medium": {
248
+ "before": 2,
249
+ "after": 3
250
+ },
251
+ "heavy": {
252
+ "before": 2,
253
+ "after": 3
254
+ }
255
+ },
256
+ {
257
+ "task": 12,
258
+ "image": "audit-02.png",
259
+ "command": "второй из двух",
260
+ "audio": [
261
+ "103.wav",
262
+ "089.wav"
263
+ ],
264
+ "order": 1,
265
+ "expected": 2,
266
+ "light": {
267
+ "before": 1,
268
+ "after": 2
269
+ },
270
+ "medium": {
271
+ "before": 2,
272
+ "after": 2
273
+ },
274
+ "heavy": {
275
+ "before": 2,
276
+ "after": 2
277
+ }
278
+ },
279
+ {
280
+ "task": 13,
281
+ "image": "audit-03.png",
282
+ "command": "первый из двух",
283
+ "audio": [
284
+ "095.wav",
285
+ "106.wav"
286
+ ],
287
+ "order": 0,
288
+ "expected": 0,
289
+ "light": {
290
+ "before": 0,
291
+ "after": 2
292
+ },
293
+ "medium": {
294
+ "before": 3,
295
+ "after": 3
296
+ },
297
+ "heavy": {
298
+ "before": 1,
299
+ "after": 1
300
+ }
301
+ },
302
+ {
303
+ "task": 14,
304
+ "image": "audit-03.png",
305
+ "command": "второй из двух",
306
+ "audio": [
307
+ "095.wav",
308
+ "106.wav"
309
+ ],
310
+ "order": 1,
311
+ "expected": 3,
312
+ "light": {
313
+ "before": 0,
314
+ "after": 2
315
+ },
316
+ "medium": {
317
+ "before": 0,
318
+ "after": 1
319
+ },
320
+ "heavy": {
321
+ "before": 0,
322
+ "after": 1
323
+ }
324
+ },
325
+ {
326
+ "task": 15,
327
+ "image": "audit-03.png",
328
+ "command": "first of the two",
329
+ "audio": [
330
+ "096.wav",
331
+ "113.wav"
332
+ ],
333
+ "order": 0,
334
+ "expected": 2,
335
+ "light": {
336
+ "before": 0,
337
+ "after": 1
338
+ },
339
+ "medium": {
340
+ "before": 1,
341
+ "after": 2
342
+ },
343
+ "heavy": {
344
+ "before": 1,
345
+ "after": 2
346
+ }
347
+ },
348
+ {
349
+ "task": 16,
350
+ "image": "audit-03.png",
351
+ "command": "second of the two",
352
+ "audio": [
353
+ "096.wav",
354
+ "113.wav"
355
+ ],
356
+ "order": 1,
357
+ "expected": 1,
358
+ "light": {
359
+ "before": 0,
360
+ "after": 1
361
+ },
362
+ "medium": {
363
+ "before": 0,
364
+ "after": 1
365
+ },
366
+ "heavy": {
367
+ "before": 0,
368
+ "after": 1
369
+ }
370
+ },
371
+ {
372
+ "task": 17,
373
+ "image": "audit-04.png",
374
+ "command": "first of the two",
375
+ "audio": [
376
+ "105.wav",
377
+ "115.wav"
378
+ ],
379
+ "order": 0,
380
+ "expected": 0,
381
+ "light": {
382
+ "before": 2,
383
+ "after": 2
384
+ },
385
+ "medium": {
386
+ "before": 0,
387
+ "after": 0
388
+ },
389
+ "heavy": {
390
+ "before": 0,
391
+ "after": 2
392
+ }
393
+ },
394
+ {
395
+ "task": 18,
396
+ "image": "audit-04.png",
397
+ "command": "second of the two",
398
+ "audio": [
399
+ "105.wav",
400
+ "115.wav"
401
+ ],
402
+ "order": 1,
403
+ "expected": 2,
404
+ "light": {
405
+ "before": 0,
406
+ "after": 2
407
+ },
408
+ "medium": {
409
+ "before": 2,
410
+ "after": 2
411
+ },
412
+ "heavy": {
413
+ "before": 2,
414
+ "after": 2
415
+ }
416
+ },
417
+ {
418
+ "task": 19,
419
+ "image": "audit-04.png",
420
+ "command": "вариант one",
421
+ "audio": [
422
+ "101.wav",
423
+ "094.wav"
424
+ ],
425
+ "order": 0,
426
+ "expected": 3,
427
+ "light": {
428
+ "before": 2,
429
+ "after": 1
430
+ },
431
+ "medium": {
432
+ "before": 0,
433
+ "after": 3
434
+ },
435
+ "heavy": {
436
+ "before": 0,
437
+ "after": 2
438
+ }
439
+ },
440
+ {
441
+ "task": 20,
442
+ "image": "audit-04.png",
443
+ "command": "вариант two",
444
+ "audio": [
445
+ "101.wav",
446
+ "094.wav"
447
+ ],
448
+ "order": 1,
449
+ "expected": 1,
450
+ "light": {
451
+ "before": 2,
452
+ "after": 1
453
+ },
454
+ "medium": {
455
+ "before": 2,
456
+ "after": 0
457
+ },
458
+ "heavy": {
459
+ "before": 2,
460
+ "after": 0
461
+ }
462
+ },
463
+ {
464
+ "task": 21,
465
+ "image": "audit-05.png",
466
+ "command": "вариант one",
467
+ "audio": [
468
+ "102.wav",
469
+ "109.wav"
470
+ ],
471
+ "order": 0,
472
+ "expected": 3,
473
+ "light": {
474
+ "before": 0,
475
+ "after": 2
476
+ },
477
+ "medium": {
478
+ "before": 2,
479
+ "after": 3
480
+ },
481
+ "heavy": {
482
+ "before": 1,
483
+ "after": 2
484
+ }
485
+ },
486
+ {
487
+ "task": 22,
488
+ "image": "audit-05.png",
489
+ "command": "вариант two",
490
+ "audio": [
491
+ "102.wav",
492
+ "109.wav"
493
+ ],
494
+ "order": 1,
495
+ "expected": 2,
496
+ "light": {
497
+ "before": 0,
498
+ "after": 2
499
+ },
500
+ "medium": {
501
+ "before": 2,
502
+ "after": 2
503
+ },
504
+ "heavy": {
505
+ "before": 2,
506
+ "after": 2
507
+ }
508
+ },
509
+ {
510
+ "task": 23,
511
+ "image": "audit-05.png",
512
+ "command": "выбери первое слово",
513
+ "audio": [
514
+ "112.wav",
515
+ "094.wav"
516
+ ],
517
+ "order": 0,
518
+ "expected": 1,
519
+ "light": {
520
+ "before": 0,
521
+ "after": 1
522
+ },
523
+ "medium": {
524
+ "before": 1,
525
+ "after": 1
526
+ },
527
+ "heavy": {
528
+ "before": 1,
529
+ "after": 1
530
+ }
531
+ },
532
+ {
533
+ "task": 24,
534
+ "image": "audit-05.png",
535
+ "command": "выбери второе слово",
536
+ "audio": [
537
+ "112.wav",
538
+ "094.wav"
539
+ ],
540
+ "order": 1,
541
+ "expected": 0,
542
+ "light": {
543
+ "before": 0,
544
+ "after": 0
545
+ },
546
+ "medium": {
547
+ "before": 1,
548
+ "after": 2
549
+ },
550
+ "heavy": {
551
+ "before": 1,
552
+ "after": 2
553
+ }
554
+ },
555
+ {
556
+ "task": 25,
557
+ "image": "audit-06.png",
558
+ "command": "выбери первое слово",
559
+ "audio": [
560
+ "105.wav",
561
+ "103.wav"
562
+ ],
563
+ "order": 0,
564
+ "expected": 3,
565
+ "light": {
566
+ "before": 1,
567
+ "after": 2
568
+ },
569
+ "medium": {
570
+ "before": 1,
571
+ "after": 3
572
+ },
573
+ "heavy": {
574
+ "before": 1,
575
+ "after": 2
576
+ }
577
+ },
578
+ {
579
+ "task": 26,
580
+ "image": "audit-06.png",
581
+ "command": "выбери второе слово",
582
+ "audio": [
583
+ "105.wav",
584
+ "103.wav"
585
+ ],
586
+ "order": 1,
587
+ "expected": 0,
588
+ "light": {
589
+ "before": 1,
590
+ "after": 0
591
+ },
592
+ "medium": {
593
+ "before": 0,
594
+ "after": 0
595
+ },
596
+ "heavy": {
597
+ "before": 1,
598
+ "after": 3
599
+ }
600
+ },
601
+ {
602
+ "task": 27,
603
+ "image": "audit-06.png",
604
+ "command": "use the first word",
605
+ "audio": [
606
+ "093.wav",
607
+ "112.wav"
608
+ ],
609
+ "order": 0,
610
+ "expected": 1,
611
+ "light": {
612
+ "before": 1,
613
+ "after": 3
614
+ },
615
+ "medium": {
616
+ "before": 1,
617
+ "after": 1
618
+ },
619
+ "heavy": {
620
+ "before": 1,
621
+ "after": 1
622
+ }
623
+ },
624
+ {
625
+ "task": 28,
626
+ "image": "audit-06.png",
627
+ "command": "use the second word",
628
+ "audio": [
629
+ "093.wav",
630
+ "112.wav"
631
+ ],
632
+ "order": 1,
633
+ "expected": 2,
634
+ "light": {
635
+ "before": 1,
636
+ "after": 2
637
+ },
638
+ "medium": {
639
+ "before": 0,
640
+ "after": 2
641
+ },
642
+ "heavy": {
643
+ "before": 1,
644
+ "after": 2
645
+ }
646
+ },
647
+ {
648
+ "task": 29,
649
+ "image": "audit-07.png",
650
+ "command": "use the first word",
651
+ "audio": [
652
+ "101.wav",
653
+ "090.wav"
654
+ ],
655
+ "order": 0,
656
+ "expected": 3,
657
+ "light": {
658
+ "before": 1,
659
+ "after": 3
660
+ },
661
+ "medium": {
662
+ "before": 1,
663
+ "after": 1
664
+ },
665
+ "heavy": {
666
+ "before": 1,
667
+ "after": 3
668
+ }
669
+ },
670
+ {
671
+ "task": 30,
672
+ "image": "audit-07.png",
673
+ "command": "use the second word",
674
+ "audio": [
675
+ "101.wav",
676
+ "090.wav"
677
+ ],
678
+ "order": 1,
679
+ "expected": 0,
680
+ "light": {
681
+ "before": 1,
682
+ "after": 2
683
+ },
684
+ "medium": {
685
+ "before": 1,
686
+ "after": 2
687
+ },
688
+ "heavy": {
689
+ "before": 1,
690
+ "after": 2
691
+ }
692
+ },
693
+ {
694
+ "task": 31,
695
+ "image": "audit-07.png",
696
+ "command": "нужен first пункт",
697
+ "audio": [
698
+ "107.wav",
699
+ "115.wav"
700
+ ],
701
+ "order": 0,
702
+ "expected": 1,
703
+ "light": {
704
+ "before": 1,
705
+ "after": 2
706
+ },
707
+ "medium": {
708
+ "before": 1,
709
+ "after": 2
710
+ },
711
+ "heavy": {
712
+ "before": 1,
713
+ "after": 2
714
+ }
715
+ },
716
+ {
717
+ "task": 32,
718
+ "image": "audit-07.png",
719
+ "command": "нужен second пункт",
720
+ "audio": [
721
+ "107.wav",
722
+ "115.wav"
723
+ ],
724
+ "order": 1,
725
+ "expected": 2,
726
+ "light": {
727
+ "before": 1,
728
+ "after": 2
729
+ },
730
+ "medium": {
731
+ "before": 2,
732
+ "after": 2
733
+ },
734
+ "heavy": {
735
+ "before": 2,
736
+ "after": 2
737
+ }
738
+ }
739
+ ],
740
+ "recordings": {
741
+ "089.wav": {
742
+ "source": "открой найти",
743
+ "light": "Крой, айти!",
744
+ "medium": "A cold night.",
745
+ "heavy": "Of cold night."
746
+ },
747
+ "114.wav": {
748
+ "source": "мне нужно сохранить",
749
+ "light": "نحن نحن نحن نحن نحن نحن نحن ن",
750
+ "medium": "Не нужно сокращать",
751
+ "heavy": "Мне нужно сохранить."
752
+ },
753
+ "108.wav": {
754
+ "source": "open settings",
755
+ "light": "Open Setting.",
756
+ "medium": "Open setting.",
757
+ "heavy": "Open setting."
758
+ },
759
+ "103.wav": {
760
+ "source": "look for home page",
761
+ "light": "not for home pain.",
762
+ "medium": "Look for home pad.",
763
+ "heavy": "Look for home pad."
764
+ },
765
+ "111.wav": {
766
+ "source": "look for preferences",
767
+ "light": "Look for reference.",
768
+ "medium": "Look for preference.",
769
+ "heavy": "Look for preference."
770
+ },
771
+ "116.wav": {
772
+ "source": "open save",
773
+ "light": "open.",
774
+ "medium": "Open tab.",
775
+ "heavy": "Open tab."
776
+ },
777
+ "115.wav": {
778
+ "source": "мне нужно сохранение",
779
+ "light": "نمي مصفرًا نمي",
780
+ "medium": "Не нужно сохранить.",
781
+ "heavy": "Мне нужно сохранение."
782
+ },
783
+ "109.wav": {
784
+ "source": "open preferences",
785
+ "light": "Open Performance.",
786
+ "medium": "Open preference.",
787
+ "heavy": "Open preference."
788
+ },
789
+ "095.wav": {
790
+ "source": "look for find",
791
+ "light": "Look for fin.",
792
+ "medium": "Look for fill.",
793
+ "heavy": "ลดโฟลิน"
794
+ },
795
+ "106.wav": {
796
+ "source": "мне нужно настройки",
797
+ "light": "У меня нужна стройка.",
798
+ "medium": "Men du skal være rolig.",
799
+ "heavy": "It was a stroke."
800
+ },
801
+ "096.wav": {
802
+ "source": "открой домой",
803
+ "light": "Thank you all.",
804
+ "medium": "マスケロイドマ。",
805
+ "heavy": "他可以做吗?"
806
+ },
807
+ "113.wav": {
808
+ "source": "открой сохранение",
809
+ "light": "que lo hizo que no.",
810
+ "medium": "aquele rosto grande",
811
+ "heavy": "в киберу и сохраненные."
812
+ },
813
+ "105.wav": {
814
+ "source": "открой параметры",
815
+ "light": "que hoy al amido.",
816
+ "medium": "O que o parâmetro",
817
+ "heavy": "Tak koyak amat betul."
818
+ },
819
+ "101.wav": {
820
+ "source": "open home page",
821
+ "light": "Open Thumbon.",
822
+ "medium": "Open zone pad.",
823
+ "heavy": "Open zone pad."
824
+ },
825
+ "094.wav": {
826
+ "source": "look for search",
827
+ "light": "Look for C-E-E.",
828
+ "medium": "Look for here.",
829
+ "heavy": "Look for Sig."
830
+ },
831
+ "102.wav": {
832
+ "source": "look for home",
833
+ "light": "Look for um...",
834
+ "medium": "Look for um.",
835
+ "heavy": "Look for um."
836
+ },
837
+ "112.wav": {
838
+ "source": "открой сохранить",
839
+ "light": "Собирает",
840
+ "medium": "かけろいさくなに。",
841
+ "heavy": "I can't stop crying."
842
+ },
843
+ "093.wav": {
844
+ "source": "open find",
845
+ "light": "Open FIN.",
846
+ "medium": "Opens in.",
847
+ "heavy": "Opens in."
848
+ },
849
+ "090.wav": {
850
+ "source": "мне нужно поиск",
851
+ "light": "you",
852
+ "medium": "Meio de polícia",
853
+ "heavy": "In your voice."
854
+ },
855
+ "107.wav": {
856
+ "source": "мне нужно параметры",
857
+ "light": "et nous appellons à midi.",
858
+ "medium": "你唔知犯唔犯忌?",
859
+ "heavy": "أنا لست في حاجة."
860
+ }
861
+ }
862
+ }
examples/089.wav ADDED
Binary file (55.9 kB). View file
 
examples/090.wav ADDED
Binary file (46.8 kB). View file
 
examples/093.wav ADDED
Binary file (51.8 kB). View file
 
examples/094.wav ADDED
Binary file (55.5 kB). View file
 
examples/095.wav ADDED
Binary file (47.1 kB). View file
 
examples/096.wav ADDED
Binary file (56.4 kB). View file
 
examples/101.wav ADDED
Binary file (67.2 kB). View file
 
examples/102.wav ADDED
Binary file (53.9 kB). View file
 
examples/103.wav ADDED
Binary file (60.1 kB). View file
 
examples/105.wav ADDED
Binary file (64.7 kB). View file
 
examples/106.wav ADDED
Binary file (62.1 kB). View file
 
examples/107.wav ADDED
Binary file (54.5 kB). View file
 
examples/108.wav ADDED
Binary file (65.5 kB). View file
 
examples/109.wav ADDED
Binary file (63 kB). View file
 
examples/111.wav ADDED
Binary file (56.7 kB). View file
 
examples/112.wav ADDED
Binary file (70.3 kB). View file
 
examples/113.wav ADDED
Binary file (70.1 kB). View file
 
examples/114.wav ADDED
Binary file (59.2 kB). View file
 
examples/115.wav ADDED
Binary file (59.3 kB). View file
 
examples/116.wav ADDED
Binary file (61.9 kB). View file
 
examples/audit-00.png ADDED
examples/audit-01.png ADDED
examples/audit-02.png ADDED
examples/audit-03.png ADDED
examples/audit-04.png ADDED
examples/audit-05.png ADDED
examples/audit-06.png ADDED
examples/audit-07.png ADDED
index.html CHANGED
@@ -1,19 +1,48 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
  <!doctype html>
2
+ <html lang="ru">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <meta name="color-scheme" content="light dark">
7
+ <title>Нейроконструктор · LOPATA AI Hub</title>
8
+ <link rel="stylesheet" href="study.css">
9
+ <script src="app.js" defer></script>
10
+ </head>
11
+ <body>
12
+ <main>
13
+ <header>
14
+ <a class="identity" href="https://github.com/PiTrolKun/LOPATA" target="_blank" rel="noopener"><img src="logo.png" alt="" width="36" height="36"> LOPATA AI Hub</a>
15
+ <div class="language" role="group" aria-label="Русский / English"><button data-lang="ru" aria-pressed="true">RU</button><button data-lang="en" aria-pressed="false">EN</button></div>
16
+ </header>
17
+ <section class="intro">
18
+ <h1 data-ru="Как Нейроконструктор находит значок по голосу" data-en="How the Neuroconstructor finds an icon by listening">Как Нейроконструктор находит значок по голосу</h1>
19
+ <p data-ru="В ЛОПАТЕ мы связали модели языка, слуха и зрения. Послушайте обе записи и проверьте, как три сборки решили одни и те же 32 задания." data-en="We connected language, speech and vision models in LOPATA. Listen to both clips and see how three local builds performed on the same 32 tasks.">В ЛОПАТЕ мы связали модели языка, слуха и зрения. Послушайте обе записи и проверьте, как три сборки решили одни и те же 32 задания.</p>
20
+ <nav><a href="https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study/blob/main/STUDY.md" target="_blank" rel="noopener" data-ru="Прочитать исследование" data-en="Read the study">Прочитать исследование</a> · <a href="https://huggingface.co/spaces/LOPATA-AI-Hub/neuroconstructor-study/blob/main/RUN.md" target="_blank" rel="noopener" data-ru="Скачать и запустить модели" data-en="Download and run the models">Скачать и запустить модели</a></nav>
21
+ </section>
22
+ <section class="experiment">
23
+ <div class="toolbar"><label for="task" data-ru="Задание" data-en="Task">Задание</label><select id="task" disabled></select></div>
24
+ <div id="status" role="status">Загружаются примеры…</div>
25
+ <div id="example" hidden>
26
+ <div class="inputs">
27
+ <figure><img id="panel" alt="Панель из четырёх значков" width="256" height="256"><figcaption id="truth"></figcaption></figure>
28
+ <div><h2 data-ru="Инструкция модели" data-en="Instruction given to the model">Инструкция модели</h2><p id="command" class="command"></p><div id="clips"></div></div>
29
+ </div>
30
+ <h2 data-ru="Как ответили сборки" data-en="Recorded decisions">Как ответили сборки</h2>
31
+ <table><thead><tr><th data-ru="Сборка" data-en="Build">Сборка</th><th data-ru="До слияния" data-en="Independent">До слияния</th><th data-ru="После слияния" data-en="Fused">После слияния</th></tr></thead><tbody id="decisions"></tbody></table>
32
+ <details id="details"><summary data-ru="Что услышали речевые модели" data-en="Read each speech model’s transcript">Что услышали речевые модели</summary><div id="transcripts"></div></details>
33
+ </div>
34
+ </section>
35
+ <section class="totals">
36
+ <h2 data-ru="Результат на 32 заданиях" data-en="Results across 32 tasks">Результат на 32 заданиях</h2>
37
+ <table><thead><tr><th data-ru="Сборка" data-en="Build">Сборка</th><th data-ru="Верно до" data-en="Correct before">Верно до</th><th data-ru="Верно после" data-en="Correct after">Верно после</th><th data-ru="Секунд на ответ¹" data-en="Seconds per task¹">Секунд на ответ¹</th></tr></thead>
38
+ <tbody>
39
+ <tr><th><a href="https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-light" target="_blank" rel="noopener" data-ru="Лёгкая" data-en="Light">Лёгкая</a></th><td>6</td><td>18</td><td>1.70 → 0.37</td></tr>
40
+ <tr><th><a href="https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-medium" target="_blank" rel="noopener" data-ru="Средняя" data-en="Medium">Средняя</a></th><td>13</td><td>23</td><td>2.74 → 2.50</td></tr>
41
+ <tr><th><a href="https://huggingface.co/LOPATA-AI-Hub/neuroconstructor-heavy" target="_blank" rel="noopener" data-ru="Тяжёлая" data-en="Heavy">Тяжёлая</a></th><td>15</td><td>18</td><td>3.61 → 2.52</td></tr>
42
+ </tbody></table>
43
+ <p class="note" data-ru="¹ Среднее время при загруженных моделях на i9-13900KF и RTX 4090. На отдельной серии из 64 заданий порядок изменился: средняя сборка решила 32, тяжёлая — 37." data-en="¹ Mean time with the models loaded on an i9-13900KF and RTX 4090. On another 64 tasks, the ranking changed. Medium solved 32 and Heavy solved 37.">¹ Среднее время при загруженных моделях на i9-13900KF и RTX 4090. На отдельной серии из 64 заданий средняя сборка решила 32, тяжёлая — 37.</p>
44
+ </section>
45
+ <footer><a href="https://github.com/PiTrolKun/LOPATA" target="_blank" rel="noopener">LOPATA · GitHub</a><a href="https://github.com/PiTrolKun" target="_blank" rel="noopener">PiTrolKun</a><a href="https://youtube.com/@lopata_ai_hub" target="_blank" rel="noopener">YouTube</a><a href="https://vk.ru/lopata_ai_localhub" target="_blank" rel="noopener">VK</a></footer>
46
+ </main>
47
+ </body>
48
  </html>
logo.png ADDED

Git LFS Details

  • SHA256: cbbd78034ce0fd8c0c0fc4b094207054c45977262cc4379c520a377884a6be6b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.31 MB
lopata-neuro-sdk-source.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6681c8861d0aa8c8464a3a6bda364a2f2eeea7c13c2712df4a6ccb7f99e14ce2
3
+ size 1305951
lopata_neuro-1.2.0-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a13c6a1e18334c3941334d44d8d4bf70bcbc19f69a1a2bc6dc6d78f95ae7cc2
3
+ size 1314535
replay.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Replay the 32 fused decisions embedded in the published LOPATA study."""
2
+ import argparse
3
+ import json
4
+ from pathlib import Path
5
+ from zipfile import ZipFile
6
+
7
+ from lopata_neuro import open_model
8
+
9
+
10
+ def main():
11
+ parser = argparse.ArgumentParser(description=__doc__)
12
+ parser.add_argument("--model", type=Path, required=True)
13
+ parser.add_argument("--device", default="auto")
14
+ parser.add_argument("--task", type=int, choices=range(1, 33))
15
+ parser.add_argument("--benchmark", type=Path, default=Path(__file__).resolve().parent)
16
+ args = parser.parse_args()
17
+ root = args.benchmark
18
+ with ZipFile(args.model) as bundle:
19
+ kind = json.loads(bundle.read("manifest.json"))["kind"]
20
+ key = {"trio": "light", "medium": "medium", "heavy": "heavy"}[kind]
21
+ published = json.loads((root / "recorded.json").read_text(encoding="utf-8"))
22
+ tasks = [row for row in published["tasks"] if args.task is None or row["task"] == args.task]
23
+ matched = correct = 0
24
+ with open_model(str(args.model), device=args.device) as model:
25
+ for row in tasks:
26
+ files = root / "original"
27
+ result = model.predict(str(files / row["image"]), row["command"],
28
+ [str(files / wav) for wav in row["audio"]])
29
+ slot = result["slot"]
30
+ matched += slot == row[key]["after"]
31
+ correct += slot == row["expected"]
32
+ print(json.dumps({"task": row["task"], "slot": slot,
33
+ "published": row[key]["after"], "ground_truth": row["expected"]}))
34
+ print(json.dumps({"build": key, "matched": matched, "correct": correct, "total": len(tasks)}))
35
+ return int(matched != len(tasks))
36
+
37
+
38
+ if __name__ == "__main__":
39
+ raise SystemExit(main())
study.css ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root { color-scheme: light dark; --ink:#192b29; --muted:#475e59; --line:#cbd8ce; --bg:#f5f7f1; --paper:#fffefa; --link:#125b4b; --ok:#116044; --err:#a33328; --accent:#d9ebd2; --grid:#edf1e9; font:16px/1.55 Inter,"Segoe UI",sans-serif; background:var(--bg); color:var(--ink) }
2
+ @media (prefers-color-scheme:dark) { :root { --ink:#ecf3e9; --muted:#b4c4b8; --line:#4c5b52; --bg:#17231e; --paper:#202d27; --link:#a4dfc1; --ok:#91deb0; --err:#ffae9e; --accent:#344d3f; --grid:#28372f } }
3
+ * { box-sizing:border-box }
4
+ body { margin:0 }
5
+ main { max-width:920px; margin:auto; padding:0 clamp(16px,4vw,44px) 28px }
6
+ header,footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 0; border-bottom:1px solid var(--line) }
7
+ a { color:var(--link); text-underline-offset:3px }
8
+ a:hover { text-decoration-thickness:2px }
9
+ .identity { display:inline-flex; gap:10px; align-items:center; font-weight:700; text-decoration:none }
10
+ .identity img { object-fit:contain }
11
+ .language { display:flex; gap:4px }
12
+ button,select { font:inherit; color:var(--ink); border:1px solid var(--line); background:var(--paper); border-radius:7px; padding:5px 10px; cursor:pointer }
13
+ button[aria-pressed="true"] { background:var(--accent); font-weight:700 }
14
+ button:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline:3px solid var(--link); outline-offset:3px }
15
+ .intro { padding:clamp(22px,5vw,48px) 0 24px }
16
+ h1 { font:650 clamp(2rem,5vw,3.6rem)/1.07 Inter,"Segoe UI",sans-serif; letter-spacing:-.045em; max-width:19ch; margin:0 0 12px }
17
+ .intro p { max-width:68ch; margin:0 0 12px; color:var(--muted) }
18
+ nav { line-height:1.8 }
19
+ .experiment { border:1px solid var(--line); border-radius:14px; background:var(--paper); padding:clamp(14px,3vw,28px) }
20
+ .toolbar { display:flex; align-items:center; gap:12px; margin-bottom:20px; font-weight:650 }
21
+ h2 { font-size:1.23rem; line-height:1.3; margin:0 0 12px }
22
+ figure { margin:0 }
23
+ figure img { width:100%; height:auto; max-width:256px; display:block; border:1px solid var(--line); border-radius:8px; image-rendering:auto }
24
+ figcaption,.note { font-size:.91rem; margin:8px 0; color:var(--muted) }
25
+ .inputs { display:grid; grid-template-columns:minmax(150px,.84fr) minmax(240px,1.4fr); gap:clamp(16px,3vw,32px); align-items:start; margin-bottom:24px }
26
+ .command { margin:0 0 12px; padding:8px 12px; background:var(--grid); border-radius:6px; font-size:1.05rem }
27
+ .clip { display:block; font-size:.91rem; margin:8px 0 2px }
28
+ audio { display:block; width:100%; height:34px; margin-top:3px }
29
+ table { border-collapse:collapse; width:100%; line-height:1.4; table-layout:fixed }
30
+ td,th { text-align:start; padding:9px 6px; border-bottom:1px solid var(--line); overflow-wrap:anywhere }
31
+ thead th { color:var(--muted); font-weight:600; font-size:.9rem }
32
+ tbody th { font-weight:650 }
33
+ .correct { color:var(--ok) }
34
+ .wrong { color:var(--err) }
35
+ details { margin-top:16px }
36
+ summary { color:var(--link); font-weight:650; cursor:pointer }
37
+ #transcripts p { margin:9px 0 4px; font-weight:650 }
38
+ #transcripts ul { margin:0; padding-inline-start:1.5em }
39
+ .totals { margin:28px 0 }
40
+ footer { border-bottom:0; border-top:1px solid var(--line); flex-wrap:wrap; justify-content:flex-start; font-size:.94rem }
41
+ @media (max-width:570px) { .inputs { grid-template-columns:1fr } figure img { max-width:225px } h1 { max-width:100% } td,th { padding:7px 3px; font-size:.9rem } main { padding-left:12px; padding-right:12px } }