Skip to content
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

English to Nzema #120

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 129 additions & 0 deletions benchmarks/en-nzema/jw300-baseline/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
47 changes: 47 additions & 0 deletions benchmarks/en-nzema/jw300-baseline/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# English to Nzema
The Nzema are an Akan people numbering about 328,700, of whom 262,000 live in southwestern Ghana and 66,700 live in the southeast of Côte d'Ivoire. In Ghana the Nzema area is divided into three electoral districts of Nzema East Municipal also referred to as Evalue Gwira, Ellembele District and Nzema West, which is also referred to as Jomoro District of Ghana. Their language is also known as Nzima (in Ghana) or Appolo (in the Ivory Coast).Wikepedia

Author: Salomey OSEI

## Data

- The JW300 English- Nzema.

## Model

- Default Masakhane Transformer translation model.
- Link to google drive folder with model(https://drive.google.com/drive/folders/1WfTLClVQs-wBO7fveVM842-oDPHeT4Oh?usp=sharing)

## Analysis

Example 1
```sh
Source: What motivated Moses to live as he did ?
Reference: Duzu ati a Mosisi kpale kɛ ɔbabɔ ye ɛbɛla kɛmɔ yɛha nwolɛ edwɛkɛ la ɛ ?
Hypothesis: Duzu a manle Mosisi dele nganeɛ wɔ mekɛ mɔɔ ɔyɛle ye zɔ la ɛ ?```

Example 2
```sh
Source: Writing Committee
Reference: Mbulukuhɛlɛlɛ Kɔmatii
Hypothesis: Bɛyɛ Ngakyelɛlilɛ
```

Example 3
```sh
Source: He was simply expressing a realistic view of how life in this imperfect world turns out .
Reference: Mɔɔ kɔ zo wɔ ewiade ɛtane ɛhye anu la anwo edwɛkɛ yɛɛ ɛnee ɔlɛka a .
Hypothesis: Ɛnee ɔze kɛzi asetɛnla mɔɔ anu yɛ se la wɔ ewiade ɛhye anu .
```

Example 4
```sh
Source: From the start , Jacob was in love with his beautiful Rachel .
Reference: Mɔlebɛbo ne , ɛnee Gyekɔbo kulo Relahyɛle mɔɔ anwo yɛ ye fɛ la .
Hypothesis: Mɔlebɛbo ne , Gyekɔbo nee Rachel nyianle ɛlɔlɛ kpole
```

# Results
- BLEU dev : 23.49
- BLEU test : 35.53

Loading