Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
f4ad3d8c
Unverified
Commit
f4ad3d8c
authored
Apr 01, 2021
by
Joe Davison
Committed by
GitHub
Apr 01, 2021
Browse files
minor typo fix
*negative* log-likelihood
parent
57c1749e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/source/perplexity.rst
docs/source/perplexity.rst
+2
-2
No files found.
docs/source/perplexity.rst
View file @
f4ad3d8c
...
...
@@ -18,8 +18,8 @@ that the metric applies specifically to classical language models (sometimes cal
models
)
and
is
not
well
defined
for
masked
language
models
like
BERT
(
see
:
doc
:`
summary
of
the
models
<
model_summary
>`).
Perplexity
is
defined
as
the
exponentiated
average
log
-
likelihood
of
a
sequence
.
If
we
have
a
tokenized
sequence
:
math
:`
X
=
(
x_0
,
x_1
,
\
dots
,
x_t
)`,
then
the
perplexity
of
:
math
:`
X
`
is
,
Perplexity
is
defined
as
the
exponentiated
average
negative
log
-
likelihood
of
a
sequence
.
If
we
have
a
tokenized
sequence
:
math
:`
X
=
(
x_0
,
x_1
,
\
dots
,
x_t
)`,
then
the
perplexity
of
:
math
:`
X
`
is
,
..
math
::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment