Downloads · 30 days
0
AppalanaiduSaketi/Seq2Seq-based-model
Seq2Seq-based-model is a machine learning model from AppalanaiduSaketi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Nov 16, 2024
Repo size
71.1 MB
Likes
0
Public
Click a slice to open those files.
.pth71.1 MB · 100%
From the Hugging Face model README
Filename: README.md
This is a Seq2Seq model developed for next token prediction in a translation task from English to Hausa. It was created to explore and implement Seq2Seq architecture as part of a course assignment.
This model was developed as part of an assignment that required:
| Epoch | BLEU Score | ChrF Score |
|---|---|---|
| 1 | 0.0998 | 32.03 |
| 10 | 0.0998 | 32.03 |
The Seq2Seq model demonstrated stable performance, achieving a BLEU score of 0.0998 and a ChrF score of 32.03 consistently across epochs.
To load and use the model in your project, use the following code:
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("/AppalanaiduSaketi/LSTM-model-based-translator")
model = AutoModel.from_pretrained("AppalanaiduSaketi/LSTM-model-based-translator")