-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚗️ Style Transfer: move & add scoring experiments
- Loading branch information
1 parent
d7c51a8
commit ec0f325
Showing
7 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes.
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 @@ | ||
#!/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 |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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,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 |
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,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 |