Adding example detailing how to add a new file to the documentation + adding fonts.

This commit is contained in:
LysandreJik committed 2019-07-09 10:11:29 -04:00
1 parent 6847e30e1c
commit 269e73b601
11 files changed
+48 -9

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
# Bertology
+2 -1
View File
@@ -41,7 +41,8 @@ release = u'1.0.0'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.napoleon'
'sphinx.ext.napoleon',
'recommonmark'
]
+3
View File
@@ -7,11 +7,14 @@ Pytorch-Transformers
:caption: Notes
installation
philosophy
usage
examples
notebooks
tpu
cli
migration
bertology
torchscript
+1
View File
@@ -0,0 +1 @@
# Migration
+1
View File
@@ -0,0 +1 @@
# Philosophy
+1 -6
View File
@@ -122,9 +122,4 @@ Using the traced model for inference is as simple as using its ``__call__`` dund
.. code-block:: python
traced_model(tokens_tensor, segments_tensors)
(Optional) Using TorchScript in C++
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Below are examples of using a model exported using Python in C++.
traced_model(tokens_tensor, segments_tensors)