Downloads · 30 days
16
33% of all-time downloads
ryfye181/hittite_saved_model
hittite_saved_model is a machine learning model from ryfye181. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
GitHub Link: https://github.com/rfeinberg3/HittiteEnglishTranslationw-NLLB
Downloads · 30 days
16
33% of all-time downloads
All-time downloads
49
Public
Repo size
4.9 GB
Likes
1
Public
Click a slice to open those files.
.bin2.5 GB · 100%
From the Hugging Face model README
GitHub Link: https://github.com/rfeinberg3/Hittite_English_Translation_w-NLLB
Hittite is one of the oldest written languages, spoken by the ancient Hittites with records dating as far back as the 17th century B.C.E. in what is now modern-day Turkey. However, the language died out around the 13th century B.C.E and relatively few records of the language have been uncovered, making Hittite a low data language. The issue is training a language model to translate written Hittite into written English. A difficult task for two main reasons: as mentioned, there is a data scarcity when it comes to labeled Hittite to English translations. Possibly the bigger issue though is the lack of language models that support fine-tuning for new languages.
This project aims to bridge the gap between the ancient and the modern world by translating the Hittite language into English. At the core of this endeavor lies the utilization of cutting-edge Natural Language Processing (NLP) and machine learning techniques, leveraging a transformer-based model open to the community for advancements and contributions.
Transformer-Based Model Translation: Employs a state-of-the-art transformer-based model to understand and translate the Hittite language.
Custom Supervised Dataset: Through meticulous data scraping and the development of a dataset builder tool, this project has curated a specialized dataset. This dataset features pairs of English and Hittite translations, tailored to train the translation model effectively.
Google Colab Integration: The project is accessible via a Google Colab notebook for ease of use and accessibility. This notebook guides users through the process of tokenization, model fine-tuning, and evaluation, providing an interactive platform for exploring ancient Hittite translations.
Hittite To English colab: https://colab.research.google.com/drive/1fmJe9EuumIo-uwfW4Pp3hgyz3SviomaQ?usp=sharing
Performance Metrics: To ensure the translation model's accuracy and reliability, comprehensive metrics are collected and analyzed.
More details can be found in the report document HitToEng_Report.pdf. The implementation at nllb_hittite_to_english_finetune.ipynb.
!Must run on a GPU! CPU usage is not supported!
Load model and tokenizer from Huggingface:
Using the Model for translating is demonostrated in section 8 of the Google Colab notebook.
https://github.com/mjpost/sacrebleu#chrf--chrf
Hittite Base Form Dictionary:
Hittite Lexicons:
No Language Left Behind GitHub:
NLLB New Language Fine-Tuning Original Example: