Datasets:
MLRS
/

Modalities:
Text
Languages:
Maltese
Libraries:
Datasets
License:
KurtMica commited on
Commit
28269ab
1 Parent(s): f9314b1

Dataset card.

Browse files
Files changed (1) hide show
  1. README.md +70 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Korpus Malti
3
+ languages:
4
+ - mt
5
+ multilinguality:
6
+ - monolingual
7
+ size_categories:
8
+ - 10M<n<100M
9
+ annotations_creators:
10
+ - no-annotation
11
+ language_creators:
12
+ - found
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - text-generation
17
+ - fill-mask
18
+ task_ids:
19
+ - language-modeling
20
+ - masked-language-modeling
21
+ ---
22
+ # Korpus Malti 🇲🇹
23
+
24
+ General Corpora for the Maltese Language.
25
+
26
+ This dataset is composed of texts from various genres/domains written in Maltese.
27
+
28
+
29
+ ## Configurations
30
+
31
+ ### Shuffled data
32
+
33
+ The default configuration (`"shuffled"`) yields the the entire corpus from all genres:
34
+ ```python
35
+ import datasets
36
+
37
+ dataset = datasets.load_dataset("MLRS/korpus_malti")
38
+ ```
39
+
40
+ All sentences are combined together and shuffled, without preserving the sentence order.
41
+ No other annotations are present, so an instance would be of the following form:
42
+ ```json
43
+ {
44
+ "text": "Din hija sentenza."
45
+ }
46
+ ```
47
+
48
+ The training/validation/testing split is what was used to train the [BERTu](https://huggingface.co/MLRS/BERTu) model.
49
+
50
+ ### Domain-split data
51
+
52
+ All other configurations contain a subset of the data.
53
+ For instance, this loads the Wikipedia portion:
54
+ ```python
55
+ import datasets
56
+
57
+ dataset = datasets.load_dataset("MLRS/korpus_malti", "wiki")
58
+ ```
59
+
60
+ For these configurations the data is not shuffled, so the sentence order on a document level is preserved.
61
+ An instance from these configurations would take the following form:
62
+ ```json
63
+ {
64
+ "text": ["Din hija sentenza.", "U hawn oħra!"],
65
+ }
66
+ ```
67
+
68
+ The raw data files contain additional metadata.
69
+ Its structure differs from one instance to another, depending on what's available from the source.
70
+ This information was typically scraped from the source itself & minimal processing is performed on such data.