Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions _doc/examples/plot_export_tiny_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def _forward_(*args, _f=None, **kwargs):
#
# Let's create an untrained model using the config file provided
# `config.json <https://huggingface.co/arnir0/Tiny-LLM/blob/main/config.json>`_
# to create an untrained model: :func:`....get_tiny_llm`.
# to create an untrained model:
# :func:`onnx_diagnostic.torch_models.llms.get_tiny_llm`.
# Then let's use it.

experiment = get_tiny_llm()
Expand Down Expand Up @@ -138,7 +139,7 @@ def _forward_(*args, _f=None, **kwargs):
#
# Let's use the same dummy inputs but we use the downloaded model.
# Dummy inputs and dynamic shapes are created by function
# :func:`....get_tiny_llm`.
# :func:`onnx_diagnostic.torch_models.llms.get_tiny_llm`.

data = get_tiny_llm()
inputs, dynamic_shapes = data["inputs"], data["dynamic_shapes"]
Expand Down
Loading