Skip to content

Commit 419d534

Browse files
authored
[DOCS] Adds DeBERTa v2 tokenization params to infer trained model API docs (elastic#114242) (elastic#114277)
* [DOCS] Adds DeBERTa v2 tokenization params to infer trained model API docs. * [DOCS] Mode edits.
1 parent 74f523d commit 419d534

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,17 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
225225
(Optional, string)
226226
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
227227
=======
228+
`deberta_v2`::::
229+
(Optional, object)
230+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
231+
+
232+
.Properties of deberta_v2
233+
[%collapsible%open]
234+
=======
235+
`truncate`::::
236+
(Optional, string)
237+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate-deberta-v2]
238+
=======
228239
`roberta`::::
229240
(Optional, object)
230241
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
@@ -301,6 +312,17 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
301312
(Optional, string)
302313
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
303314
=======
315+
`deberta_v2`::::
316+
(Optional, object)
317+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
318+
+
319+
.Properties of deberta_v2
320+
[%collapsible%open]
321+
=======
322+
`truncate`::::
323+
(Optional, string)
324+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate-deberta-v2]
325+
=======
304326
`roberta`::::
305327
(Optional, object)
306328
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
@@ -397,6 +419,21 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
397419
(Optional, string)
398420
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
399421
=======
422+
`deberta_v2`::::
423+
(Optional, object)
424+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
425+
+
426+
.Properties of deberta_v2
427+
[%collapsible%open]
428+
=======
429+
`span`::::
430+
(Optional, integer)
431+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
432+
433+
`truncate`::::
434+
(Optional, string)
435+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate-deberta-v2]
436+
=======
400437
`roberta`::::
401438
(Optional, object)
402439
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
@@ -517,6 +554,21 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
517554
(Optional, string)
518555
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
519556
=======
557+
`deberta_v2`::::
558+
(Optional, object)
559+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
560+
+
561+
.Properties of deberta_v2
562+
[%collapsible%open]
563+
=======
564+
`span`::::
565+
(Optional, integer)
566+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
567+
568+
`truncate`::::
569+
(Optional, string)
570+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate-deberta-v2]
571+
=======
520572
`roberta`::::
521573
(Optional, object)
522574
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
@@ -608,6 +660,17 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
608660
(Optional, string)
609661
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
610662
=======
663+
`deberta_v2`::::
664+
(Optional, object)
665+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
666+
+
667+
.Properties of deberta_v2
668+
[%collapsible%open]
669+
=======
670+
`truncate`::::
671+
(Optional, string)
672+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate-deberta-v2]
673+
=======
611674
`roberta`::::
612675
(Optional, object)
613676
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
@@ -687,6 +750,21 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
687750
(Optional, integer)
688751
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
689752

753+
`with_special_tokens`::::
754+
(Optional, boolean)
755+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert-with-special-tokens]
756+
=======
757+
`deberta_v2`::::
758+
(Optional, object)
759+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
760+
+
761+
.Properties of deberta_v2
762+
[%collapsible%open]
763+
=======
764+
`span`::::
765+
(Optional, integer)
766+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
767+
690768
`with_special_tokens`::::
691769
(Optional, boolean)
692770
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert-with-special-tokens]
@@ -790,6 +868,17 @@ include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenizatio
790868
(Optional, string)
791869
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
792870
=======
871+
`deberta_v2`::::
872+
(Optional, object)
873+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-deberta-v2]
874+
+
875+
.Properties of deberta_v2
876+
[%collapsible%open]
877+
=======
878+
`truncate`::::
879+
(Optional, string)
880+
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate-deberta-v2]
881+
=======
793882
`roberta`::::
794883
(Optional, object)
795884
include::{es-ref-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]

0 commit comments

Comments
 (0)