Skip to content

Commit

Permalink
Fix references to new docs refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
plaguss committed Oct 25, 2024
1 parent 5ddc2f1 commit 774ea56
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/api/models/llm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

This section contains the API reference for the `distilabel` LLMs, both for the [`LLM`][distilabel.models.llms.LLM] synchronous implementation, and for the [`AsyncLLM`][distilabel.models.llms.AsyncLLM] asynchronous one.

For more information and examples on how to use existing LLMs or create custom ones, please refer to [Tutorial - LLM](../../sections/how_to_guides/basic/llm/index.md).
For more information and examples on how to use existing LLMs or create custom ones, please refer to [Tutorial - LLM](../../../sections/how_to_guides/basic/llm/index.md).

::: distilabel.models.llms.base
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ hide: toc

Generate RPG characters following a `pydantic.BaseModel` with `outlines` in `distilabel`.

This script makes use of [`LlamaCppLLM`][distilabel.models.llamacpp.LlamaCppLLM] and the structured output capabilities thanks to [`outlines`](https://outlines-dev.github.io/outlines/welcome/) to generate RPG characters that adhere to a JSON schema.
This script makes use of [`LlamaCppLLM`][distilabel.models.llms.llamacpp.LlamaCppLLM] and the structured output capabilities thanks to [`outlines`](https://outlines-dev.github.io/outlines/welcome/) to generate RPG characters that adhere to a JSON schema.

![Arena Hard](../../../assets/pipelines/knowledge_graphs.png)

It makes use of a local model which can be downloaded using curl (explained in the script itself), and can be exchanged with other `LLMs` like [`vLLM`][distilabel.models.vllm.vLLM].
It makes use of a local model which can be downloaded using curl (explained in the script itself), and can be exchanged with other `LLMs` like [`vLLM`][distilabel.models.llms.vllm.vLLM].

??? Run

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ hide: toc

Answer instructions with knowledge graphs defined as `pydantic.BaseModel` objects using `instructor` in `distilabel`.

This script makes use of [`MistralLLM`][distilabel.models.mistral.MistralLLM] and the structured output capabilities thanks to [`instructor`](https://python.useinstructor.com/) to generate knowledge graphs from complex topics.
This script makes use of [`MistralLLM`][distilabel.models.llms.mistral.MistralLLM] and the structured output capabilities thanks to [`instructor`](https://python.useinstructor.com/) to generate knowledge graphs from complex topics.

![Knowledge graph figure](../../../assets/pipelines/knowledge_graphs.png)

Expand Down
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ nav:
- Task Gallery: "api/task/task_gallery.md"
- Typing: "api/task/typing.md"
- LLM:
- "api/llm/index.md"
- LLM Gallery: "api/llm/llm_gallery.md"
- "api/models/llm/index.md"
- LLM Gallery: "api/models/llm/llm_gallery.md"
- Embedding:
- "api/embedding/index.md"
- Embedding Gallery: "api/embedding/embedding_gallery.md"
- "api/models/embedding/index.md"
- Embedding Gallery: "api/models/embedding/embedding_gallery.md"
- Pipeline:
- "api/pipeline/index.md"
- Routing Batch Function: "api/pipeline/routing_batch_function.md"
Expand Down

0 comments on commit 774ea56

Please sign in to comment.