This project was inspired by a repository found at: Spelling Correction by oliverguhr.
- Prepare a dataset suitable for your task in a directory named
data
as a TXT file. - Run two scripts for dataset preparation:
convert_leipzig_data.sh
generate_dataset.py
- Utilize the fine-tuning script for training your model.
- Refer to
fine-tuning_script.py
.
- Refer to
- All steps can be executed within a Colab notebook.
- Refer to
spelling_correction.ipynb
.
- Refer to
- The final models have been uploaded to the Hugging Face Model Hub here.
- For deployment, consider using the provided Flask application:
- Refer to
app.py
.
- Refer to
- Test deployment using the provided link: Spelling Correction Deployment.