Adding example detailing how to add a new file to the documentation + adding fonts.
This commit is contained in:
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.
@@ -0,0 +1 @@
|
||||
# Bertology
|
||||
+2
-1
@@ -41,7 +41,8 @@ release = u'1.0.0'
|
||||
extensions = [
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinx.ext.coverage',
|
||||
'sphinx.ext.napoleon'
|
||||
'sphinx.ext.napoleon',
|
||||
'recommonmark'
|
||||
|
||||
]
|
||||
|
||||
|
||||
@@ -7,11 +7,14 @@ Pytorch-Transformers
|
||||
:caption: Notes
|
||||
|
||||
installation
|
||||
philosophy
|
||||
usage
|
||||
examples
|
||||
notebooks
|
||||
tpu
|
||||
cli
|
||||
migration
|
||||
bertology
|
||||
torchscript
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
# Migration
|
||||
@@ -0,0 +1 @@
|
||||
# Philosophy
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user