https://github.com/ddofer/hw
Homework public repo
https://github.com/ddofer/hw
Last synced: over 1 year ago
JSON representation
Homework public repo
- Host: GitHub
- URL: https://github.com/ddofer/hw
- Owner: ddofer
- License: mit
- Created: 2023-05-16T06:41:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T13:52:48.000Z (about 3 years ago)
- Last Synced: 2025-01-30T23:41:31.893Z (over 1 year ago)
- Language: Python
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 ```
Generated files are res.txt, showing model's performance, training time and prediction time, and prediction.txt, containing prediction results for all test samples.