/ Модель

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

Лицензия
CC BY-NC 4.0
Библиотека
transformers
Опубликована
8 дек 2024

LLama-3.1-KazLLM-1.0-8B

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

Адаптированная ISSAI языковая чат-модель Llama 3.1 для генерации ответов, в первую очередь на казахском языке.

2 639скачиваний за 30 дней23лайкавеса обновлены10 дек 2024

Бенчмарки

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

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

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

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

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

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

LLama-3.1-KazLLM-1.0-8B — языковая модель, адаптированная Институтом интеллектуальных систем и искусственного интеллекта (ISSAI) для более полезных ответов на казахском языке. Это текстовая чат-модель на архитектуре Llama 3.1; обозначение версии указывает на вариант с 8 млрд параметров. Репозиторий содержит веса в формате safetensors, модель используется через Transformers.

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

Модель принимает и генерирует текст. В метаданных отмечены казахский, русский, английский и турецкий языки, а карточка приводит условия Meta для Llama 3.1 и дополнительную лицензию CC BY-NC 4.0. Авторы предупреждают о возможных смещениях и ошибках, поэтому ответы следует проверять; при использовании нужно соблюдать условия обеих лицензий и правила допустимого использования Llama 3.1.

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

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

Ограничения

Модель может допускать ошибки и воспроизводить смещения, поэтому ответы требуют критической проверки. Опубликованные в README результаты бенчмарков относятся к модели на 70 млрд параметров, а не подтверждают показатели версии 8B.

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

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

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

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

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

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

Открыть на Hugging Face

Model Overview

image/png

Made in Kazakhstan - Қазақстанда жасалған

Description:

LLama-3.1-KazLLM-1.0-8B is a large language model customized by ISSAI to improve the helpfulness of LLM generated responses in the Kazakh language.

Terms of use

By accessing this model, you are agreeing to the LLama 3.1 terms and conditions of the following:

Additionally, this model is licensed under the CC BY-NC 4.0 license.

Evaluation Metrics

Model evaluations were conducted using established benchmarks, employing a systematic process to test performance across various cognitive and technical tasks.

To benchmark your own model and learn about the evaluation conditions for the results below, refer to theIS2AI/KazLLM_Benchmark Repo.

English Leaderboard

ModelTypeAverageMMLU_enWinogrande_enHellaswag_enARC_enGSM8k_enDROP_en
GPT-4oClosed85.6683.272.0410094.793.0371
Llama-3.1-70b-instructOpen-source85.5976.5881.188.4695.7790.381.32
ISSAI KazLLM-1.0-70BOpen-source81.667.4982.5192.4991.9881.6573.45
ISSAI KazLLM-1.0-8BOpen-source76.464.7173.9784.190.7871.9572.91
Llama-3.1-8b-instructOpen-source73.465.6767.8674.0689.2373.9969.57

image/png


Kazakh Leaderboard

ModelTypeAverageMMLU_kkWinogrande_kkHellaswag_kkARC_kkGSM8k_kkDROP_kk
GPT-4oClosed75.9571.262.7683.2690.6785.8262
ISSAI KazLLM-1.0-70BOpen-source74.2664.2673.5781.5288.5876.3561.27
Llama-3.1-70b-instructOpen-source64.1960.9560.8450.9382.7878.4751.18
ISSAI KazLLM-1.0-8BOpen-source56.8537.3963.6157.6473.5157.0151.94
Llama-3.1-8b-instructOpen-source44.8441.0850.3733.2457.4448.9837.93

image/png


Russian Leaderboard

ModelTypeAverageMMLU_ruWinogrande_ruHellaswag_ruARC_ruGSM8k_ruDROP_ru
ISSAI KazLLM-1.0-70BOpen-source72.9939.8675.7286.6795.4178.4761.79
GPT-4oClosed72.8340.4565.1486.7693.2986.3565
Llama-3.1-70b-instructOpen-source69.9738.6963.6773.8692.9887.4963.13
ISSAI KazLLM-1.0-8BOpen-source61.432.9860.2269.3585.666.2653.98
Llama-3.1-8b-instructOpen-source55.6433.2347.1452.1382.1369.0750.15

image/png

Usage:

This code has been tested on Transformers v4.45.1, torch v2.3.1 and H100 GPU, but any setup that supports meta-llama/Llama-3.1-70B-Instruct should support this model as well. If you run into problems, you can consider doing:

pip install -U transformers.
# Use a pipeline as a high-level helper
from transformers import pipeline

messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="issai/LLama-3.1-KazLLM-1.0-8B")
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("issai/LLama-3.1-KazLLM-1.0-8B")
model = AutoModelForCausalLM.from_pretrained("issai/LLama-3.1-KazLLM-1.0-8B")

Input:

Input Type(s): Text Input Format: String Input Parameters: One Dimensional (1D) Other Properties Related to Input: Max of 128k tokens

Output:

Output Type(s): Text Output Format: String Output Parameters: One Dimensional (1D) Other Properties Related to Output: Max of 4k tokens

Model Version:

v1.0

Ethical and Legal Considerations:

The models provided in this repository, including ISSAI KAZ-LLM, are powerful tools designed to advance research and innovation. However, it is essential to use these models responsibly, ethically, and in accordance with applicable laws and regulations.

Key Guidelines for Responsible Use:

  1. Bias and Fairness: While the models are designed to reflect linguistic and cultural diversity, they may still exhibit biases. Please ensure that the outputs are evaluated critically and not used to perpetuate harmful stereotypes or unfair practices.

  2. Content Generation: Generated content should not be used to produce harmful, misleading, or deceptive information. Users should take extra care in ensuring the authenticity and reliability of the output in all contexts.

  3. Privacy and Data Protection: Ensure that any personal data input into the models complies with privacy laws and regulations. Do not use the models to generate or process sensitive personal information unless proper safeguards are in place.

  4. Ethical Considerations: The models should not be used to create content that promotes violence, hatred, discrimination, or illegal activities. Always adhere to ethical standards and foster positive impact through AI technologies.

  5. Accountability: The responsibility for the use of the models lies with the users. We encourage you to evaluate the generated content critically and consider the potential social, cultural, and ethical consequences of its use.

By accessing or using these models, you agree to follow these guidelines and contribute to the responsible development and application of AI technologies.

For any questions or concerns, please contact us at issai@nu.edu.kz.

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

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

GPU в ailist

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

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

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
015343c

0 моделей