/ Модель

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

Контекст
4 096 токенов
Параметры
6,7 млрд
Размер весов
27,4 ГБ
Лицензия
Apache 2.0
Архитектура
llama · dense
Опубликована
30 янв 2024

Trendyol-LLM-7b-base-v0.1

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

Базовая авторегрессионная модель Trendyol на основе LLaMA 2 7B для генерации и продолжения текста, прежде всего на английском и турецком языках.

71скачиваний за 30 дней57лайковвеса обновлены31 янв 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trendyol LLM 7B Base — авторегрессионная языковая модель, разработанная Trendyol на основе LLaMA 2 7B. Это базовая версия семейства с отдельным вариантом для чата. Модель содержит 6,7 млрд параметров, использует плотную архитектуру LLaMA и принимает текст, генерируя текст. В метаданных указан контекст 4096 токенов; при описании обучения README приводит максимальную длину последовательности 1024 токена.

Базовая модель дообучена с помощью LoRA на 10 млрд токенов. Она предназначена для продолжения текста и может служить основой для генеративных приложений, включая черновики и подсказки на английском и турецком языках. Распространяется по лицензии Apache-2.0.

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

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Trendyol LLM

Trendyol LLM is a generative model that is based on LLaMa2 7B model. This is the repository for the base model.

Model Details

Model Developers Trendyol

Variations base and chat variations.

Input Models input text only.

Output Models generate text only.

Model Architecture Trendyol LLM is an auto-regressive language model (based on LLaMa2 7b) that uses an optimized transformer architecture. The base version is fine-tuned on 10 billion tokens with the following trainables by using LoRA:

  • lr=2e-4
  • lora_rank=64
  • lora_alpha=128
  • lora_trainable=q_proj,v_proj,k_proj,o_proj,gate_proj,down_proj,up_proj
  • modules_to_save=embed_tokens,lm_head
  • lora_dropout=0.05
  • fp16=True
  • max_seq_length=1024

Usage

from transformers import AutoModelForCausalLM, LlamaTokenizer, pipeline

model_id = "Trendyol/Trendyol-LLM-7b-base-v0.1"
tokenizer = LlamaTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, 
                                             device_map='auto', 
                                             load_in_8bit=True)

sampling_params = dict(do_sample=True, temperature=0.3, top_k=50, top_p=0.9)

pipe = pipeline("text-generation", 
                model=model, 
                tokenizer=tokenizer,
                device_map="auto",
                max_new_tokens=1024, 
                return_full_text=True,
                repetition_penalty=1.1
               )


def generate_output(user_query):
    outputs = pipe(user_query,
               **sampling_params
              )
    return outputs[0]["generated_text"]

user_query = "Ders çalışmanın en iyi 5 yolu:"
response = generate_output(user_query)

Limitations, Risks, Bias, and Ethical Considerations

Limitations and Known Biases

  • Primary Function and Application: Trendyol LLM, an autoregressive language model, is primarily designed to predict the next token in a text string. While often used for various applications, it is important to note that it has not undergone extensive real-world application testing. Its effectiveness and reliability across diverse scenarios remain largely unverified.

  • Language Comprehension and Generation: The model is primarily trained in standard English and Turkish. Its performance in understanding and generating slang, informal language, or other languages may be limited, leading to potential errors or misinterpretations.

  • Generation of False Information: Users should be aware that Trendyol LLM may produce inaccurate or misleading information. Outputs should be considered as starting points or suggestions rather than definitive answers.

Risks and Ethical Considerations

  • Potential for Harmful Use: There is a risk that Trendyol LLM could be used to generate offensive or harmful language. We strongly discourage its use for any such purposes and emphasize the need for application-specific safety and fairness evaluations before deployment.

  • Unintended Content and Bias: The model was trained on a large corpus of text data, which was not explicitly checked for offensive content or existing biases. Consequently, it may inadvertently produce content that reflects these biases or inaccuracies.

  • Toxicity: Despite efforts to select appropriate training data, the model is capable of generating harmful content, especially when prompted explicitly. We encourage the open-source community to engage in developing strategies to minimize such risks.

Recommendations for Safe and Ethical Usage

  • Human Oversight: We recommend incorporating a human curation layer or using filters to manage and improve the quality of outputs, especially in public-facing applications. This approach can help mitigate the risk of generating objectionable content unexpectedly.

  • Application-Specific Testing: Developers intending to use Trendyol LLM should conduct thorough safety testing and optimization tailored to their specific applications. This is crucial, as the model’s responses can be unpredictable and may occasionally be biased, inaccurate, or offensive.

  • Responsible Development and Deployment: It is the responsibility of developers and users of Trendyol LLM to ensure its ethical and safe application. We urge users to be mindful of the model's limitations and to employ appropriate safeguards to prevent misuse or harmful consequences.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей