This is the PyTorch implementation for HieroLM proposed in the paper HieroLM: Egyptian Hieroglyph Recovery with Next Word Prediction Language Model published at The 9th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature (LaTeCH-CLfL 2025) at NAACL 2025.
python main.py --cuda True --dataset [aes/ramses/mixed]
python main.py --cuda True --dataset [aes/ramses/mixed] --mode decode
python main.py --cuda True --dataset [aes/ramses/mixed] --mode realtime