316usman commited on
Commit
2b0465e
·
verified ·
1 Parent(s): efab525

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -35
README.md CHANGED
@@ -1,37 +1,48 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: prompt
5
- dtype: string
6
- - name: chosen
7
- dtype: string
8
- - name: rejected
9
- dtype: string
10
- - name: source
11
- dtype: string
12
- - name: defect
13
- dtype: string
14
- - name: negatives
15
- dtype: string
16
- splits:
17
- - name: train
18
- num_bytes: 608513
19
- num_examples: 1079
20
- - name: validation
21
- num_bytes: 76394
22
- num_examples: 134
23
- - name: test
24
- num_bytes: 76566
25
- num_examples: 136
26
- download_size: 230801
27
- dataset_size: 761473
28
- configs:
29
- - config_name: default
30
- data_files:
31
- - split: train
32
- path: data/train-*
33
- - split: validation
34
- path: data/validation-*
35
- - split: test
36
- path: data/test-*
37
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: unknown
3
+ task_categories:
4
+ - text-generation
5
+ tags:
6
+ - preference
7
+ - dpo
8
+ - reward-model
9
+ size_categories:
10
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
+
13
+ # SENTIMENT_ANALYSIS
14
+
15
+ A preference dataset for **SENTIMENT_ANALYSIS**, harvested from real, human-labelled sources and curated by an automated harvesting harness with an LLM quality gate.
16
+
17
+ ## Format
18
+
19
+ Standard preference / DPO schema — each row:
20
+
21
+ | column | meaning |
22
+ |---|---|
23
+ | `prompt` | the request (originally `text`) |
24
+ | `chosen` | the human-preferred response |
25
+ | `rejected` | a worse response to the same prompt |
26
+ | `source` | the dataset/URL the row was harvested from |
27
+
28
+ ## Splits
29
+
30
+ 80/10/10 `train` / `validation` / `test` (seeded shuffle): train:1079 / validation:134 / test:136
31
+
32
+ ## Stats
33
+
34
+ - **Rows:** 1349
35
+ - **Distinct sources:** 3
36
+
37
+ ### Sources
38
+ - `Jean-Baptiste/financial_news_sentiment_mixte_with_phrasebank_75`
39
+ - `SetFit/amazon_polarity`
40
+ - `cardiffnlp/tweet_eval (sentiment)`
41
+
42
+ ## Provenance
43
+
44
+ **`prompt` and `chosen` are real** — harvested from the human-labelled sources listed above (accepted / upvoted / high-rated responses).
45
+
46
+ **`rejected` is partly synthetic.** Most sources retain only the accepted answer, so where no genuine low-scored counterpart existed the negative was generated by defect injection: an LLM rewrites that row's own `chosen` with exactly one flaw introduced (omission, factual error, wrong remedy, unsupported claim, or misprioritisation) at matched length. Rows carrying a `defect` column are the generated ones; rows without it kept a negative that was present in the source.
47
+
48
+ Rows passed a per-row check (negative is unique, not a stub, not spliced from `chosen`) and a whole-corpus gate for repeated negatives, length shortcuts, train/eval leakage and bag-of-words separability.