Datasets:

Languages:
Portuguese
ArXiv:
Tags:
File size: 6,371 Bytes
471928d
8326ba9
 
40053f6
471928d
52ff616
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8326ba9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30bb6ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52ff616
471928d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52ff616
 
 
 
8326ba9
 
 
 
30bb6ff
 
 
 
471928d
 
 
 
efb079b
 
 
 
 
 
665bc74
 
efb079b
 
 
 
 
 
 
 
 
665bc74
efb079b
 
 
40053f6
efb079b
 
 
 
40053f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
efb079b
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
---
language:
- pt
pretty_name: CrawlPT
dataset_info:
- config_name: OSCAR-2301
  features:
  - name: id
    dtype: int64
  - name: text
    dtype: string
  - name: meta
    struct:
    - name: categories
      sequence: string
    - name: dedup
      struct:
      - name: exact_norm
        struct:
        - name: cluster_main_idx
          dtype: int64
        - name: cluster_size
          dtype: int64
        - name: exact_hash_idx
          dtype: int64
        - name: is_duplicate
          dtype: bool
      - name: minhash
        struct:
        - name: cluster_main_idx
          dtype: int64
        - name: cluster_size
          dtype: int64
        - name: is_duplicate
          dtype: bool
        - name: minhash_idx
          dtype: int64
    - name: harmful_pp
      dtype: float64
    - name: identification
      struct:
      - name: label
        dtype: string
      - name: prob
        dtype: float64
    - name: quality_warnings
      sequence: string
    - name: sentence_identifications
      list:
      - name: label
        dtype: string
      - name: prob
        dtype: float64
    - name: tlsh
      dtype: string
    - name: warc_headers
      struct:
      - name: content-length
        dtype: int64
      - name: content-type
        dtype: string
      - name: warc-block-digest
        dtype: string
      - name: warc-date
        dtype: string
      - name: warc-identified-content-language
        dtype: string
      - name: warc-record-id
        dtype: string
      - name: warc-refers-to
        dtype: string
      - name: warc-target-uri
        dtype: string
      - name: warc-type
        dtype: string
  splits:
  - name: train
    num_bytes: 127937389641
    num_examples: 18031400
  download_size: 68773837112
  dataset_size: 127937389641
- config_name: all
  features:
  - name: id
    dtype: int64
  - name: source
    dtype: string
  - name: orig_id
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 177056691649
    num_examples: 60561584
  download_size: 104747375703
  dataset_size: 177056691649
- config_name: brwac
  features:
  - name: id
    dtype: int64
  - name: text
    dtype: string
  - name: meta
    struct:
    - name: dedup
      struct:
      - name: exact_norm
        struct:
        - name: cluster_main_idx
          dtype: int64
        - name: cluster_size
          dtype: int64
        - name: exact_hash_idx
          dtype: int64
        - name: is_duplicate
          dtype: bool
      - name: minhash
        struct:
        - name: cluster_main_idx
          dtype: int64
        - name: cluster_size
          dtype: int64
        - name: is_duplicate
          dtype: bool
        - name: minhash_idx
          dtype: int64
    - name: doc_id
      dtype: string
    - name: title
      dtype: string
    - name: uri
      dtype: string
  splits:
  - name: train
    num_bytes: 18308163747
    num_examples: 3530796
  download_size: 11184800378
  dataset_size: 18308163747
- config_name: cc100
  features:
  - name: id
    dtype: int64
  - name: text
    dtype: string
  - name: meta
    struct:
    - name: dedup
      struct:
      - name: exact_norm
        struct:
        - name: cluster_main_idx
          dtype: int64
        - name: cluster_size
          dtype: int64
        - name: exact_hash_idx
          dtype: int64
        - name: is_duplicate
          dtype: bool
      - name: minhash
        struct:
        - name: cluster_main_idx
          dtype: int64
        - name: cluster_size
          dtype: int64
        - name: is_duplicate
          dtype: bool
        - name: minhash_idx
          dtype: int64
  splits:
  - name: train
    num_bytes: 55033381569
    num_examples: 38999388
  download_size: 35074345417
  dataset_size: 55033381569
configs:
- config_name: OSCAR-2301
  data_files:
  - split: train
    path: OSCAR-2301/train-*
- config_name: all
  data_files:
  - split: train
    path: all/train-*
- config_name: brwac
  data_files:
  - split: train
    path: brwac/train-*
- config_name: cc100
  data_files:
  - split: train
    path: cc100/train-*
---

# CrawlPT

CrawlPT is a generic Portuguese corpus extracted from various web pages.

This is the raw version. Deduplicated version is [available here](https://huggingface.co/datasets/eduagarcia/CrawlPT_dedup).

## Dataset Details

Dataset is composed by three corpora:
[brWaC](https://aclanthology.org/L18-1686/), [C100-PT](https://arxiv.org/abs/1911.02116), [OSCAR-2301](http://arxiv.org/abs/2201.06642).

- **brWaC**: a web corpus for Brazilian Portuguese from 120,000 different websites.
- **C100-PT**: Portuguese subset from CC-100. C100 was created for training the multilingual Transformer XLM-R, containing two terabytes of cleaned data from 2018 snapshots of the [Common Crawl project](\url{https://commoncrawl.org/about/) in 100 languages.  We use the , which contains 49.1 GiB of text.
- **OSCAR-2301-PT**: curation from OSCAR-2301 in the Portuguese language.

### Dataset Description

- **Language(s) (NLP):** Brazilian Portuguese (pt-BR)
- **Repository:** https://github.com/eduagarcia/roberta-legal-portuguese
- **Paper:** https://aclanthology.org/2024.propor-1.38/

## Citation

```bibtex
@inproceedings{garcia-etal-2024-robertalexpt,
    title = "{R}o{BERT}a{L}ex{PT}: A Legal {R}o{BERT}a Model pretrained with deduplication for {P}ortuguese",
    author = "Garcia, Eduardo A. S.  and
      Silva, Nadia F. F.  and
      Siqueira, Felipe  and
      Albuquerque, Hidelberg O.  and
      Gomes, Juliana R. S.  and
      Souza, Ellen  and
      Lima, Eliomar A.",
    editor = "Gamallo, Pablo  and
      Claro, Daniela  and
      Teixeira, Ant{\'o}nio  and
      Real, Livy  and
      Garcia, Marcos  and
      Oliveira, Hugo Gon{\c{c}}alo  and
      Amaro, Raquel",
    booktitle = "Proceedings of the 16th International Conference on Computational Processing of Portuguese",
    month = mar,
    year = "2024",
    address = "Santiago de Compostela, Galicia/Spain",
    publisher = "Association for Computational Lingustics",
    url = "https://aclanthology.org/2024.propor-1.38",
    pages = "374--383",
}
```

## Acknowledgment

This work has been supported by the AI Center of Excellence (Centro de Excelência em Inteligência Artificial – CEIA) of the Institute of Informatics at the Federal University of Goiás (INF-UFG).