Skip to content

The project demonstrates an example of how to use a supervised learning task using GPT-3.5 with JSON export, evaluating reviews in Italian Language.

Notifications You must be signed in to change notification settings

Tudor44/sentiment-analysis-with-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Sentiment Analysis with LLM 🤖

The project demonstrates an example of how to use a supervised learning task using GPT-3.5 with JSON export, evaluating reviews in Italian Language.

Overview

An experimental using Langchain with OpenAI APIs for demostrating a possibility to create a supervised learning task with GPT-3.5 model, and the capability to export the information in JSON format.

Requirements

  • Python 3.x
  • Langchain
  • OpenAI API

Installation

  1. Clone the repository

  2. Install the required packages using venv:

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
  1. Set up your OPENAI_API_KEY, creating an .env file into main folder
OPENAI_API_KEY=<your_api_secret_key>
  1. Execute it using streamlit
cd src
streamlit run main.py

License

This project is licensed under the MIT License.

About

The project demonstrates an example of how to use a supervised learning task using GPT-3.5 with JSON export, evaluating reviews in Italian Language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages