/ Модель

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

Контекст
131 072 токена
Параметры
1,2 млрд
Лицензия
Llama 3
Архитектура
llama · dense
Базовая модель
Llama-3.2-1B-Instruct
Библиотека
transformers
Опубликована
6 мар 2025

Goppa-LogiLlama

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

LogiLlama — компактная англоязычная модель Goppa AI для диалогов и задач, требующих логических рассуждений, рассчитанная на локальный запуск.

28скачиваний за 30 дней14лайковвеса обновлены6 мар 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

LogiLlama — языковая модель Goppa AI, дообученная на базе Meta-Llama-3.2-1B-Instruct для улучшения логических рассуждений и интеграции знаний. Это плотная авторегрессионная модель семейства Llama с 1,2 млрд параметров; README указывает 16 слоёв, размер скрытого состояния 2048 и настройку масштабирования RoPE типа llama3. Контекст модели — до 131072 токенов. Модель принимает текст и генерирует текст, рассчитана на английский язык.

LogiLlama предназначена для диалогов, ответов на вопросы и решения задач, где нужны рассуждения, при локальном запуске на устройствах с ограниченными ресурсами. В карточке заявлены компактность и энергоэффективность; модель распространяется в формате safetensors, а README сообщает о весах F32. Использование регулируется лицензией Llama 3 Community License Agreement.

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

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

Ограничения

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

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

LogiLlama

LogiLlama is a fine-tuned language model developed by Goppa AI. Built upon a 1B-parameter base from LLaMA, LogiLlama has been enhanced with injected knowledge and logical reasoning abilities. Our mission is to make smaller models smarter—delivering improved reasoning and problem-solving capabilities while maintaining a low memory footprint and energy efficiency for on-device applications.


Model Summary

While recent trends in language models have leaned towards scaling up parameters, LogiLlama demonstrates that “less can be more.” By fine-tuning a 1B parameter base model with advanced logical reasoning techniques, LogiLlama offers:

  • Enhanced Reasoning: Improved logical thinking and knowledge integration for more accurate and context-aware responses.
  • Efficiency: Designed for on-device processing with a low memory and energy footprint.
  • Transparency: Our training process and configuration files are fully open-source, reflecting our commitment to transparent and reproducible research.

LogiLlama is the first step in our journey at Goppa AI to develop efficient, intelligent, and resource-friendly models that challenge the notion that bigger is always better.


Model Description

  • Model Type: Small Language Model (SLM) fine-tuned from a 1B parameter LLaMA base
  • Architecture:
    • Hidden Size: 2048
    • Hidden Layers: 16
    • Attention Heads: 32
    • Intermediate Size: 8192
    • Special Configuration: Incorporates a customized ROPE scaling (rope_type: "llama3")
  • Tokenization:
    • Custom tokenizer with an extensive set of special tokens (defined in special_tokens_map.json and tokenizer_config.json)
  • Language: English
  • License: Llama 3 Community License Agreement

How to Use

Below is a sample code snippet demonstrating how to use LogiLlama with the Hugging Face Transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer

# Load tokenizer and model from our repository
tokenizer = AutoTokenizer.from_pretrained("goppa-ai/Goppa-LogiLlama", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("goppa-ai/Goppa-LogiLlama", trust_remote_code=True)

model.to('cuda')
text = "When faced with a complex problem, what should one do?"
input_ids = tokenizer(text, return_tensors="pt").to('cuda').input_ids
outputs = model.generate(
    input_ids,
    max_length=2500,
    temperature=0.6,
    top_p=0.9,
    repetition_penalty=1.2,
    pad_token_id=tokenizer.eos_token_id
)
print(tokenizer.batch_decode(outputs[:, input_ids.shape[1]:-1])[0].strip())

Configuration Files

The model repository includes several key configuration files that ensure LogiLlama functions seamlessly within the Hugging Face ecosystem:

  • config.json: Contains the model architecture settings, including hidden size, number of layers, attention heads, and other hyperparameters.
  • generation_config.json: Defines generation parameters such as temperature, top-p sampling, and end-of-sequence tokens.
  • special_tokens_map.json: Maps special tokens (e.g., beginning-of-text, end-of-text, padding) used during tokenization.
  • tokenizer_config.json: Provides metadata and settings for the tokenizer, ensuring consistency with the model’s vocabulary and special tokens.

Training Details

LogiLlama was fine-tuned by injecting logical reasoning and domain-specific knowledge into a 1B parameter LLaMA base. By carefully curating training data and employing specialized techniques, we enhanced the model’s capability to handle reasoning tasks without significantly increasing its size. This project marks our commitment to advancing small, efficient models that do not compromise on performance.


Citation

If you use LogiLlama in your research, please cite:

@misc{goppa2025logillama,
      title={LogiLlama: Injecting Logical Reasoning into Small Language Models}, 
      author={Goppa AI},
      year={2025},
      note={https://github.com/GoppaAI/LogiLlama}
}

License

LogiLlama is released under the MIT License.


Inference & Deployment

  • Model Size: 1B parameters
  • Tensor Type: float32 (F32)
  • Deployment: Optimized for on-device inference and resource-constrained environments. Currently available for local deployment; stay tuned for updates on hosted inference solutions.

At Goppa AI, we are committed to pushing the boundaries of efficiency and intelligence in language models. LogiLlama is our first step towards creating small models that are not only resource-friendly but also smart enough to handle complex reasoning tasks.

Happy innovating!

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей