paddlenlp.metrics.distinct.po 4.47 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
# 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.distinct.rst:2
msgid "distinct"
msgstr ""

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

#: of paddlenlp.metrics.distinct.Distinct:1
msgid ""
"`Distinct` is an algorithm for evaluating the textual diversity of the "
"generated text by calculating the number of distinct n-grams. The larger "
"the number of distinct n-grams, the higher the diversity of the text. See"
" details at https://arxiv.org/abs/1510.03055."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:6
msgid ""
":class:`Distinct` could be used as a :class:`paddle.metric.Metric` class,"
" or an ordinary class. When :class:`Distinct` is used as a "
":class:`paddle.metric.Metric` class, a function is needed to transform "
"the network output to a string list."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct
#: paddlenlp.metrics.distinct.Distinct.add_inst
#: paddlenlp.metrics.distinct.Distinct.update
msgid "参数"
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:11
msgid "Number of gram for :class:`Distinct` metric. Defaults to 2."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:13
msgid ""
"`trans_func` transforms the network output to a string list. Defaults to "
"None.  .. note::     When :class:`Distinct` is used as a "
":class:`paddle.metric.Metric`     class, `trans_func` must be provided. "
"Please note that the     input of `trans_func` is numpy array."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:13
msgid ""
"`trans_func` transforms the network output to a string list. Defaults to "
"None."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:16
msgid ""
"When :class:`Distinct` is used as a :class:`paddle.metric.Metric` class, "
"`trans_func` must be provided. Please note that the input of `trans_func`"
" is numpy array."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:20
msgid "Name of :class:`paddle.metric.Metric` instance. Defaults to \"distinct\"."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:25
msgid "实际案例"
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:26
msgid "Using as a general evaluation object."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct:38
msgid "Using as an instance of `paddle.metric.Metric`."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.update:1
msgid ""
"Updates the metrics states. This method firstly will use "
":meth:`trans_func` method to process the `output` to get the tokenized "
"candidate sentence list. Then call :meth:`add_inst` method to process the"
" candidate list one by one."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.update:6
msgid "The outputs of model."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.update:8
msgid "The additional inputs."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.add_inst:1
msgid "Updates the states based on the candidate."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.add_inst:3
msgid "Tokenized candidate sentence generated by model."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.reset:1
msgid "Resets states and result."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.accumulate:1
msgid "Calculates the final distinct score."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.accumulate
#: paddlenlp.metrics.distinct.Distinct.name
#: paddlenlp.metrics.distinct.Distinct.score
msgid "返回"
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.accumulate:3
#: paddlenlp.metrics.distinct.Distinct.score:3
msgid "The final distinct score."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.accumulate
#: paddlenlp.metrics.distinct.Distinct.name
#: paddlenlp.metrics.distinct.Distinct.score
msgid "返回类型"
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.score:1
msgid "The function is the same as :meth:`accumulate` method."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.name:1
msgid "Returns the metric name."
msgstr ""

#: of paddlenlp.metrics.distinct.Distinct.name:3
msgid "The metric name."
msgstr ""