Datasets:

Languages:
French
Size:
n<1K
License:
boudinfl commited on
Commit
04ad54c
1 Parent(s): f4b1a87

updating data with category information

Browse files
Files changed (3) hide show
  1. README.md +2 -1
  2. termith-eval.py +2 -0
  3. test.jsonl +0 -0
README.md CHANGED
@@ -40,7 +40,7 @@ The dataset contains the following test split:
40
 
41
  | Split | # documents | #words | # keyphrases | % Present | % Reordered | % Mixed | % Unseen |
42
  | :--------- |------------:|-----------:|-------------:|----------:|------------:|--------:|---------:|
43
- | Test | 400 | 156.9 | 11.81 | 40.60 | 7.32 | 19.28 | 32.80 |
44
 
45
  The following data fields are available :
46
 
@@ -49,6 +49,7 @@ The following data fields are available :
49
  - **abstract**: abstract of the document.
50
  - **keyphrases**: list of reference keyphrases.
51
  - **prmu**: list of <u>P</u>resent-<u>R</u>eordered-<u>M</u>ixed-<u>U</u>nseen categories for reference keyphrases.
 
52
 
53
  ## References
54
 
 
40
 
41
  | Split | # documents | #words | # keyphrases | % Present | % Reordered | % Mixed | % Unseen |
42
  | :--------- |------------:|-----------:|-------------:|----------:|------------:|--------:|---------:|
43
+ | Test | 399 | 156.9 | 11.81 | 40.60 | 7.32 | 19.28 | 32.80 |
44
 
45
  The following data fields are available :
46
 
 
49
  - **abstract**: abstract of the document.
50
  - **keyphrases**: list of reference keyphrases.
51
  - **prmu**: list of <u>P</u>resent-<u>R</u>eordered-<u>M</u>ixed-<u>U</u>nseen categories for reference keyphrases.
52
+ - **category**: category of the document, i.e. chimie (chemistry), archeologie (archeology), linguistique (linguistics) and scienceInfo (information sciences).
53
 
54
  ## References
55
 
termith-eval.py CHANGED
@@ -77,6 +77,7 @@ class Wikinews(datasets.GeneratorBasedBuilder):
77
  "abstract": datasets.Value("string"),
78
  "keyphrases": datasets.features.Sequence(datasets.Value("string")),
79
  "prmu": datasets.features.Sequence(datasets.Value("string")),
 
80
  }
81
  )
82
  return datasets.DatasetInfo(
@@ -129,5 +130,6 @@ class Wikinews(datasets.GeneratorBasedBuilder):
129
  "abstract": data["abstract"],
130
  "keyphrases": data["keyphrases"],
131
  "prmu": data["prmu"],
 
132
  }
133
 
 
77
  "abstract": datasets.Value("string"),
78
  "keyphrases": datasets.features.Sequence(datasets.Value("string")),
79
  "prmu": datasets.features.Sequence(datasets.Value("string")),
80
+ "category": datasets.Value("string"),
81
  }
82
  )
83
  return datasets.DatasetInfo(
 
130
  "abstract": data["abstract"],
131
  "keyphrases": data["keyphrases"],
132
  "prmu": data["prmu"],
133
+ "category": data["category"],
134
  }
135
 
test.jsonl CHANGED
The diff for this file is too large to render. See raw diff