From ec0f3254d704a9099f692875a49f262f1dce3b28 Mon Sep 17 00:00:00 2001 From: Simon Meoni Date: Tue, 20 Feb 2024 13:54:34 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F=20Style=20Transfer:=20move?= =?UTF-8?q?=20&=20add=20scoring=20experiments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bash/{gen_09-2024.sh => gen_09-02-2024.sh} | 0 lib/style-transfer/bash/gen_10-02-2024.sh | 6 ++++++ lib/style-transfer/bash/gen_10-2024.sh | 6 ------ .../bash/{score_10-2024.sh => score_10-02-2024.sh} | 0 .../bash/{score_13-2024.sh => score_13-02-2024.sh} | 0 lib/style-transfer/bash/score_14-02-2024.sh | 7 +++++++ lib/style-transfer/bash/score_19_02_2024.sh | 12 ++++++++++++ 7 files changed, 25 insertions(+), 6 deletions(-) rename lib/style-transfer/bash/{gen_09-2024.sh => gen_09-02-2024.sh} (100%) create mode 100644 lib/style-transfer/bash/gen_10-02-2024.sh delete mode 100644 lib/style-transfer/bash/gen_10-2024.sh rename lib/style-transfer/bash/{score_10-2024.sh => score_10-02-2024.sh} (100%) rename lib/style-transfer/bash/{score_13-2024.sh => score_13-02-2024.sh} (100%) create mode 100644 lib/style-transfer/bash/score_14-02-2024.sh create mode 100644 lib/style-transfer/bash/score_19_02_2024.sh diff --git a/lib/style-transfer/bash/gen_09-2024.sh b/lib/style-transfer/bash/gen_09-02-2024.sh similarity index 100% rename from lib/style-transfer/bash/gen_09-2024.sh rename to lib/style-transfer/bash/gen_09-02-2024.sh diff --git a/lib/style-transfer/bash/gen_10-02-2024.sh b/lib/style-transfer/bash/gen_10-02-2024.sh new file mode 100644 index 0000000..1309cbc --- /dev/null +++ b/lib/style-transfer/bash/gen_10-02-2024.sh @@ -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 diff --git a/lib/style-transfer/bash/gen_10-2024.sh b/lib/style-transfer/bash/gen_10-2024.sh deleted file mode 100644 index ddea989..0000000 --- a/lib/style-transfer/bash/gen_10-2024.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -nohup 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 && -nohup 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 && -nohup 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 && -nohup 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 diff --git a/lib/style-transfer/bash/score_10-2024.sh b/lib/style-transfer/bash/score_10-02-2024.sh similarity index 100% rename from lib/style-transfer/bash/score_10-2024.sh rename to lib/style-transfer/bash/score_10-02-2024.sh diff --git a/lib/style-transfer/bash/score_13-2024.sh b/lib/style-transfer/bash/score_13-02-2024.sh similarity index 100% rename from lib/style-transfer/bash/score_13-2024.sh rename to lib/style-transfer/bash/score_13-02-2024.sh diff --git a/lib/style-transfer/bash/score_14-02-2024.sh b/lib/style-transfer/bash/score_14-02-2024.sh new file mode 100644 index 0000000..857cc38 --- /dev/null +++ b/lib/style-transfer/bash/score_14-02-2024.sh @@ -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 diff --git a/lib/style-transfer/bash/score_19_02_2024.sh b/lib/style-transfer/bash/score_19_02_2024.sh new file mode 100644 index 0000000..6b89022 --- /dev/null +++ b/lib/style-transfer/bash/score_19_02_2024.sh @@ -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