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
c4ac7a76
"...text/git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "2795dc1f4445767d9369f06b92848772d805c86e"
Commit
c4ac7a76
authored
Sep 25, 2019
by
LysandreJik
Committed by
Lysandre Debut
Sep 26, 2019
Browse files
GLUE processors
parent
4acd87ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
0 deletions
+46
-0
docs/source/index.rst
docs/source/index.rst
+1
-0
docs/source/main_classes/processors.rst
docs/source/main_classes/processors.rst
+45
-0
No files found.
docs/source/index.rst
View file @
c4ac7a76
...
...
@@ -67,6 +67,7 @@ The library currently contains PyTorch and Tensorflow implementations, pre-train
main_classes/model
main_classes/tokenizer
main_classes/optimizer_schedules
main_classes/processors
.. toctree::
:maxdepth: 2
...
...
docs/source/main_classes/processors.rst
0 → 100644
View file @
c4ac7a76
Processors
----------------------------------------------------
This library includes processors for several traditional tasks. These processors can be used to process a dataset into
examples that can be fed to a model.
``GLUE``
~~~~~~~~~~~~~~~~~~~~~
`General Language Understanding Evaluation (GLUE)<https://gluebenchmark.com/>`__ is a benchmark that evaluates
the performance of models across a diverse set of existing NLU tasks. It was released together with the paper
`GLUE: A multi-task benchmark and analysis platform for natural language understanding<https://openreview.net/pdf?id=rJ4km2R5t7>`__
This library hosts a total of 10 processors for the following tasks: MRPC, MNLI, MNLI (mismatched),
CoLA, SST2, STSB, QQP, QNLI, RTE and WNLI.
.. autoclass:: pytorch_transformers.data.processors.glue.MrpcProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.MnliProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.MnliMismatchedProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.ColaProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.Sst2Processor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.StsbProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.QqpProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.QnliProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.RteProcessor
:members:
.. autoclass:: pytorch_transformers.data.processors.glue.WnliProcessor
:members:
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