/ Модель

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

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

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

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

Starcoder2-15B-Instruct-v0.1 — языковая модель для генерации и обработки программного кода, разработанная командой BigCode.

910скачиваний за 30 дней7лайковвеса обновлены30 апр 2024

Бенчмарки

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

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

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

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

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

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

Представленная версия распространяется в формате GGUF для запуска через llama.cpp и LM Studio; квантизацию выполнил bartowski. Модель создана на базе StarCoder2-15B и дообучена методом самообучения на наборе self-oss-instruct-sc2-exec-filter-50k, без человеческой разметки и дистиллированных данных.

Основное назначение модели — выполнение одношаговых инструкций, связанных с программированием, прежде всего генерация кода на Python, написание кода с требованиями и создание модульных тестов. Модель имеет около 15 миллиардов параметров и относится к текстовым моделям генерации; сведения о поддерживаемых языках программирования, естественных языках и размере контекста в карточке не указаны. Для корректной работы рекомендуется использовать шаблон запроса Starcoder2 Instruct в LM Studio.

К сильным сторонам относятся специализация на задачах программирования и заметные результаты на тестах генерации и исправления кода: pass@1 составляет 72,6% на HumanEval, 75,2% на MBPP и 20,4% на LiveCodeBench для генерации кода. Ограничения включают ориентацию преимущественно на Python и одношаговый формат взаимодействия; другие стили запросов могут давать менее точные ответы. Модель может генерировать неточный или небезопасный код, поэтому результаты требуют проверки и тестирования. Лицензия указана как BigCode OpenRAIL-M.

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

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

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

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

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

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

Открыть на Hugging Face

💫 Community Model> Starcoder2 15B Instruct v0.1 by BigCode

👾 LM Studio Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on Discord.

Model creator: bigcode Original model: starcoder2-15b-instruct-v0.1 GGUF quantization: provided by bartowski based on llama.cpp release b2756

Model Summary:

Starcoder2-15B-Instruct-v0.1 is self-proclaimed to be the first entirely self-aligned code model with a fully permissive and transparent pipeline. This model is meant to be used for coding instructions in a single turn, any other styles may result in less accurate responses. Starcoder2 has been primarily finetuned for Python code generation and as such should primarily be used for Python tasks.

Prompt Template:

Choose the 'Starcoder2 Instruct' preset in your LM Studio.

Under the hood, the model will see a prompt that's formatted like so:

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

### Instruction
{prompt}

### Response
<|endoftext|>

Use case and examples

This model should be used for single turn coding related instructions.

Coding with requirements

image/png

Creating unit tests

image/png

More coding examples

image/png

Technical Details

Starcoder2 15B instruct was trained primarily on Python code generation tasks. Using Starcoder2 15B (non instruct) to generated thousands of instruction-reponse pairs, the results were used to fine tune an instruct model without human annotation or distilled data.

The dataset created is open and available: self-oss-instruct-sc2-exec-filter-50k

And the code used to create the self-alignment has been shared here: starcoder2-self-align

The results of the self-alignment are extremely promising, with significantly higher scores across all coding benchmarks, which is a great sign for future progress.

More details on their model card here

Special thanks

🙏 Special thanks to Georgi Gerganov and the whole team working on llama.cpp for making all of this possible.

🙏 Special thanks to Kalomaze for his dataset (linked here) that was used for calculating the imatrix for these quants, which improves the overall quality!

Disclaimers

LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.

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

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

GPU в ailist

llama.cpp

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

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

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

0 моделей