Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  git
a330ca7bfd
Blob 2 instructions
2 years ago
93f365788a
Adding the source code
2 years ago
93f365788a
Adding the source code
2 years ago
93f365788a
Adding the source code
2 years ago
93f365788a
Adding the source code
2 years ago
93f365788a
Adding the source code
2 years ago
Storage Buckets

README.md

You have to be logged in to leave a comment. Sign In

Multi Linguage Sentiment Classification - Part 2

This project is the second part of a serie of two blogs. It explains how to create a streamlit application for your Machine Learning model. The first part have been explained here

Motivation

There are more and more people across the glob, increasingly sharing their opinion on social media platforms, review sites in different languages. To be able to efficiently analyze what is being expressed about them sentiment-wise, industries and organizations need to find the right technologies that is not only focused on English language.

This is what is the overal goal of this project, aimining to develop a tool able to understand sentiment expressed in different languages to finally those organisations to make the right decisions.

Prerequisites

  • Python 3.6+
  • Transformers 3.1.0
  • Streamlit
  • DVC 2.9.5
  • All the requirements are specified in the requirements.txt file

Usage

Set Up of the project from the root directory of the project

  • Create virtual environment
python3 -m venv your_virtual_environment
  • Start virtual environment
source your_virtual_environment/bin/activate

Run the experimentation

From Your Local Machine

This script will do the following tasks:

  1. clone the repository
  2. Put your credentials in the params.yaml file
  3. Upload the data and model to DVC
python3 upload_model_data.py

From Your EC2 instance

  1. Download the source code and prepare your EC2 environment
python3 prepare_ec2.py
  1. Run a tmux instance
tmux new -s your_instance_name
  1. Run the application
streamlit run app.py

After that you should be able to get the link to your application

Tip!

Press p or to see the previous file or, n or to see the next file

About

No description

Collaborators 1

Comments

Loading...