aboutsummaryrefslogtreecommitdiffstats
path: root/linguistics-components/src/main/resources/configdefinitions
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-12-16 18:35:11 +0100
committerJon Bratseth <bratseth@gmail.com>2021-12-16 18:35:11 +0100
commit767cb63af0f530605180f5438767406e1db27520 (patch)
treec0ea9e8ec4ded2dea6064a45334e6f8a1408f7b8 /linguistics-components/src/main/resources/configdefinitions
parent1eefb9854bcd7ca264889239b32e7fc8c8830672 (diff)
Add a BERT embedder
Diffstat (limited to 'linguistics-components/src/main/resources/configdefinitions')
-rw-r--r--linguistics-components/src/main/resources/configdefinitions/language.bert.bert.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/linguistics-components/src/main/resources/configdefinitions/language.bert.bert.def b/linguistics-components/src/main/resources/configdefinitions/language.bert.bert.def
new file mode 100644
index 00000000000..86d338758d0
--- /dev/null
+++ b/linguistics-components/src/main/resources/configdefinitions/language.bert.bert.def
@@ -0,0 +1,11 @@
+# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+# Configures com.yahoo.language.bert.BertEmbedder
+
+namespace=language.bert
+
+# The language a model is for, one of the language tags in com.yahoo.language.Language.
+# Use "unknown" for a model to be used for any language (i.e by default).
+model[].language string
+# The path to the model relative to the application package root
+model[].path path