Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BERT experiments #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions experiments/cs433/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Experiments

Luka Secilmis, Thomas Ecabert, Yanis De Busschere

## Abstract

This folder contains all the notebooks used for experimenting with the differents models during the project.

## Summary of experiments

| Experiment | Folder | Training Time | Prediction Time | Accuracy | F1-Score |
|---------------------|----------------------------------------------------|---------------|-----------------|----------|----------|
| BERT (english only) | [./en-spam-classifier](./en-spam-classifier) | 1h02 | 0.005s | 98.759 | 98.600 |
| BERT (multilingual) | [./multi-spam-classifier](./multi-spam-classifier) | 1h09 | 0.005 | 98.814 | 98.779 |

All computation and time measurement were made using an NVIDIA RTX A5000.
13 changes: 13 additions & 0 deletions experiments/cs433/en-spam-classifier/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### BERT (English only)

## Abstract

We developed an NLP-based spam classifier through a transfer learning approach, by fine-tuning a pre-trained English DistilBERT model on the Zenodo dataset for text classification.

## Results

| Training Time | Prediction Time | Accuracy | F1-Score |
|---------------|-----------------|----------|----------|
| 1h02 | 0.005s | 98.759 | 98.600 |

All computation and time measurement were made using an NVIDIA RTX A5000.
Loading