/ Модель

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

Лицензия
MIT
Опубликована
24 авг 2026

EmsyAI

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

Экспериментальная англоязычная модель на 196,7 млн параметров для генерации текста и простых инструкционных ответов, включая базовый код.

1 876скачиваний за 30 дней0лайковвеса обновлены3 сен 2026

Бенчмарки

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

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

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

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

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

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

EmsyAI V4 — экспериментальная языковая модель на 196,7 млн параметров, созданная автором gulding с нуля для изучения полного цикла разработки LLM. Автор реализовал BPE-токенизатор и трансформер в стиле Llama на PyTorch, предварительно обучил модель на 1,96 млрд токенов и применил LoRA-настройку на наборе CodeAlpaca примерно из 20 тысяч инструкций. Весовая версия репозитория представлена в формате GGUF F32; лицензия — MIT.

Модель предназначена для генерации текста по запросу и простых ответов в формате [USER]/[MODEL], включая базовые фрагменты кода на Python. Контекстное окно составляет 4096 токенов; README описывает запуск через Ollama и llama.cpp. Английский указан как язык карточки и метаданных.

Это небольшой учебный чекпойнт, полезный для экспериментов с обучением и локальным запуском. README отмечает слабые результаты на HumanEval: pass@1 равен 0%; также автор сообщает о проблемах с нормализацией внимания, упаковкой документов и токенизатором, которые планирует исправить в следующей версии.

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

  • изучение устройства и обучения небольших языковых моделей
  • локальные эксперименты с генерацией текста через Ollama
  • получение простых ответов на инструкции на английском языке
  • генерация базовых фрагментов кода на Python
  • проверка и демонстрация работы формата GGUF в llama.cpp

Ограничения

На HumanEval модель показала pass@1 0%, поэтому не подходит для надёжной генерации кода или сложных рассуждений. Автор также сообщает о проблемах в токенизаторе и обучении внимания; контекст ограничен 4096 токенами.

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

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

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

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

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

Открыть на Hugging Face

EmsyAI (V4)

Hugging Face Model License: MIT

gguf llama.cpp ollama pytorch lora from-scratch educational

EmsyAI is a 196M parameter language model I built from scratch to learn how LLMs actually work under the hood.

Instead of just fine-tuning an existing model, I wanted to handle the entire pipeline locally: writing a custom BPE tokenizer, building a Llama-style transformer in PyTorch, pretraining it on 2 billion tokens, applying LoRA instruction tuning, and exporting it to GGUF so it runs natively in Ollama.

📐 Architecture Evolution

SpecificationEmsyAI V3 (Titan)EmsyAI V4 (Current)
Active Parameters153.8M196.7M (+2.3M LoRA)
Training Tokens~150M1.96 Billion
Context Window4,096 tokens4,096 tokens
Hidden Dimension8961,024
Layers1616
Attention MechanismGQA (14 Q / 2 KV)GQA (16 Q / 4 KV)
FFN Dimension2,560 (SwiGLU)2,816 (SwiGLU)
Validation Perplexity~14.25.86

📉 Pretraining Hardware & Results

Pretrained on 1x NVIDIA RTX GPU (24GB VRAM) using mixed-precision FP16 and AdamW with cosine decay. The model was trained for 15,000 steps. The loss curve behaved surprisingly well, decaying smoothly down to a final validation perplexity of 5.86.

V4 Training Curve

🧪 Evaluation & Data Contamination

After pretraining, I fine-tuned the model using LoRA on the ~20k CodeAlpaca instruction dataset to teach it the standard [USER] / [MODEL] prompt format.

HumanEval pass@1 Score: 0.0% (Expected Baseline)

Analysis: Models that pass HumanEval are typically 40x-350x larger (8B-70B+) and trained on trillions of tokens. For a 196M parameter model, a 0.0% score is mathematically expected and serves as a strict baseline.

More interestingly, before fine-tuning, I audited the open-source CodeAlpaca dataset for contamination. Using a 13-gram exact match technique, I found 1,644 sequences in CodeAlpaca that perfectly leaked HumanEval test logic (like Heron's formula and prime number checks). Despite this verifiable data leakage in the training set, the model still scored 0.0%—meaning it didn't just blindly overfit or memorize the test set during instruction tuning. It remains an honest, baseline 196M model.

💬 Sample Output

Here is an example of how the 196M model responds post-instruction tuning. While it lacks the deep reasoning of a 7B model, it successfully internalizes Python syntax and basic structures.

Prompt:

[USER]
Write a python function to check if a number is even.
[MODEL]

Completion (EmsyAI V4):

def is_even(num):
    if num % 2 == 0:
        return True
    else:
        return False

💻 How to Run locally

The model is exported to GGUF and can be run instantly via Ollama. Because the .gguf file is too large for GitHub (and .gitignored), you'll pull the weights directly from Hugging Face first.

# Clone the repository
git clone https://github.com/gulding/EmsyAI.git
cd EmsyAI

# Download the V4 GGUF weights from Hugging Face
huggingface-cli download gulding/EmsyAI emsyai-v4-instruct-f32.gguf --local-dir .

# Create and run the Ollama model
ollama create emsyai-v4 -f Modelfile
ollama run emsyai-v4

🛠️ Lessons Learned (Blueprint for V5)

Building this taught me a lot about transformer stability. Here is what I'm fixing for V5:

  1. QK-Norm: I ran into severe attention logit explosions during scaling. V5 will inject RMSNorm on the Query and Key states to stabilize training.
  2. Document-Aware Packing: Currently, the tokenizer blindly concatenates text. V5 will respect document boundaries to prevent cross-document attention poisoning.
  3. Tokenizer Byte Collisions: I realized late in training that bytes 0-3 currently overlap with special tokens. I'll be rebuilding the tokenizer from scratch and expanding the vocab to 32K.
  4. RoPE Scaling: Lowering head_dim to 64 and adjusting rope_theta to 500,000 to better balance high/low frequency positional data at 4096 context.

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

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

GPU в ailist

llama.cpp

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

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
1f00384

0 моделей