Skip to content

nlp4se/TSA-BERT-V2

 
 

Repository files navigation

BERT Model API

API for applying sentiment analysis using BERT or BETO model.

Requirements

How to run

Local

  1. Clone this project to a local folder and go to root folder

    git clone https://github.com/twittersentimentanalysis/TSA-BERT.git

  2. Install required libraries with pip

    pip install -r requirements.txt

  3. Run the project

    py RestAPI.py

  4. Make API requests

    Base URL: http://127.0.0.1:5000/api/v1/

How to deploy

  1. docker build -t tsa_bert_beto:latest .
  2. docker run -d --name TSA_BERT_BETO -p 3006:3006 tsa_bert_beto:latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Dockerfile 1.0%