/ Модель

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

Контекст
32 768 токенов
Параметры
14 млрд
Размер весов
29,5 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-14B-Instruct
Опубликована
25 сен 2024

ChatParts-qwen2.5-14b

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

Диалоговая модель Qwen2.5, дообученная для ответов на вопросы и извлечения сведений по синтетической биологии, в том числе в составе RAG-системы.

25скачиваний за 30 дней5лайковвеса обновлены29 сен 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

shellwork/ChatParts-qwen2.5-14b — диалоговая модель команды XJTLU-Software iGEM, дообученная на базе Qwen2.5-14B-Instruct для синтетической биологии. Она предназначена для участников соревнований iGEM и исследователей: помогает находить, извлекать и упорядочивать сведения из материалов по синтетической биологии, а также отвечает на вопросы и составляет сводки в составе локального RAG-приложения команды.

Модель использует плотную архитектуру Qwen2 и содержит 14 млрд параметров; максимальная длина контекста — 32 768 токенов. Для обучения собрали более 200 000 пар вопросов и ответов по страницам iGEM Wiki, обзорам по синтетической биологии и документации реестра iGEM Parts. В карточке указан английский язык. Репозиторий предоставляет веса в формате safetensors и лицензию Apache-2.0.

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

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

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

Ограничения

Модель специализирована на синтетической биологии, поэтому ответы за пределами этой области могут быть менее надёжными. В карточке не приведены результаты независимой оценки качества.

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

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

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

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

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

Открыть на Hugging Face

shellwork/ChatParts-qwen2.5-14b

🤖 XJTLU-Software RAG GitHub Repository • 📊 ChatParts Dataset

shellwork/ChatParts-qwen2.5-14b is a specialized dialogue model fine-tuned from Qwen2.5-14B-Instruct by the XJTLU-Software iGEM Competition team. This model is tailored for the synthetic biology domain, aiming to assist competition participants and researchers in efficiently collecting and organizing relevant information. It serves as the local model component of the XJTLU-developed Retrieval-Augmented Generation (RAG) software, enhancing search and summarization capabilities within synthetic biology data.

📚 Dataset Information

The model is trained on a comprehensive synthetic biology-specific dataset curated from multiple authoritative sources:

  • iGEM Wiki Pages (2004-2023): Comprehensive coverage of synthetic biology topics from over two decades of iGEM competitions.
  • Synthetic Biology Review Papers: More than 1,000 high-quality review articles providing in-depth insights into various aspects of synthetic biology.
  • iGEM Parts Registry Documentation: Detailed documentation of parts used in iGEM projects, facilitating accurate information retrieval.

In total, the dataset comprises over 200,000 question-answer pairs, meticulously assembled to cover a wide spectrum of synthetic biology topics. For more detailed information about the dataset, please visit our training data repository.

🛠️ How to Use

This repository supports usage with the transformers library. Below is a straightforward example of how to deploy the shellwork/ChatParts-qwen2.5-14b model using transformers.

📋 Requirements

  • Transformers Library: Ensure you have transformers version >= 4.43.0 installed. You can update your installation using:

    pip install --upgrade transformers
    

⚙️ Example: Deploying with Transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load the tokenizer and model
model_name = "shellwork/ChatParts-qwen2.5-14b"
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

# Define the prompt and messages
prompt = "Give me a short introduction to synthetic biology."
messages = [
    {"role": "system", "content": "You are ChatParts, a model specialized in synthetic biology created by XJTLU-Software."},
    {"role": "user", "content": prompt}
]

# Apply chat template
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

# Tokenize the input
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# Generate the response
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=512
)

# Extract the generated tokens
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

# Decode the response
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)

🔍 Explanation

  1. Import Libraries: Import the necessary libraries including torch, modelscope, and transformers.

  2. Load Model and Tokenizer: Use AutoModelForCausalLM and AutoTokenizer from modelscope to load the pre-trained model and tokenizer.

  3. Define Prompt and Messages: Create a prompt and define the conversation messages, including system and user roles.

  4. Apply Chat Template: Utilize the apply_chat_template method to format the messages appropriately for the model.

  5. Tokenize Input: Tokenize the formatted text and move it to the appropriate device (CPU/GPU).

  6. Generate Response: Use the generate method to produce a response with a specified maximum number of new tokens.

  7. Decode and Print: Decode the generated tokens to obtain the final text response and print it.

📄 License

This model is released under the Apache License 2.0. For more details, please refer to the license information in the repository.

🔗 Additional Resources

  • RAG Software: Explore the full capabilities of our Retrieval-Augmented Generation software here.
  • Training Data: Access and review the extensive training dataset here.
  • Support & Contributions: For support or to contribute to the project, visit our GitHub Issues page.

Feel free to reach out through our GitHub repository for any questions, issues, or contributions related to shellwork/ChatParts-qwen2.5-14b.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
cd54211

0 моделей