Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions docs/cookbook/nemotron_qa.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
categories:
- Preference Data
description: Learn to implement Nvidia's Preference Data Pipeline with Dria, using
synthetic data generation and reward modeling techniques.
- Synthetic Data
description: Learn to implement Nvidia's Preference Data Pipeline using Dria for synthetic
data generation with Llama 3.1.
tags:
- Nvidia
- Dria
- Data Pipeline
- Machine Learning
- Synthetic Data
- Dria
- AI Pipeline
- Llama 3.1
---

# Implementing Nvidia's Preference Data Pipeline with Dria
Expand Down
6 changes: 3 additions & 3 deletions docs/how-to/data_enrichment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ tags:
Here's a complete example showing how to analyze the extract summary of a text using Dria:

```python
# Define the schema for translated content
# Define the schema for summarized content
class SummarizedContent(BaseModel):
summary: str

# Create a prompt with the translation instruction
# Create a prompt with the summary instruction
prompter = Prompt(
"Summarize the following text in a single concise paragraph:\n\n{{text}}",
schema=SummarizedContent
Expand Down Expand Up @@ -126,7 +126,7 @@ async def enrich():
sentiment: str
keywords: str

# Create a prompt with the translation instruction
# Create a prompt with the analysis instruction
prompter = Prompt(
"Identify the sentiment (positive, negative, or neutral) of the following text and extract keywords:\n\n{{generation}}",
schema=AnalyzedText
Expand Down