Skip to content

Merge pull request #212 from wanadzhar913/master #20

Merge pull request #212 from wanadzhar913/master

Merge pull request #212 from wanadzhar913/master #20

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')"