Skip to content

Fix T5 prompts with spaces at eol #12

Fix T5 prompts with spaces at eol

Fix T5 prompts with spaces at eol #12

Workflow file for this run

name: Test Prompt Generator Test
on:
workflow_dispatch:
schedule:
- cron: 30 8 * * 1 # run Monday's at 8:30
push:
paths-ignore:
- '**/README.md'
pull_request:
paths-ignore:
- '**/README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install package and dependencies
run: |
pip install pytest parameterized sentencepiece transformers .
- name: Run test
run: |
python -m pytest tests