/ Модель

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

Контекст
1 024 токена
Лицензия
Apache 2.0
Архитектура
gpt2 · dense
Библиотека
transformers
Опубликована
28 мар 2024

Chat-With-YourFAV-Character-Small

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

Диалоговая модель на базе DialoGPT-small для общения на английском языке в стиле Джошуа из The World Ends With You.

26скачиваний за 30 дней0лайковвеса обновлены28 мар 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Chat-With-YourFAV-Character-Small — диалоговая модель, разработанная Manan Raval из Virtual Height IT Services Pvt. Ltd. Она создана на базе microsoft/DialoGPT-small и дообучена на репликах персонажа Джошуа из игры The World Ends With You, чтобы вести беседы в его стиле. Архитектура — GPT-2/DialoGPT-small; модель генерирует текст, принимает текстовый контекст и поддерживает контекст до 1024 токенов.

Модель предназначена для ролевого общения с имитацией персонажа и интеграции в чат-приложения и игры. Обучающие данные ограничены диалогами из конкретной игры, поэтому ответы могут быть неожиданными или оскорбительными и не подходят для чувствительных ситуаций, принятия важных решений, терапии или консультирования. Лицензия — Apache-2.0.

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

  • ролевая переписка с персонажем Джошуа
  • генерация реплик в стиле Джошуа для игровых диалогов
  • создание чат-бота по мотивам The World Ends With You

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Chat-With-YourFAV-Character-Small

This model is a conversational agent fine-tuned on the game script of "The World Ends With You" for generating dialogues in the style of the character Joshua. It is based on the DialoGPT-small architecture and further trained to mimic the conversational patterns and style of Joshua, offering users the ability to interact with a simulated version of the character.

Model Details

Developed by

  • [Manan Raval- Virtual Height IT Services Pvt. Ltd.]

Model Description

This model was developed to explore the capabilities of language models in generating character-specific dialogues. It utilizes the transformer architecture for generating text that is coherent and contextually relevant to the inputs it receives.

  • Model type: DialoGPT-small

  • Language(s) (NLP): English

  • License: Apache-2.0

  • Sources

  • Finetuned from: microsoft/DialoGPT-small

Usage

Direct Use

This model is intended for direct interaction by users who want to engage in conversation with an AI that simulates the character Joshua from "The World Ends With You." It can be integrated into chat applications, games, or any platform where conversational AI can enhance user experience.

Out-of-Scope Use

This model is not designed for high-stakes decision-making processes, sensitive contexts, or as a replacement for human interaction in therapeutic or counseling settings.

Bias, Risks, and Limitations

The dialogues generated by this model are based on the character's portrayal in a specific video game and might not be appropriate for all contexts. Users should be aware of the potential for generating unexpected or offensive content.

Recommendations

It is recommended to monitor the interactions with the model and implement appropriate filtering mechanisms to prevent misuse or the generation of harmful content.

How to Get Started

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("mananvh/Chat-With-YourFAV-Character-Small")
model = AutoModelForCausalLM.from_pretrained("mananvh/Chat-With-YourFAV-Character-Small")

# For interactive conversation
input_text = "Your input text here"
input_ids = tokenizer.encode(input_text + tokenizer.eos_token, return_tensors='pt')
chat_history_ids = model.generate(input_ids, max_length=1000, pad_token_id=tokenizer.eos_token_id)
response = tokenizer.decode(chat_history_ids[:, input_ids.shape[-1]:][0], skip_special_tokens=True)

print(response)

Training and Evaluation

Training Data

The model was fine-tuned on a dataset extracted from the game script of "The World Ends With You," focusing specifically on dialogues involving the character Joshua.

Training Procedure

The model was trained using the Hugging Face Transformers library with the following hyperparameters: learning rate of 5e-5, batch size of 4, and a total of 4 epochs. The training was performed on a single GPU.

Evaluation

Due to the conversational nature of the model, its performance was primarily evaluated based on qualitative assessments of its ability to generate coherent and character-consistent dialogues.

Technical Specifications

Model Architecture

The model is based on the DialoGPT-small architecture, which is a variant of the GPT-2 model optimized for dialogue generation tasks.

Compute Infrastructure

The training was conducted on a single GPU setup, utilizing NVIDIA CUDA for acceleration. YourModelNameHere

Citation

@misc{chatprompt_ai_2024,
  title={ChatPrompt-AI: A Conversational Agent Simulating Joshua from TWEWY},
  author={Manan},
  year={2024},
  howpublished={\url{https://huggingface.co/mananvh/Chat-With-YourFAV-Character-Small}}
}

Contact

For any questions or feedback regarding this model, please contact [mananraval.vhits@gmail.com].

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
GPT2LMHeadModel
Ревизия весов
282c14d

0 моделей