/ Модель

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

Контекст
4 096 токенов
Параметры
270 млн
Лицензия
Apache 2.0
Архитектура
mistral · dense
Опубликована
28 июл 2024

Lite-Oute-1-300M-Instruct

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

Компактная диалоговая модель OuteAI для генерации текста и ответов на вопросы с контекстом до 4096 токенов.

509скачиваний за 30 дней9лайковвеса обновлены25 авг 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Lite-Oute-1-300M-Instruct — компактная языковая модель OuteAI на архитектуре Mistral с 270,2 млн параметров. Она предназначена для диалоговой генерации текста и развивает предыдущую версию Lite-Oute на 150 млн параметров; модель обучена на 30 млрд токенов и использует контекст длиной 4096 токенов.

Модель рассчитана на эффективное развертывание на разных устройствах и поддерживает формат диалога ChatML. Её можно применять для коротких диалогов, ответов на вопросы и генерации текста. Небольшой размер помогает экономить ресурсы, но связность и удержание контекста могут уступать более крупным языковым моделям. Репозиторий содержит веса Safetensors; лицензия — Apache 2.0.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Lite-Oute-1-300M-Instruct

Lite-Oute-1-300M-Instruct is a Lite series model based on the Mistral architecture, comprising approximately 300 million parameters. This model aims to improve upon our previous 150M version by increasing size and training on a more refined dataset. The primary goal of this 300 million parameter model is to offer enhanced performance while still maintaining efficiency for deployment on a variety of devices. With its larger size, it should provide improved context retention and coherence, however users should note that as a compact model, it still have limitations compared to larger language models. The model was trained on 30 billion tokens with a context length of 4096.

Available versions:

Lite-Oute-1-300M-Instruct Lite-Oute-1-300M-Instruct-GGUF Lite-Oute-1-300M Lite-Oute-1-300M-GGUF

Chat format

[!IMPORTANT] This model uses ChatML template. Ensure you use the correct template:

<|im_start|>system
[System message]<|im_end|>
<|im_start|>user
[Your question or message]<|im_end|>
<|im_start|>assistant
[The model's response]<|im_end|>

Benchmarks:

Usage with HuggingFace transformers

The model can be used with HuggingFace's transformers library:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = AutoModelForCausalLM.from_pretrained("OuteAI/Lite-Oute-1-300M-Instruct").to(device)
tokenizer = AutoTokenizer.from_pretrained("OuteAI/Lite-Oute-1-300M-Instruct")
def generate_response(message: str, temperature: float = 0.4, repetition_penalty: float = 1.12) -> str:
    # Apply the chat template and convert to PyTorch tensors
    messages = [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": message}
    ]
    input_ids = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True, return_tensors="pt"
    ).to(device)
    # Generate the response
    output = model.generate(
        input_ids,
        max_length=512,
        temperature=temperature,
        repetition_penalty=repetition_penalty,
        do_sample=True
    ) 
    # Decode the generated output
    generated_text = tokenizer.decode(output[0], skip_special_tokens=True)
    return generated_text
message = "I'd like to learn about language models. Can you break down the concept for me?"
response = generate_response(message)
print(response)

Risk Disclaimer

By using this model, you acknowledge that you understand and assume the risks associated with its use. You are solely responsible for ensuring compliance with all applicable laws and regulations. We disclaim any liability for problems arising from the use of this open-source model, including but not limited to direct, indirect, incidental, consequential, or punitive damages. We make no warranties, express or implied, regarding the model's performance, accuracy, or fitness for a particular purpose. Your use of this model is at your own risk, and you agree to hold harmless and indemnify us, our affiliates, and our contributors from any claims, damages, or expenses arising from your use of the model.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей