Update quickstart.rst

This commit is contained in:
yhcc 2019-06-13 11:17:02 +08:00 committed by GitHub
parent e4b0782466
commit 4124b385d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@
.. code-block:: python
from fastNLP.models import CNNText
model = CNNText((len(vocab),50), num_classes=5, padding=2, dropout=0.1)
model = CNNText((len(vocab),50), num_classes=5, dropout=0.1)
:class:`~fastNLP.models.CNNText` 的网络结构如下::
@ -121,4 +121,4 @@
In Epoch:6/Step:12, got best dev performance:AccuracyMetric: acc=0.8
Reloaded the best model.
这份教程只是简单地介绍了使用 fastNLP 工作的流程,具体的细节分析见 :doc:`/user/tutorial_one`
这份教程只是简单地介绍了使用 fastNLP 工作的流程,具体的细节分析见 :doc:`/user/tutorial_one`