Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmbmb committed Jan 17, 2025
2 parents 74cc09e + 27b5db2 commit dd6eda5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/sections/how_to_guides/basic/task/generator_task.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class MyCustomTask(GeneratorTask):
instruction: str

@override
def process(self, offset: int = 0) -> GeneratorOutput:
def process(self, offset: int = 0) -> GeneratorStepOutput:
output = self.llm.generate(
inputs=[
[
Expand Down Expand Up @@ -82,7 +82,7 @@ from distilabel.typing import ChatType

class MyCustomTask(GeneratorTask):
@override
def process(self, offset: int = 0) -> GeneratorOutput:
def process(self, offset: int = 0) -> GeneratorStepOutput:
output = self.llm.generate(
inputs=[
[{"role": "user", "content": "Tell me a joke."}],
Expand Down
2 changes: 1 addition & 1 deletion src/distilabel/utils/mkdocs/components_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def _generate_embeddings_pages(self, src_dir: Path, embeddings: list) -> List[st

paths.append(llm_path)

# Create the `components-gallery/llms/index.md` file
# Create the `components-gallery/embeddings/index.md` file
content = _COMPONENTS_LIST_TEMPLATE.render(
title="Embeddings Gallery",
description="",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ hide:
---
# Components Gallery

??? info "Category Overview"
| Icon | Category | Description |
|----------------------------|------------|-------------------------------------------------------------------|
| :material-step-forward: | Steps | Steps are used for data manipulation. |
| :material-check-outline: | Tasks | Tasks allow performing data generation, annotation, and more. |
| :material-brain: | LLMs | Explore all available Large Language Models integrated with distilabel. |
| :material-vector-line: | Embeddings | Explore all available Embeddings Models integrated with distilabel. |

<div class="grid cards" markdown>

- :material-step-forward:{ .lg .middle } __Steps__
Expand Down

0 comments on commit dd6eda5

Please sign in to comment.