Skip to content

added translation evaluation #27

added translation evaluation

added translation evaluation #27

Workflow file for this run

name: Run on Push to Master
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install torch --index-url https://download.pytorch.org/whl/cpu
- name: Run a script
run: |
python -c "import malaya; model = malaya.jawi.huggingface(); model.generate(['helo'], to_lang = 'jawi')"