-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Niels Bantilan <[email protected]>
- Loading branch information
1 parent
5647a50
commit fe67deb
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Run fine-tuning | ||
|
||
# trigger when push on main | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
fine-tune-model: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.11"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v5 | ||
- name: Install dependencies | ||
run: pip install unionai | ||
- name: Run fine-tuning | ||
run: bash fine_tune.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#/usr/bin bash | ||
|
||
unionai run --copy-all --remote \ | ||
llm_edge_finetuning/workflows_news.py train_workflow \ | ||
--config config/phi_3_mini_128k_instruct.json \ | ||
--categories '["science", "technology", "business"]' |