Given a prompt and a response, this GPT2 based transformer will generate a reflection. It was fine-tuned on prompt/response/reflection triplets so it should also be inferenced with the same input style. Examples are shown below. The triplets this reflector was fine-tuned on focus on smoking-cessation. Given this, its best performance is when inferencing about smoking. To properly inference model (as it was fine-tuned), use the following format: Example Prompt: paste two lines below and generate a reflection Prompt: What do you want to change in your smoking? Response: I want to smoke less often in my life, its become quite stressful for me. Model should generate a motivational interviewing adherent statement
Модальности:
Генерация текста
Области применения:
Медицина
Задача: Генерация текста
Автор: andrewbrown
Теги: gpt2, medical, en, text-generation-inference, endpoints_compatible
Лайков: 2 | Загрузок: 15
Описание основано на материалах HuggingFace. Перевод выполнен автоматически.