giamdalessandro / nlp_hw2

Homework 2, NLP 2021 course, Sapienza University of Rome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLP-2021 Hw2: Aspect-Based Sentiment Analysis (ABSA)

Repository the 2nd homework of the NLP 2021 course at Sapienza University of Rome.

Source code in this repo is an extension of NLP TA's code (see requirements below). As in the assignement, I only edited the following folders and files:

  • hw2/stud/
  • model/
  • requirements.txt

Extra material

Requirements

TA's code and other requirements to use this code are indicated here.

Run

test.sh is a simple bash script. To run it:

bash test.sh data/restaurants_dev.json

Actually, you can replace data/restaurants_dev.jsonl to point to a different file, as far as the target file has the same format.

About

Homework 2, NLP 2021 course, Sapienza University of Rome


Languages

Language:Python 86.2%Language:Jupyter Notebook 12.8%Language:Shell 0.8%Language:Dockerfile 0.2%