/ Модель

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

Лицензия
Своя лицензия
Базовая модель
gemma-4-E4B-it
Библиотека
gguf
Опубликована
1 дек 2026

gemma-4-e4b-lezgi-gguf

ПереводТекст → текст
503скачиваний за 30 дней1лайквеса обновлены1 дек 2026

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

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

Локальная текстовая модель на базе Gemma 4 E4B IT для перевода между русским и лезгинским языками.

Это текстовая модель для перевода между русским и лезгинским языками, созданная stazizov на основе Google Gemma 4 E4B IT. Модель дообучена методом QLoRA на параллельных корпусах, а LoRA-адаптер объединён с базовыми весами и опубликован в формате GGUF Q4_K_M для локального запуска, в том числе через LM Studio и PocketPal AI.

В финальном переводческом запуске использовано 84 203 выровненные пары предложений. На тесте из 48 пар в каждом направлении модель получила chrF2 45,84 для перевода с русского на лезгинский и 47,12 для перевода с лезгинского на русский. Эти результаты измерены до экспорта в GGUF. Контекстное окно и число параметров в карточке не указаны; возможность запуска на устройстве зависит от доступной памяти и настроек контекста.

Тестовая выборка невелика и включает газетно-журнальные тексты; обучающие данные содержат машинные переводы, а также тексты, полученные из OCR и автоматического выравнивания. Для важных, формальных или публичных переводов рекомендуется проверка носителем языка. Дообученная версия предназначена только для личного некоммерческого использования; базовая модель распространяется по Apache 2.0.

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

  • перевод с русского на лезгинский
  • перевод с лезгинского на русский
  • черновой перевод газетных и журнальных текстов
  • локальный перевод текста на телефоне через PocketPal AI
  • перевод текстов в LM Studio

Ограничения

Оценка основана на небольшом тесте из 48 пар в каждом направлении и газетно-журнальной выборке; обучающие данные включают машинные переводы и автоматически обработанные тексты. Для важных переводов нужна проверка fluent speaker; дообученная версия разрешена только для личного некоммерческого использования.

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

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

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

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

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

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

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

Открыть на Hugging Face

Gemma 4 E4B for Lezgian–Russian translation

This text-only GGUF release merges the translation LoRA into Gemma 4 E4B IT. It is designed for local Russian ↔ Lezgian translation. The Q4_K_M file can be imported into LM Studio or a recent PocketPal AI build. Available memory and context length affect whether it runs on a given phone.

The Lezgian fine-tuning changes are available for personal, noncommercial use. The base model is by Google DeepMind and is distributed under Apache 2.0.

Training

The final translation run used 84,203 aligned pairs, with a prompt in each direction for every pair. Training used QLoRA with rank 32 and alpha 64 for 21,051 optimizer steps. The run resumed from step 5,000 after a power outage. The chart joins the validation measurements from both sessions.

Validation loss by optimizer step

Data sources

The table gives the number of selected training pairs, after filtering, for each source. Links point to the source releases. The exact combined training and evaluation splits stay local. The upstream Dagwoman release is linked for provenance. The training run used an earlier local alignment.

SourceSelected pairs
Local Dagwoman alignment (upstream release)6,571
Lezgian–Russian books6,205
Bible Caucasus4,209
LezgiChal46,880
CNAL conversational corpus723
Constitution of Dagestan115
Lezgian–Russian–Azerbaijani corpus, selected Bible and Quran pairs4,500
Lezghian Community synthetic newspaper pairs6,000
Pashaev synthetic newspaper and Wikipedia pairs9,000

The Lezgian periodicals corpus is a related resource for continued pretraining. The separate 300-step monolingual experiment used local Samur and Dagwoman texts. It lowered held-out monolingual loss from 10.22 to 3.33 while reducing translation chrF in both directions. The exported weights come from the translation run before that experiment.

Evaluation

Translation scores use corpus chrF2 on the same 48 held-out pairs in each direction. Case-choice accuracy uses 105 held-out items. The ergative column uses its 30-item subset. These metrics were measured before GGUF export.

ModelRussian → LezgianLezgian → RussianCase choiceErgative
Base Gemma 4 E4B IT9.9118.1442.86%40.00%
Previous LoRA, 16,985 pairs38.2341.2774.29%63.33%
Translation LoRA, 84,203 pairs45.8447.1284.76%76.67%
Translation LoRA plus 300 monolingual steps43.8344.5184.76%76.67%

The test uses a small newspaper and magazine domain sample. Training data include machine translations and OCR-derived or automatically aligned text. Review translations with a fluent speaker when accuracy matters, especially for formal or public use.

Usage

  • LM Studio. Download the GGUF and use lms import gemma-4-e4b-lezgi-Q4_K_M.gguf, or search for the public repository in the app.
  • PocketPal AI. Import the GGUF from Files, or search for the public repository under Models → Add from Hugging Face. Start with a short context and a text prompt.

The export is 5.30 GB. A local llama.cpp smoke test loaded the GGUF and translated one short example in each direction with the training prompt format. PocketPal on iPhone has yet to be tested with this file.

Use the training prompt format. Put the source text after a blank line and swap the languages for the reverse direction.

Translate the following text from Russian to Lezgian. Return only the translation.

Я сижу дома.

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

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

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
69534cd

0 моделей