svgrepo / README.md
nyuuzyou's picture
Upload folder using huggingface_hub
1c1d3bc verified
metadata
pretty_name: SVGRepo Icons
size_categories:
  - 100K<n<1M
task_categories:
  - image-classification
  - text-to-image
annotations_creators:
  - found
language:
  - en
multilinguality:
  - monolingual
source_datasets:
  - original
configs:
  - config_name: default
    data_files:
      - split: apache
        path: svgrepo-Apache.jsonl.zst
      - split: bsd
        path: svgrepo-BSD.jsonl.zst
      - split: cc0
        path: svgrepo-CC0.jsonl.zst
      - split: cc_attribution
        path: svgrepo-CC_Attribution.jsonl.zst
      - split: cc_nc_attribution
        path: svgrepo-CC_NC_Attribution.jsonl.zst
      - split: gpl
        path: svgrepo-GPL.jsonl.zst
      - split: logo
        path: svgrepo-Logo.jsonl.zst
      - split: mit
        path: svgrepo-MIT.jsonl.zst
      - split: mlp
        path: svgrepo-MLP.jsonl.zst
      - split: mpl
        path: svgrepo-MPL.jsonl.zst
      - split: ofl
        path: svgrepo-OFL.jsonl.zst
      - split: pd
        path: svgrepo-PD.jsonl.zst
    default: true
tags:
  - image
  - vector-graphics
  - icons
  - svg
license: other

Dataset Card for SVGRepo Icons

Dataset Summary

This dataset contains a large collection of Scalable Vector Graphics (SVG) icons sourced from SVGRepo.com. The icons cover a wide range of categories and styles, suitable for user interfaces, web development, presentations, and potentially for training vector graphics or icon classification models. Each icon is provided under a specific open-source or permissive license, clearly indicated in its metadata. The SVG files in this dataset have been minified using tdewolff/minify to reduce file size while preserving visual representation.

Languages

The dataset metadata (titles, tags) is primarily in English:

  • English (en)

Dataset Structure

Data Files

The dataset consists of:

  • Metadata and SVG content stored in compressed JSONL format (.jsonl.zst) using Zstandard compression.
  • Data is split into separate files based on the license of the icons:
    • svgrepo-Apache.jsonl.zst
    • svgrepo-BSD.jsonl.zst
    • svgrepo-CC0.jsonl.zst
    • svgrepo-CC_Attribution.jsonl.zst
    • svgrepo-CC_NC_Attribution.jsonl.zst
    • svgrepo-GPL.jsonl.zst
    • svgrepo-Logo.jsonl.zst
    • svgrepo-MIT.jsonl.zst
    • svgrepo-MLP.jsonl.zst
    • svgrepo-MPL.jsonl.zst
    • svgrepo-OFL.jsonl.zst
    • svgrepo-PD.jsonl.zst
  • Attribution details are provided in markdown files within the ATTRIBUTION/ directory, organized by license.

Data Fields

Each record in the JSONL files contains the following fields:

  • id: Unique identifier for the icon on SVGRepo.com.
  • title: Name or title of the icon.
  • data_pack: The collection or pack the icon belongs to on SVGRepo.
  • tags: Array of strings representing tags associated with the icon.
  • license: The specific license under which the icon is distributed (e.g., "MIT", "CC0", "GPL", "MLP").
  • license_owner: The name of the entity (creator, company) specified as the license owner on SVGRepo.
  • download_url: The original URL to download the SVG file from SVGRepo.com.
  • svg_content: String containing the minified SVG markup for the icon.

Data Splits

The dataset is organized into splits based on the license associated with each icon:

Split License Description Number of Examples
apache Apache License 2.0 17,783
bsd BSD Licenses (e.g., 2-Clause, 3-Clause) 267
cc0 Creative Commons Zero (Public Domain Dedication) 11,354
cc_attribution Creative Commons Attribution 65,481
cc_nc_attribution Creative Commons NonCommercial Attribution 135
gpl GNU General Public License 11,012
logo Various licenses, primarily for brand logos 5,510
mit MIT License 62,274
mlp Mozilla Public License 1.0 678
mpl Mozilla Public License 1.0 288
ofl SIL Open Font License 1.1 471
pd Public Domain 42,257
Total 217,510

License Information

Licensing Structure

This dataset aggregates icons distributed under various open-source and permissive licenses. Each icon in this collection has one specific license associated with it. This license is indicated in the license field of the metadata and determines how the icon can be used, modified, and distributed.

Dataset License Overview and Attribution Files

The table below shows the distribution of licenses across the icons in this dataset and the corresponding files containing detailed attribution information (where applicable). The filenames reflect the actual files present in the ATTRIBUTION/ directory.

License Works Attribution File
CC Attribution (CC-BY) 65,481 ATTRIBUTION/CC_Attribution_Attribution.md
MIT License 62,274 ATTRIBUTION/MIT_Attribution.md
Public Domain (PD) 42,257 ATTRIBUTION/PD_Attribution.md
Apache License 2.0 17,783 ATTRIBUTION/Apache_Attribution.md
Creative Commons Zero (CC0) 11,354 ATTRIBUTION/CC0_Attribution.md
GNU GPL 11,012 ATTRIBUTION/GPL_Attribution.md
Logo (Various/Trademark Considerations) 5,510 ATTRIBUTION/Logo_Attribution.md
Mozilla Public License 1.0 (Assumed from MLP, probably typo) 678 ATTRIBUTION/MLP_Attribution.md
SIL Open Font License (OFL) 471 ATTRIBUTION/OFL_Attribution.md
Mozilla Public License 1.0 (MPL) 288 ATTRIBUTION/MPL_Attribution.md
BSD License 267 ATTRIBUTION/BSD_Attribution.md
CC NonCommercial Attribution (CC-BY-NC) 135 ATTRIBUTION/CC_NC_Attribution_Attribution.md

Note: Attribution files are provided for licenses typically requiring it or where creator information was available. Public Domain and CC0 do not legally require attribution, but it's often appreciated.

Full attribution details, listing creators/owners and their works under each license, are located in the ATTRIBUTION/ directory, organized by license type.

Further License Information

For detailed information about each license type, please refer to their official sources:

Dataset Creation

The icons and their metadata were collected from SVGRepo.com. The SVG content within the dataset has been processed and minified using the tdewolff/minify tool. Metadata reflects the information available on SVGRepo.com at the time of collection.