---
language: pt
license: cc-by-4.0
multilinguality:
- monolingual
task_categories:
- text-generation
- fill-mask
task_ids:
- language-modeling
- masked-language-modeling
size_categories:
- 100M
## Usage Below is an example of how to quickly explore just a few samples from a dataset using the `datasets` library. ```python !pip install -q datasets from datasets import load_dataset ds = load_dataset( "dominguesm/canarim", # Filter only the data from the `train split` split="train", # Filter only the files that contain the prefix `train/data-0019` and the suffix `-of-00192.arrow` data_files="train/data-0019*-of-00192.arrow", # Load the dataset without downloading the data (Streaming mode) streaming=True ) # From the returned data, filter only the data where the `url` value starts with `https://g1.globo.com/` ds_globo = ds.filter( lambda example: example['url'].startswith("https://g1.globo.com/") ) # Return the first 10 examples from the applied filter. data = list(ds_globo.take(10)) print(data[0]) # { # "url": "https://g1.globo.com/ac/acre/(...)", # "content_languages": "por", # "warc_filename": "crawl-data/CC-MAIN-2023-06/segments/1674764499919.70/warc/CC-MAIN-20230201081311-20230201111311-00552.warc.gz", # "warc_record_offset": 281625400, # "warc_record_length": 192934, # "text": "Parque Zoobotânico da Ufac guarda uma grande variedade espécies de árvores em Rio Branco — Foto: Arquivo/Ufac (...)", # "crawl_timestamp": "2023-02-01T10:38:52Z" # } ``` ## Dataset Statistics | Split | # Samples | # Size (bytes) | # Size (GB) | | ------ | --------- | -------------- | ----------- | | Train | 342,818,651 | 1,087,519,823,221 | 1087,51 | ## Citing If you use Canarim in your research, please cite the following. ```bibtex @misc {maicon_domingues_2024, author = { {Maicon Domingues} }, title = { canarim (Revision 640e079) }, year = 2024, url = { https://huggingface.co/datasets/dominguesm/canarim }, doi = { 10.57967/hf/1605 }, publisher = { Hugging Face } } ``` ## License This dataset is licensed under the [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). You can use the dataset for any purpose, but you must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. ## Contact For any questions or suggestions, please contact [Maicon Domingues](https://nlp.rocks/).