/ Модель

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

Лицензия
Своя лицензия
Базовая модель
internlm2-math-plus-1_8b
Библиотека
gguf
Опубликована
27 мая 2024

internlm2-math-plus-1_8b-IMat-GGUF

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

internlm2-math-plus-1_8b-IMat-GGUF — квантизированная версия модели internlm/internlm2-math-plus-1_8b, подготовленная legraphista с использованием llama.cpp b3008 и IMatrix-калибровки.

3 850скачиваний за 30 дней3лайкавеса обновлены27 мая 2024

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста, прежде всего для математических задач, и поддерживает английский и китайский языки. Формат GGUF рассчитан на запуск через совместимые инструменты, включая llama.cpp.

Исходная модель использует формат BF16 и имеет размер 1,8 млрд параметров. Доступны варианты от FP16 и BF16 до различных уровней квантизации Q и IQ; для ряда низкобитных вариантов применена IMatrix, что позволяет уменьшить размер файлов при сохранении качества по сравнению с обычной квантизацией. Размер доступных файлов составляет примерно от 727 МБ до 3,78 ГБ. README не содержит данных о длине контекста, точной архитектуре, результатах оценки или ограничениях исходной модели. Лицензия указана как other, без дополнительных условий в представленной карточке.

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

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

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

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

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

Открыть на Hugging Face

internlm2-math-plus-1_8b-IMat-GGUF

Llama.cpp imatrix quantization of internlm/internlm2-math-plus-1_8b

Original Model: internlm/internlm2-math-plus-1_8b
Original dtype: BF16 (bfloat16)
Quantized by: llama.cpp b3008
IMatrix dataset: here


Files

IMatrix

Status: ✅ Available
Link: here

Common Quants

FilenameQuant typeFile SizeStatusUses IMatrixIs Split
internlm2-math-plus-1_8b.Q8_0.ggufQ8_02.01GB✅ Available⚪ Static📦 No
internlm2-math-plus-1_8b.Q6_K.ggufQ6_K1.55GB✅ Available⚪ Static📦 No
internlm2-math-plus-1_8b.Q4_K.ggufQ4_K1.17GB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.Q3_K.ggufQ3_K964.41MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.Q2_K.ggufQ2_K771.89MB✅ Available🟢 IMatrix📦 No

All Quants

FilenameQuant typeFile SizeStatusUses IMatrixIs Split
internlm2-math-plus-1_8b.FP16.ggufF163.78GB✅ Available⚪ Static📦 No
internlm2-math-plus-1_8b.BF16.ggufBF163.78GB✅ Available⚪ Static📦 No
internlm2-math-plus-1_8b.Q5_K.ggufQ5_K1.36GB✅ Available⚪ Static📦 No
internlm2-math-plus-1_8b.Q5_K_S.ggufQ5_K_S1.33GB✅ Available⚪ Static📦 No
internlm2-math-plus-1_8b.Q4_K_S.ggufQ4_K_S1.12GB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.Q3_K_L.ggufQ3_K_L1.03GB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.Q3_K_S.ggufQ3_K_S888.26MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.Q2_K_S.ggufQ2_K_S727.45MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ4_NL.ggufIQ4_NL1.11GB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ4_XS.ggufIQ4_XS1.06GB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ3_M.ggufIQ3_M915.00MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ3_S.ggufIQ3_S888.26MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ3_XS.ggufIQ3_XS852.87MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ3_XXS.ggufIQ3_XXS787.59MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ2_M.ggufIQ2_M719.96MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ2_S.ggufIQ2_S679.06MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ2_XS.ggufIQ2_XS635.43MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ2_XXS.ggufIQ2_XXS591.39MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ1_M.ggufIQ1_M540.28MB✅ Available🟢 IMatrix📦 No
internlm2-math-plus-1_8b.IQ1_S.ggufIQ1_S509.60MB✅ Available🟢 IMatrix📦 No

Downloading using huggingface-cli

If you do not have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Download the specific file you want:

huggingface-cli download legraphista/internlm2-math-plus-1_8b-IMat-GGUF --include "internlm2-math-plus-1_8b.Q8_0.gguf" --local-dir ./

If the model file is big, it has been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download legraphista/internlm2-math-plus-1_8b-IMat-GGUF --include "internlm2-math-plus-1_8b.Q8_0/*" --local-dir internlm2-math-plus-1_8b.Q8_0
# see FAQ for merging GGUF's

Inference

Simple chat template

<s><|im_start|>user
Can you provide ways to eat combinations of bananas and dragonfruits?<|im_end|>
<|im_start|>assistant
Sure! Here are some ways to eat bananas and dragonfruits together:
 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey.
 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey.<|im_end|>
<|im_start|>user
What about solving an 2x + 3 = 7 equation?<|im_end|>

Chat template with system prompt

<s><|im_start|>system
You are a helpful AI.<|im_end|>
<|im_start|>user
Can you provide ways to eat combinations of bananas and dragonfruits?<|im_end|>
<|im_start|>assistant
Sure! Here are some ways to eat bananas and dragonfruits together:
 1. Banana and dragonfruit smoothie: Blend bananas and dragonfruits together with some milk and honey.
 2. Banana and dragonfruit salad: Mix sliced bananas and dragonfruits together with some lemon juice and honey.<|im_end|>
<|im_start|>user
What about solving an 2x + 3 = 7 equation?<|im_end|>

Llama.cpp

llama.cpp/main -m internlm2-math-plus-1_8b.Q8_0.gguf --color -i -p "prompt here (according to the chat template)"

FAQ

Why is the IMatrix not applied everywhere?

According to this investigation, it appears that lower quantizations are the only ones that benefit from the imatrix input (as per hellaswag results).

How do I merge a split GGUF?

  1. Make sure you have gguf-split available
  2. Locate your GGUF chunks folder (ex: internlm2-math-plus-1_8b.Q8_0)
  3. Run gguf-split --merge internlm2-math-plus-1_8b.Q8_0/internlm2-math-plus-1_8b.Q8_0-00001-of-XXXXX.gguf internlm2-math-plus-1_8b.Q8_0.gguf
    • Make sure to point gguf-split to the first chunk of the split.

Got a suggestion? Ping me @legraphista!

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

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

GPU в ailist

llama.cpp

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

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

Ревизия весов
8a83d77

0 моделей