Skip to content

add set_optimizer for programmatic fine-tuning #76

add set_optimizer for programmatic fine-tuning

add set_optimizer for programmatic fine-tuning #76

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
types:
- ready_for_review
workflow_dispatch: {}
jobs:
run-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install self
working-directory: ${{github.workspace}}
run: |
# Since splade makes problems otherwise:
pip3 install "splade@git+https://github.com/naver/splade.git" --no-deps
pip3 install omegaconf==2.1.2
pip3 install .[test,dev]
- name: Run tests
working-directory: ${{github.workspace}}
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: pytest tests