/spellingCorrection

This project fine-tunes BART for sentence spelling correction using the WikiSplit dataset. It simulates errors and evaluates performance with ROUGE, BLEU, and word accuracy metrics.

Primary LanguageJupyter Notebook

Sentence Spelling Correction

In this code, we fine-tuned BART for conditional generation to correct sentences. We used the WikiSplit dataset for training. Additionally, we implemented functions to manipulate the dataset by inserting random characters, removing random characters, and replacing random characters to simulate errors. We evaluated the model using ROUGE, BLEU, and word accuracy metrics.

image

image

image

image