/ Модель

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

Лицензия
bigcode-openrail-m
Базовая модель
starcoder2-15b
Библиотека
transformers
Опубликована
29 апр 2024

starcoder2-15b-instruct-v0.1-GGUF

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

starcoder2-15b-instruct-v0.1-GGUF — это квантизированная в формате GGUF версия StarCoder2-15B-Instruct, разработанной командой BigCode и опубликованной в вариантах квантования пользователем bartowski.

2 741скачиваний за 30 дней9лайковвеса обновлены30 апр 2024

Бенчмарки

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

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

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

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

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

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

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

Модель основана на bigcode/starcoder2-15b и содержит около 15 млрд параметров. Доступны варианты квантования Q8_0, Q6_K, Q5_K, Q4_K, IQ4, Q3_K и IQ3 объёмом примерно от 7 до 17 ГБ, что позволяет выбирать между качеством и требованиями к памяти. README не указывает поддерживаемые языки программирования и размер контекста. Модель использует специальный формат инструкций и не поддерживает системный промпт.

Сильными сторонами являются специализация на задачах программирования и несколько вариантов квантования для локального запуска с разным балансом качества и потребления памяти. В бенчмарках указаны результаты HumanEval pass@1 72,6%, MBPP 75,2% и другие показатели LiveCodeBench и DS-1000, однако фактическое качество зависит от выбранного уровня квантования и сценария использования. Модель предназначена для текстовой генерации и не заявлена как мультимодальная. Лицензия — BigCode OpenRAIL-M.

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

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

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

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

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

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

Открыть на Hugging Face

Llamacpp imatrix Quantizations of starcoder2-15b-instruct-v0.1

Using llama.cpp release b2756 for quantization.

Original model: https://huggingface.co/bigcode/starcoder2-15b-instruct-v0.1

All quants made using imatrix option with dataset provided by Kalomaze here

Prompt format

<|endoftext|>You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.

### Instruction
{prompt}

### Response
<|endoftext|>

Note that this model does not support a System prompt.

Download a file (not the whole branch) from below:

FilenameQuant typeFile SizeDescription
starcoder2-15b-instruct-v0.1-Q8_0.ggufQ8_016.96GBExtremely high quality, generally unneeded but max available quant.
starcoder2-15b-instruct-v0.1-Q6_K.ggufQ6_K13.10GBVery high quality, near perfect, recommended.
starcoder2-15b-instruct-v0.1-Q5_K_M.ggufQ5_K_M11.43GBHigh quality, recommended.
starcoder2-15b-instruct-v0.1-Q5_K_S.ggufQ5_K_S11.02GBHigh quality, recommended.
starcoder2-15b-instruct-v0.1-Q4_K_M.ggufQ4_K_M9.86GBGood quality, uses about 4.83 bits per weight, recommended.
starcoder2-15b-instruct-v0.1-Q4_K_S.ggufQ4_K_S9.16GBSlightly lower quality with more space savings, recommended.
starcoder2-15b-instruct-v0.1-IQ4_NL.ggufIQ4_NL9.08GBDecent quality, slightly smaller than Q4_K_S with similar performance recommended.
starcoder2-15b-instruct-v0.1-IQ4_XS.ggufIQ4_XS8.59GBDecent quality, smaller than Q4_K_S with similar performance, recommended.
starcoder2-15b-instruct-v0.1-Q3_K_L.ggufQ3_K_L8.96GBLower quality but usable, good for low RAM availability.
starcoder2-15b-instruct-v0.1-Q3_K_M.ggufQ3_K_M8.04GBEven lower quality.
starcoder2-15b-instruct-v0.1-IQ3_M.ggufIQ3_M7.30GBMedium-low quality, new method with decent performance comparable to Q3_K_M.
starcoder2-15b-instruct-v0.1-IQ3_S.ggufIQ3_S7.00GBLower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance.
starcoder2-15b-instruct-v0.1-Q3_K_S.ggufQ3_K_S6.98GBLow quality, not recommended.
starcoder2-15b-instruct-v0.1-IQ3_XS.ggufIQ3_XS6.71GBLower quality, new method with decent performance, slightly better than Q3_K_S.
starcoder2-15b-instruct-v0.1-IQ3_XXS.ggufIQ3_XXS6.21GBLower quality, new method with decent performance, comparable to Q3 quants.
starcoder2-15b-instruct-v0.1-Q2_K.ggufQ2_K6.19GBVery low quality but surprisingly usable.
starcoder2-15b-instruct-v0.1-IQ2_M.ggufIQ2_M5.54GBVery low quality, uses SOTA techniques to also be surprisingly usable.
starcoder2-15b-instruct-v0.1-IQ2_S.ggufIQ2_S5.14GBVery low quality, uses SOTA techniques to be usable.
starcoder2-15b-instruct-v0.1-IQ2_XS.ggufIQ2_XS4.82GBVery low quality, uses SOTA techniques to be usable.
starcoder2-15b-instruct-v0.1-IQ2_XXS.ggufIQ2_XXS4.36GBLower quality, uses SOTA techniques to be usable.
starcoder2-15b-instruct-v0.1-IQ1_M.ggufIQ1_M3.86GBExtremely low quality, not recommended.
starcoder2-15b-instruct-v0.1-IQ1_S.ggufIQ1_S3.55GBExtremely low quality, not recommended.

Which file should I choose?

A great write up with charts showing various performances is provided by Artefact2 here

The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.

If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.

If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.

Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.

If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.

If you want to get more into the weeds, you can check out this extremely useful feature chart:

llama.cpp feature matrix

But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.

These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

The I-quants are not compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

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

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

GPU в ailist

llama.cpp

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

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

Ревизия весов
fe29b6f

0 моделей