RAG-Based LLM Chatbot Using Llama-2
Authors:
- 23 April 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-5
Abstract
Chatbots, otherwise known as autonomous conversational agents, are a rising utilitarian application of Natural Language Processing. They enable the streamlining of information searches and improve user productivity and experience. This study focuses on building a chatbot that is aimed at assisting victims of sexual harassment, using a Large Language Model (LLM). While ML-based chatbots are a notable prospect, LLM-powered chatbots offer more human-like conversations and can surpass humans in empathy. This project evaluated the performance of the LLM Llama-2 model in generating accurate and empathetic answers to create a supportive, sensitive, and informative chatbot for the victims of sexual harassment. The model leverages Retrieval Augmented generation to achieve a commendable accuracy of above 95%, providing information in an understanding and helpful tone. The model is also capable of providing helpful advice without judgement or preconceived notions about the victim, one of the reasons victims do not report their harassers.Keywords
This publication has 9 references indexed in Scilit:
- Large Language Models and Empathy: Systematic ReviewJournal of Medical Internet Research, 2024
- A survey on large language model (LLM) security and privacy: The Good, The Bad, and The UglyHigh-Confidence Computing, 2024
- A Mental Health Chatbot with Cognitive Skills for Personalised Behavioural Activation and Remote Health MonitoringSensors, 2022
- Future directions for chatbot research: an interdisciplinary research agendaComputing, 2021
- LAW-U: Legal Guidance Through Artificial Intelligence Chatbot for Sexual Violence Victims and SurvivorsIEEE Access, 2021
- A Systematic Literature Review of Sexual Harassment Studies with Text MiningSustainability, 2021
- Designing a Chatbot for Survivors of Sexual Violence: Exploratory Study for Hybrid Approach Combining Rule-based Chatbot and ML-based Chatbot2021
- Is It Harassment? Perceptions of Sexual Harassment Among Lawyers and Undergraduate StudentsFrontiers in Psychology, 2020
- #MeTooMaastricht: Building a Chatbot to Assist Survivors of Sexual Harassment2020