Skip to content

Exercise #1 in Advanced Natural Language Processing 67664@ HUJI

Notifications You must be signed in to change notification settings

eliyahabba/AdvancedNLP_ex1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced NLP Exercise 1: Fine Tuning

This is the code base for ANLP HUJI course exercise 1, fine tuning pretrained models to perform sentiment analysis on the SST2 dataset.

Install

pip install -r requirements.txt

Fine-Tune and Predict on Test Set

Run:

python ex1.py <number of seeds> <number of training samples> <number of validation samples> <number of prediction samples>

Generated files are res.txt, showing model's performance, training time and prediction time, and prediction.txt, containing prediction results for all test samples.

About

Exercise #1 in Advanced Natural Language Processing 67664@ HUJI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages