From 5425ab9f8616d4013acaa8195934a5501a22ae0f Mon Sep 17 00:00:00 2001 From: RodionfromHSE Date: Sun, 19 Nov 2023 23:03:28 +0100 Subject: [PATCH] configs --- conf/model/fasttext_en.yaml | 2 ++ conf/model/fasttext_ru.yaml | 2 ++ conf/model/random_attention_extractor.yaml | 1 + conf/setup/prod.yaml | 8 ++++++++ 4 files changed, 13 insertions(+) create mode 100644 conf/model/fasttext_en.yaml create mode 100644 conf/model/fasttext_ru.yaml create mode 100644 conf/model/random_attention_extractor.yaml create mode 100644 conf/setup/prod.yaml diff --git a/conf/model/fasttext_en.yaml b/conf/model/fasttext_en.yaml new file mode 100644 index 0000000..adc6df4 --- /dev/null +++ b/conf/model/fasttext_en.yaml @@ -0,0 +1,2 @@ +path: ${root}/models/embs/cc.en.100.bin +type: fasttext \ No newline at end of file diff --git a/conf/model/fasttext_ru.yaml b/conf/model/fasttext_ru.yaml new file mode 100644 index 0000000..2c816f9 --- /dev/null +++ b/conf/model/fasttext_ru.yaml @@ -0,0 +1,2 @@ +path: ${root}/models/embs/cc.ru.100.bin +type: fasttext \ No newline at end of file diff --git a/conf/model/random_attention_extractor.yaml b/conf/model/random_attention_extractor.yaml new file mode 100644 index 0000000..010e927 --- /dev/null +++ b/conf/model/random_attention_extractor.yaml @@ -0,0 +1 @@ +type: "random" \ No newline at end of file diff --git a/conf/setup/prod.yaml b/conf/setup/prod.yaml new file mode 100644 index 0000000..988c68b --- /dev/null +++ b/conf/setup/prod.yaml @@ -0,0 +1,8 @@ +# @package _global_ + +defaults: + - /model@dest_synonym_searcher: fasttext_ru + - /model@src_synonym_searcher: fasttext_en + - /model@translator: opus_distilled_en_ru + - /model@attention_extractor: random_attention_extractor + - override /params: finetune \ No newline at end of file