Fix docs latex build and nits (#1297)

* fix docs latex build and nits

* fix stub gen and try to clean up building
This commit is contained in:
Awni Hannun
2024-07-29 11:44:06 -07:00
committed by GitHub
parent 6e06e3a904
commit aa1d6cadad
6 changed files with 36 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ module to concisely define the model architecture.
Attention layer
^^^^^^^^^^^^^^^^
We will start with the llama attention layer which notably uses the RoPE
We will start with the Llama attention layer which notably uses the RoPE
positional encoding. [1]_ In addition, our attention layer will optionally use a
key/value cache that will be concatenated with the provided keys and values to
support efficient inference.

View File

@@ -64,7 +64,7 @@ set:
Next, setup the problem parameters and load the data. To load the data, you need our
`mnist data loader
<https://github.com/ml-explore/mlx-examples/blob/main/mnist/mnist.py>`_, which
we will import as `mnist`.
we will import as ``mnist``.
.. code-block:: python