Skip to content

Commit

Permalink
⚗️ Style Transfer: move & add scoring experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeoni committed Feb 20, 2024
1 parent d7c51a8 commit ec0f325
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions lib/style-transfer/bash/gen_10-02-2024.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

python style_transfer/gen.py checkpoint=clinical-dream-team/sft-style-transfer/checkpoint-sft-ratio-0.004_gen-ratio-0.7:v5 sft_ratio=0.004 gen_ratio=0.7 &&
python style_transfer/gen.py checkpoint=clinical-dream-team/sft-style-transfer/checkpoint-sft-ratio-0.006_gen-ratio-0.7:v7 sft_ratio=0.006 gen_ratio=0.7
python style_transfer/gen.py checkpoint=clinical-dream-team/sft-style-transfer/checkpoint-sft-ratio-0.01_gen-ratio-0.7:v7 sft_ratio=0.01 gen_ratio=0.7 &&
python style_transfer/gen.py checkpoint=clinical-dream-team/sft-style-transfer/checkpoint-sft-ratio-0.99_gen-ratio-0.7:v281 sft_ratio=0.99 gen_ratio=0.7
6 changes: 0 additions & 6 deletions lib/style-transfer/bash/gen_10-2024.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions lib/style-transfer/bash/score_14-02-2024.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

python style_transfer/score.py \
gen_dataset=clinical-dream-team/gen-style-transfer/run-qmopfb2e-gen_dataset:v0 \
test_dataset=clinical-dream-team/gen-style-transfer/run-qmopfb2e-test_dataset:v0 \
sft_ratio=0.006 \
gen_ratio=0.7
12 changes: 12 additions & 0 deletions lib/style-transfer/bash/score_19_02_2024.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

python style_transfer/score.py -m \
gen_dataset=clinical-dream-team/gen-style-transfer/run-qmopfb2e-gen_dataset:v0 \
test_dataset=clinical-dream-team/gen-style-transfer/run-qmopfb2e-test_dataset:v0 \
sft_ratio=0.006 \
gen_ratio=0.7 \
sem_model.train_size=0.15,0.25,0.30,0.50 \
sem_model.epochs=1,3 \
sem_model.name=sentence-transformers/all-mpnet-base-v2,sentence-transformers/all-distilroberta-v1,sentence-transformers/all-MiniLM-L12-v2 \
sem_model.use_ground_truth=false,true \
sem_model.loss._target_=sentence_transformers.losses.ContrastiveTensionLoss,sentence_transformers.losses.ContrastiveLoss

0 comments on commit ec0f325

Please sign in to comment.