MoritzLaurer HF staff commited on
Commit
685270e
1 Parent(s): 8369879

Upload fineweb-edu-prompt.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. fineweb-edu-prompt.yaml +4 -8
fineweb-edu-prompt.yaml CHANGED
@@ -1,7 +1,7 @@
1
  prompt:
2
- messages:
3
  - role: user
4
- content: >-
5
  Below is an extract from a web page. Evaluate whether the page has a high educational value and could be useful in an educational setting for teaching from primary school to grade school levels using the additive 5-point scoring system described below. Points are accumulated based on the satisfaction of each criterion:
6
 
7
  - Add 1 point if the extract provides some basic information relevant to educational topics, even if it includes some irrelevant or non-academic content like advertisements and promotional material.
@@ -11,20 +11,16 @@ prompt:
11
  - Bestow a fifth point if the extract is outstanding in its educational value, perfectly suited for teaching either at primary school or grade school. It follows detailed reasoning, the writing style is easy to follow and offers profound and thorough insights into the subject matter, devoid of any non-educational or complex content.
12
 
13
  The extract:
14
- {text_to_score}.
15
 
16
  After examining the extract:
17
  - Briefly justify your total score, up to 100 words.
18
  - Conclude with the score using the format: "Educational score: <total points>"
19
 
20
- input_variables:
21
  - text_to_score
22
 
23
  metadata:
24
  source: https://huggingface.co/HuggingFaceFW/fineweb-edu-classifier/blob/main/utils/prompt.txt
25
  original-model-used: meta-llama/Meta-Llama-3-70B-Instruct
26
  implementation-details: https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu#annotation
27
-
28
- # not shared by authors. Should be added here.
29
- #generation_params:
30
- # temperature: ?
 
1
  prompt:
2
+ template:
3
  - role: user
4
+ content: |-
5
  Below is an extract from a web page. Evaluate whether the page has a high educational value and could be useful in an educational setting for teaching from primary school to grade school levels using the additive 5-point scoring system described below. Points are accumulated based on the satisfaction of each criterion:
6
 
7
  - Add 1 point if the extract provides some basic information relevant to educational topics, even if it includes some irrelevant or non-academic content like advertisements and promotional material.
 
11
  - Bestow a fifth point if the extract is outstanding in its educational value, perfectly suited for teaching either at primary school or grade school. It follows detailed reasoning, the writing style is easy to follow and offers profound and thorough insights into the subject matter, devoid of any non-educational or complex content.
12
 
13
  The extract:
14
+ {{text_to_score}}.
15
 
16
  After examining the extract:
17
  - Briefly justify your total score, up to 100 words.
18
  - Conclude with the score using the format: "Educational score: <total points>"
19
 
20
+ template_variables:
21
  - text_to_score
22
 
23
  metadata:
24
  source: https://huggingface.co/HuggingFaceFW/fineweb-edu-classifier/blob/main/utils/prompt.txt
25
  original-model-used: meta-llama/Meta-Llama-3-70B-Instruct
26
  implementation-details: https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu#annotation