-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
CritiqueTask
documentation (#200)
* Add `CritiqueTask` documentation * Align namings and fix typos in `docs/`
- Loading branch information
1 parent
0407bd0
commit b6d57f0
Showing
7 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from distilabel.tasks import PrometheusTask | ||
|
||
task = PrometheusTask( | ||
system_prompt="You are a fair evaluator language model.", | ||
scoring_criteria="Relevance, Grammar, Informativeness, Engagement", | ||
score_descriptions={ | ||
1: "The response is not relevant to the prompt.", | ||
2: "The response is relevant to the prompt, but it is not grammatical.", | ||
3: "The response is relevant to the prompt and it is grammatical, but it is not informative.", | ||
4: "The response is relevant to the prompt, it is grammatical, and it is informative, but it is not engaging.", | ||
5: "The response is relevant to the prompt, it is grammatical, it is informative, and it is engaging.", | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from distilabel.tasks import UltraCMTask | ||
|
||
task = UltraCMTask( | ||
system_prompt="User: A one-turn chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, very detailed, and polite answers to the user's questions.</s>", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters