/ Модель

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

Контекст
16 384 токена
Параметры
10,6 млрд
Размер весов
21,6 ГБ
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
EEVE-Korean-10.8B-v1.0
Опубликована
10 апр 2024

EEVE-Korean-10.8B-v1.0-16k

Генерация текстаТекст → текст

Корейская авторегрессионная модель на 10,6 млрд параметров для генерации текста с контекстом до 16 384 токенов.

24скачиваний за 30 дней0лайковвеса обновлены15 апр 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

EEVE-Korean-10.8B-v1.0-16k — плотная авторегрессионная языковая модель семейства Llama, разработанная командой EEVE. Это версия с расширенным корейским словарём, основанная на yanolja/EEVE-Korean-10.8B-v1.0 и дообученная на веб-данных на корейском языке. В README описан подход с предварительным обучением эмбеддингов новых токенов и частичным дообучением lm_head при сохранении исходных параметров базовой модели.

Модель предназначена для генерации текста и задач на корейском языке; контекстное окно составляет 16 384 токена, размер — 10,6 млрд параметров. Она не проходила обучение на инструкциях, поэтому её следует использовать как базовую языковую модель, а для диалоговых приложений и специализированных сценариев может потребоваться дополнительное обучение. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

Открыть на Hugging Face

EEVE-Korean-10.8B-v1.0

Join Our Community on Discord!

If you're passionate about the field of Large Language Models and wish to exchange knowledge and insights, we warmly invite you to join our Discord server. It's worth noting that Korean is the primary language used in this server. The landscape of LLM is evolving rapidly, and without active sharing, our collective knowledge risks becoming outdated swiftly. Let's collaborate and drive greater impact together! Join us here: Discord Link.

Our Dedicated Team (Alphabetical Order)

ResearchEngineeringProduct ManagementUX Design
Myeongho JeongGeon KimBokyung HuhEunsue Choi
Seungduk KimRifqi Alfi
Seungtaek ChoiSanghoon Han
Suhyun Kang

About the Model

This model is a Korean vocabulary-extended version of upstage/SOLAR-10.7B-v1.0, specifically fine-tuned on various Korean web-crawled datasets available on HuggingFace. Our approach was to expand the model's understanding of Korean by pre-training the embeddings for new tokens and partially fine-tuning the lm_head embeddings for the already existing tokens while preserving the original parameters of the base model.

Technical Deep Dive

To adapt foundational models from English to Korean, we use subword-based embedding with a seven-stage training process involving parameter freezing. This approach progressively trains from input embeddings to full parameters, efficiently extending the model's vocabulary to include Korean. Our method enhances the model's cross-linguistic applicability by carefully integrating new linguistic tokens, focusing on causal language modeling pre-training. We leverage the inherent capabilities of foundational models trained on English to efficiently transfer knowledge and reasoning to Korean, optimizing the adaptation process.

For more details, please refer to our technical report: Efficient and Effective Vocabulary Expansion Towards Multilingual Large Language Models.

Here’s an simplified code for our key approach:

# number_of_old_tokens is the size of tokenizer before vocab extension. For example, in case of EEVE-Korean-10.8B-v1.0, number_of_old_tokens is 32000.
def freeze_partial_embedding_hook(grad):
    grad[:number_of_old_tokens] = 0
    return grad

for name, param in model.named_parameters():
    if ("lm_head" in name or "embed_tokens" in name) and "original" not in name:
        param.requires_grad = True
        if "embed_tokens" in name:
            param.register_hook(freeze_partial_embedding_hook)
    else:
        param.requires_grad = False

Usage and Limitations

Keep in mind that this model hasn't been fine-tuned with instruction-based training. While it excels in Korean language tasks, we advise careful consideration and further training for specific applications.

Training Details

Our model’s training was comprehensive and diverse:

  • Vocabulary Expansion: We meticulously selected 8,960 Korean tokens based on their frequency in our Korean web corpus. This process involved multiple rounds of tokenizer training, manual curation, and token frequency analysis, ensuring a rich and relevant vocabulary for our model.

    1. Initial Tokenizer Training: We trained an intermediate tokenizer on a Korean web corpus, with a vocabulary of 40,000 tokens.

    2. Extraction of New Korean Tokens: From the intermediate tokenizer, we identified all Korean tokens not present in the original SOLAR's tokenizer.

    3. Manual Tokenizer Construction: We then built the target tokenizer, focusing on these new Korean tokens.

    4. Frequency Analysis: Using the target tokenizer, we processed a 100GB Korean corpus to count each token's frequency.

    5. Refinement of Token List: We removed tokens appearing less than 6,000 times, ensuring to secure enough tokens to train models later.

    6. Inclusion of Single-Letter Characters: Counted missing Korean single-letter characters and added them to the target tokenizer that appeared more than 6,000 times.

    7. Iterative Refinement: We repeated steps 2 to 6 until there were no tokens to drop or add.

    8. Training Bias Towards New Tokens: Our training data was biased to include more texts with new tokens, for effective learning.

This rigorous approach ensured a comprehensive and contextually rich Korean vocabulary for the model.

Citation

@misc{kim2024efficient,
      title={Efficient and Effective Vocabulary Expansion Towards Multilingual Large Language Models}, 
      author={Seungduk Kim and Seungtaek Choi and Myeongho Jeong},
      year={2024},
      eprint={2402.14714},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей