claudiatang
commited on
Commit
•
d20e76e
1
Parent(s):
87d2605
Update README.md
Browse files
README.md
CHANGED
@@ -8,14 +8,15 @@ metrics:
|
|
8 |
model-index:
|
9 |
- name: flan-t5-base-eng-hwp
|
10 |
results: []
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
-
|
14 |
-
should probably proofread and complete it, then remove this comment. -->
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
- Loss: 1.5058
|
21 |
- Bleu: 4.9532
|
@@ -23,15 +24,23 @@ It achieves the following results on the evaluation set:
|
|
23 |
|
24 |
## Model description
|
25 |
|
26 |
-
|
27 |
|
28 |
-
|
|
|
|
|
29 |
|
30 |
-
|
|
|
|
|
31 |
|
32 |
## Training and evaluation data
|
33 |
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
|
36 |
## Training procedure
|
37 |
|
@@ -70,3 +79,16 @@ The following hyperparameters were used during training:
|
|
70 |
- Pytorch 2.1.0+cu118
|
71 |
- Datasets 2.14.6
|
72 |
- Tokenizers 0.14.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: flan-t5-base-eng-hwp
|
10 |
results: []
|
11 |
+
language:
|
12 |
+
- en
|
13 |
+
library_name: transformers
|
14 |
+
pipeline_tag: translation
|
15 |
---
|
16 |
|
17 |
+
# English-Hawaiian Pidgin Translator | flan-t5-base-eng-hwp
|
|
|
18 |
|
19 |
+
This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on a English and Hawaiian Pidgin dataset.
|
|
|
|
|
20 |
It achieves the following results on the evaluation set:
|
21 |
- Loss: 1.5058
|
22 |
- Bleu: 4.9532
|
|
|
24 |
|
25 |
## Model description
|
26 |
|
27 |
+
### Running the model
|
28 |
|
29 |
+
The [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) documentation has more details on running the model.
|
30 |
+
|
31 |
+
However, to use this model to translate English to Hawaiian Pidgin, enter ``"translate English to Hawaiian Pidgin: "`` before your statement.
|
32 |
|
33 |
+
For example, if you would like to translate "I went to Ala Moana today to go shopping" please tokenize all of the following: ``"translate English to Hawaiian Pidgin: I went to Ala Moana today to go shopping."``
|
34 |
+
|
35 |
+
If you are trying the [English-Hawaiian Pidgin Translator](https://huggingface.co/spaces/claudiatang/english_to_hawaiian-pidgin) space, there is no need for the input prefix, as it is automatically added.
|
36 |
|
37 |
## Training and evaluation data
|
38 |
|
39 |
+
There are not many English-Hawaiian Pidgin parallel corpora that are easily accessible. A parallel dataset, similar to [bible_para](https://huggingface.co/datasets/bible_para), was compiled by scraping the Hawaiʻi Pidgin Version (HWP) and the King James Version (KJV) from [biblegateway.com](https://www.biblegateway.com/). <!--- For more information, please refer to [this notebook](). -->
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
Due to a limited set of training and evaluation data, this model has many limitations, such as not knowing certain Hawaiian Pidgin phrases or having trouble with longer sentences.
|
44 |
|
45 |
## Training procedure
|
46 |
|
|
|
79 |
- Pytorch 2.1.0+cu118
|
80 |
- Datasets 2.14.6
|
81 |
- Tokenizers 0.14.1
|
82 |
+
|
83 |
+
## Resources
|
84 |
+
- Christodouloupoulos, C., & Steedman, M. (2014). A massively parallel corpus: the Bible in 100 languages. Language Resources and Evaluation, 49(2), 375–395. https://doi.org/10.1007/s10579-014-9287-y
|
85 |
+
|
86 |
+
- Chung, H. W., Hou, L., Longpre, S., Zoph, B., Tay, Y., Fedus, W., … Wei, J. (2022). _Scaling Instruction-Finetuned Language Models._ doi:10.48550/ARXIV.2210.11416
|
87 |
+
|
88 |
+
- _Hawaii Pidgin_. (2017). Wycliffe. https://www.biblegateway.com/versions/Hawaii-Pidgin-HWP/ (Original work published 2000)
|
89 |
+
|
90 |
+
- _King James Bible_. (2017). BibleGateway.com. https://www.biblegateway.com/versions/king-james-version-kjv-bible/ (Original work published 1769)
|
91 |
+
|
92 |
+
- T5. (n.d.). Huggingface.co. https://huggingface.co/docs/transformers/model_doc/t5
|
93 |
+
|
94 |
+
- Translation. (n.d.). Huggingface.co. Retrieved October 18, 2023, from https://huggingface.co/docs/transformers/tasks/translation
|