-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xhosa-English-Model-JW300-NLP-Lab3-1603701 #182
Open
SamBall999
wants to merge
2
commits into
masakhane-io:master
Choose a base branch
from
SamBall999:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Xhosa to English | ||
|
||
Author: Samantha Ball | ||
Student Number: 1603701 | ||
|
||
## Data | ||
|
||
- The JW300 English-Xhosa. | ||
|
||
## Model | ||
|
||
Masakhane Reverse Machine Translation - Transformer. | ||
|
||
Link to google drive folder with [models](https://drive.google.com/drive/folders/1jK2ur0rb_iWPB0Q9tUfX2F5x2LXAU1Lp?usp=sharing) | ||
|
||
## Analysis | ||
|
||
The model still struggles with tense and seems to exhibit confusion with respect to double negatives. | ||
|
||
Example 1 | ||
``` | ||
Source: Ngaba umprofeti uYeremiya wayevuyiswa ngumsebenzi wakhe ? | ||
Reference: Did the prophet Jeremiah find joy in his work ? | ||
Hypothesis: Was the prophet Jeremiah rejoice in his work ? | ||
``` | ||
|
||
Example 2 | ||
``` | ||
Source: UPawulos wabongoza amaKristu awayekhonza nawo esithi : “ Nizeke kade umsindo kubo bonke . ” ( 1 Tesalonika 5 : 14 ) Ekubeni sonke singafezekanga yaye sisenza iimpazamo , ngokuqinisekileyo sifuna abantu babe nomonde kuthi , bazeke kade umsindo xa sibaphatha ngendlela engafanelekanga . | ||
Reference: Paul urged fellow Christians : “ Be long-suffering toward all . ” ( 1 Thessalonians 5 : 14 ) Since all of us are imperfect and make mistakes , surely we want people to be patient with us , to be long-suffering when we err in our dealings with them . | ||
Hypothesis: Paul urged Christians to serve him : “ You must be long-suffering to all . ” ( 1 Thessalonians 5 : 14 ) Since all of us are imperfect and make mistakes , we certainly want men to be patient to us , even when we treat the wrong way . | ||
``` | ||
|
||
Example 3 | ||
``` | ||
Source: Nathi ke , xa siyamkela ingqeqesho kaYehova , njengoko inikelwa ngabadala abangamaKristu , sitsho sihlale kwindlela esa ebomini . — IMize . 4 : 13 . | ||
Reference: And accepting discipline from Jehovah , as given by Christian elders , keeps us on the way to life. — Prov . 4 : 13 . | ||
Hypothesis: When we accept Jehovah ’ s discipline , as given by Christian elders , we do not stay in the way we live in life. — Prov . 4 : 13 . | ||
``` | ||
|
||
|
||
# Results | ||
- BLEU dev : 28.56 | ||
- BLEU test : 34.59 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless you want everyone to know your student id, please remove it.