/ Модель

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

Лицензия
Своя лицензия
Библиотека
transformers
Опубликована
6 фев 2025

EXAONE-3.5-7.8B-Instruct-GGUF

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

EXAONE-3.5-7.8B-Instruct-GGUF — набор GGUF-квантизаций инструкционной языковой модели EXAONE-3.5-7.8B-Instruct, разработанной LGAI.

2 791скачиваний за 30 дней0лайковвеса обновлены7 фев 2025

Бенчмарки

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

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

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

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

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

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

Репозиторий подготовлен ThomasBaruzier с использованием llama.cpp и imatrix-квантизации; представлены варианты с разными уровнями сжатия и размерами файлов.

Модель предназначена для генерации текста и выполнения инструкций в текстовых сценариях. В README указаны английский и корейский языки. Размер исходной модели составляет 7,8 млрд параметров, однако архитектура и максимальная длина контекста не указаны. Доступны варианты квантизации IQ и Q, примерно от 1,8 до 5,6 ГБ; выбор варианта позволяет балансировать между требованиями к памяти и сохранением качества.

К сильным сторонам относятся возможность локального запуска через совместимый стек llama.cpp, широкий выбор квантизаций и опубликованные показатели perplexity и accuracy для сравнения вариантов. Более агрессивное сжатие уменьшает размер модели, но может заметнее снижать качество. Модель текстовая и не поддерживает заявленные мультимодальные сценарии. Лицензия обозначена как EXAONE; подробные условия следует уточнять в файле LICENSE.

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

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

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

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

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

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

Открыть на Hugging Face

Llama.cpp imatrix quantizations of LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct

Using llama.cpp commit 5783575 for quantization.

All quants were made using the imatrix option and Bartowski's calibration file.

Perplexity table (the lower the better)

QuantSize (MB)PPLSize (%)Accuracy (%)PPL error rate
IQ1_S182026.320512.2033.810.40
IQ1_M195519.036013.1046.750.28
IQ2_XXS218213.327614.6366.770.20
IQ2_XS237911.774215.9575.580.18
IQ2_S251411.308416.8578.690.17
IQ2_M269510.385018.0785.690.16
Q2_K_S273011.291018.3078.820.17
Q2_K291211.138619.5279.890.17
IQ3_XXS30069.545320.1593.230.14
IQ3_XS32269.210321.6396.620.14
Q3_K_S336510.057122.5688.490.16
IQ3_S33829.242022.6796.290.14
IQ3_M34799.070923.3298.110.13
Q3_K_M37039.207824.8296.650.14
Q3_K_L39929.190826.7696.830.14
IQ4_XS41019.016627.4998.700.14
Q4_043169.418628.9394.490.14
IQ4_NL43189.029728.9598.550.14
Q4_K_S43328.963429.0499.280.13
Q4_K_M45498.910730.5099.870.13
Q4_147438.961431.8099.310.13
Q5_K_S51848.904234.7599.940.13
Q5_051989.053334.8598.300.14
Q5_K_M53118.910035.6099.880.13
Q5_156258.923037.7199.730.13
Q6_K61218.880041.03100.220.13
Q8_079278.853453.14100.520.13
F16149178.89921001000.13

EXAONE-3.5-7.8B-Instruct

Introduction

We introduce EXAONE 3.5, a collection of instruction-tuned bilingual (English and Korean) generative models ranging from 2.4B to 32B parameters, developed and released by LG AI Research. EXAONE 3.5 language models include: 1) 2.4B model optimized for deployment on small or resource-constrained devices, 2) 7.8B model matching the size of its predecessor but offering improved performance, and 3) 32B model delivering powerful performance. All models support long-context processing of up to 32K tokens. Each model demonstrates state-of-the-art performance in real-world use cases and long-context understanding, while remaining competitive in general domains compared to recently released models of similar sizes.

For more details, please refer to our technical report, blog and GitHub.

This repository contains the instruction-tuned 7.8B language model with the following features:

  • Number of Parameters (without embeddings): 6.98B
  • Number of Layers: 32
  • Number of Attention Heads: GQA with 32 Q-heads and 8 KV-heads
  • Vocab Size: 102,400
  • Context Length: 32,768 tokens

Quickstart

We recommend to use transformers v4.43 or later.

Here is the code snippet to run conversational inference with the model:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

# Choose your prompt
prompt = "Explain how wonderful you are"  # English example
prompt = "스스로를 자랑해 봐"       # Korean example

messages = [
    {"role": "system", 
     "content": "You are EXAONE model from LG AI Research, a helpful assistant."},
    {"role": "user", "content": prompt}
]
input_ids = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_tensors="pt"
)

output = model.generate(
    input_ids.to("cuda"),
    eos_token_id=tokenizer.eos_token_id,
    max_new_tokens=128,
    do_sample=False,
)
print(tokenizer.decode(output[0]))

Note

The EXAONE 3.5 instruction-tuned language models were trained to utilize the system prompt, so we highly recommend using the system prompts provided in the code snippet above.

Evaluation

The following table shows the evaluation results of real-world use cases. The full evaluation results can be found in the technical report.

  • [1] KoMT-Bench is a dataset created by translating MT-Bench into Korean; see README for more details.

Deployment

EXAONE 3.5 models can be inferred in the various frameworks, such as:

  • TensorRT-LLM
  • vLLM
  • SGLang
  • llama.cpp
  • Ollama

Please refer to our EXAONE 3.5 GitHub for more details about the inference frameworks.

Quantization

We provide the pre-quantized EXAONE 3.5 models with AWQ and several quantization types in GGUF format. Please refer to our EXAONE 3.5 collection to find corresponding quantized models.

Limitation

The EXAONE language model has certain limitations and may occasionally generate inappropriate responses. The language model generates responses based on the output probability of tokens, and it is determined during learning from training data. While we have made every effort to exclude personal, harmful, and biased information from the training data, some problematic content may still be included, potentially leading to undesirable responses. Please note that the text generated by EXAONE language model does not reflects the views of LG AI Research.

  • Inappropriate answers may be generated, which contain personal, harmful or other inappropriate information.
  • Biased responses may be generated, which are associated with age, gender, race, and so on.
  • The generated responses rely heavily on statistics from the training data, which can result in the generation of semantically or syntactically incorrect sentences.
  • Since the model does not reflect the latest information, the responses may be false or contradictory.

LG AI Research strives to reduce potential risks that may arise from EXAONE language models. Users are not allowed to engage in any malicious activities (e.g., keying in illegal information) that may induce the creation of inappropriate outputs violating LG AI’s ethical principles when using EXAONE language models.

License

The model is licensed under EXAONE AI Model License Agreement 1.1 - NC

Citation

@article{exaone-3.5,
  title={EXAONE 3.5: Series of Large Language Models for Real-world Use Cases},
  author={LG AI Research},
  journal={arXiv preprint arXiv:https://arxiv.org/abs/2412.04862},
  year={2024}
}

Contact

LG AI Research Technical Support: contact_us@lgresearch.ai

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
65b6ef6

0 моделей