Skip to content

Retrain model

Retrain model #11

name: Test Python Versions
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-python-versions:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Packages
run: >
pip install -r requirements.txt
--index-url https://download.pytorch.org/whl/cpu
--extra-index-url https://pypi.org/simple
- name: Create test input file
run: echo "example.com" > test_input.txt
- name: Run subwiz
run: python -m subwiz.cli -i test_input.txt -n 10