paddlenlp.metrics.chunk.po 5.31 KB
Newer Older
yuguo-Jack's avatar
yuguo-Jack committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2021, PaddleNLP
# This file is distributed under the same license as the PaddleNLP package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PaddleNLP \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-18 21:31+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

#: ../source/paddlenlp.metrics.chunk.rst:2
msgid "chunk"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator:1
msgid "基类::class:`paddle.metric.metrics.Metric`"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator:1
msgid ""
"ChunkEvaluator computes the precision, recall and F1-score for chunk "
"detection. It is often used in sequence tagging tasks, such as Named "
"Entity Recognition(NER)."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator
#: paddlenlp.metrics.chunk.ChunkEvaluator.compute
#: paddlenlp.metrics.chunk.ChunkEvaluator.update
msgid "参数"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator:4
msgid "The label list."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator:6
msgid ""
"If set True, the label ends with '-B', '-I', '-E' or '-S', else the label"
" starts with them. Defaults to `False`."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator:11
msgid "示例"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:1
msgid "Computes the precision, recall and F1-score for chunk detection."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:3
msgid "The valid length of every sequence, a tensor with shape `[batch_size]`"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:5
msgid ""
"The predictions index, a tensor with shape `[batch_size, "
"sequence_length]`."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:7
msgid "The labels index, a tensor with shape `[batch_size, sequence_length]`."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:9
msgid ""
"Unnecessary parameter for compatibility with older versions with "
"parameters list `inputs`, `lengths`, `predictions`, `labels`. Defaults to"
" None."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.accumulate
#: paddlenlp.metrics.chunk.ChunkEvaluator.compute
msgid "返回"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:12
msgid ""
"Returns tuple (`num_infer_chunks, num_label_chunks, num_correct_chunks`)."
"  With the fields:  - `num_infer_chunks` (Tensor):     The number of the "
"inference chunks.  - `num_label_chunks` (Tensor):     The number of the "
"label chunks.  - `num_correct_chunks` (Tensor):     The number of the "
"correct chunks."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:12
msgid "Returns tuple (`num_infer_chunks, num_label_chunks, num_correct_chunks`)."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:14
msgid "With the fields:"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:17
msgid "`num_infer_chunks` (Tensor):"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:17
msgid "The number of the inference chunks."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:20
msgid "`num_label_chunks` (Tensor):"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:20
msgid "The number of the label chunks."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:22
msgid "`num_correct_chunks` (Tensor):"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.compute:23
msgid "The number of the correct chunks."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.accumulate
#: paddlenlp.metrics.chunk.ChunkEvaluator.compute
msgid "返回类型"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.update:1
msgid ""
"This function takes (num_infer_chunks, num_label_chunks, "
"num_correct_chunks) as input, to accumulate and update the corresponding "
"status of the ChunkEvaluator object. The update method is as follows:"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.update:4
msgid ""
"\\\\ \\begin{array}{l}{\\text { self. num_infer_chunks }+=\\text { "
"num_infer_chunks }} \\\\ {\\text { self. num_Label_chunks }+=\\text { "
"num_label_chunks }} \\\\ {\\text { self. num_correct_chunks }+=\\text { "
"num_correct_chunks }}\\end{array} \\\\\n"
"\n"
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.update:7
msgid "The number of chunks in Inference on the given minibatch."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.update:9
msgid "The number of chunks in Label on the given mini-batch."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.update:11
msgid "The number of chunks both in Inference and Label on the given mini-batch."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.accumulate:1
msgid ""
"This function returns the mean precision, recall and f1 score for all "
"accumulated minibatches."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.accumulate:3
msgid "Returns tuple (`precision, recall, f1 score`)."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.reset:1
msgid "Reset function empties the evaluation memory for previous mini-batches."
msgstr ""

#: of paddlenlp.metrics.chunk.ChunkEvaluator.name:1
msgid "Return name of metric instance."
msgstr ""