Commit
·
032b4cd
1
Parent(s):
2c28747
Upload argilla.yaml with huggingface_hub
Browse files- argilla.yaml +70 -0
argilla.yaml
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
allow_extra_metadata: true
|
2 |
+
fields:
|
3 |
+
- name: prompt
|
4 |
+
required: true
|
5 |
+
title: Prompt
|
6 |
+
type: !!python/object/apply:argilla.client.feedback.schemas.enums.FieldTypes
|
7 |
+
- text
|
8 |
+
use_markdown: true
|
9 |
+
- name: response
|
10 |
+
required: true
|
11 |
+
title: Response
|
12 |
+
type: !!python/object/apply:argilla.client.feedback.schemas.enums.FieldTypes
|
13 |
+
- text
|
14 |
+
use_markdown: true
|
15 |
+
guidelines: Answer the questions to assess the quality of the response given by the
|
16 |
+
chat assistant.
|
17 |
+
metadata_properties: null
|
18 |
+
questions:
|
19 |
+
- description: null
|
20 |
+
labels:
|
21 |
+
- 'Yes'
|
22 |
+
- 'No'
|
23 |
+
name: relevant
|
24 |
+
required: true
|
25 |
+
title: Is the response relevant for the given prompt?
|
26 |
+
type: !!python/object/apply:argilla.client.feedback.schemas.enums.QuestionTypes
|
27 |
+
- label_selection
|
28 |
+
visible_labels: null
|
29 |
+
- description: null
|
30 |
+
labels:
|
31 |
+
hate: Hate Speech
|
32 |
+
inappropriate: Inappropriate content
|
33 |
+
not_english: Not English
|
34 |
+
pii: Personal information
|
35 |
+
sexual: Sexual content
|
36 |
+
untruthful: Untruthful info
|
37 |
+
violent: Violent content
|
38 |
+
name: content_class
|
39 |
+
required: false
|
40 |
+
title: Does the response include any of the following?
|
41 |
+
type: !!python/object/apply:argilla.client.feedback.schemas.enums.QuestionTypes
|
42 |
+
- multi_label_selection
|
43 |
+
visible_labels: 7
|
44 |
+
- description: Rate the quality of the response based on its truthfulness and helpfulness.
|
45 |
+
1 is very bad and 10 is very good.
|
46 |
+
name: rating
|
47 |
+
required: true
|
48 |
+
title: 'Rate the quality of the response:'
|
49 |
+
type: !!python/object/apply:argilla.client.feedback.schemas.enums.QuestionTypes
|
50 |
+
- rating
|
51 |
+
values:
|
52 |
+
- 1
|
53 |
+
- 2
|
54 |
+
- 3
|
55 |
+
- 4
|
56 |
+
- 5
|
57 |
+
- 6
|
58 |
+
- 7
|
59 |
+
- 8
|
60 |
+
- 9
|
61 |
+
- 10
|
62 |
+
- description: If the rating provided is below 4, please write a new version of the
|
63 |
+
response.
|
64 |
+
name: corrected-text
|
65 |
+
required: false
|
66 |
+
title: 'Provide a correction to the response:'
|
67 |
+
type: !!python/object/apply:argilla.client.feedback.schemas.enums.QuestionTypes
|
68 |
+
- text
|
69 |
+
use_markdown: true
|
70 |
+
vectors_settings: null
|