|
--- |
|
license: cc |
|
task_categories: |
|
- text-generation |
|
language: |
|
- en |
|
tags: |
|
- SVG |
|
- vector |
|
pretty_name: SVGen Instruct Dataset |
|
size_categories: |
|
- 100K<n<1M |
|
--- |
|
|
|
# SVGen Vector Images Dataset Instruct Version |
|
|
|
## Overview |
|
|
|
SVGen is a comprehensive dataset containing 300,000 SVG vector codes from a diverse set of sources including SVG-Repo, Noto Emoji, and InstructSVG. The dataset aims to provide a wide range of SVG files suitable for various applications including web development, design, and machine learning research. |
|
|
|
## Data Fields |
|
|
|
```json |
|
{ |
|
"text": "<s>[INST] Icon of Look Up here are the inputs Look Up [/INST] \\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->\r\n<svg width=\"800px\" height=\"800px\" viewBox=\"0 0 1024 1024\" class=\"icon\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M460 459.3m-245.2 0a245.2 245.2 0 1 0 490.4 0 245.2 245.2 0 1 0-490.4 0Z\" fill=\"#E1F0FF\" /><path d=\"M460 719c-69.4 0-134.6-27-183.6-76.1s-76.1-114.3-76.1-183.6c0-69.4 27-134.6 76.1-183.6s114.3-76.1 183.6-76.1c69.4 0 134.6 27 183.6 76.1s76.1 114.3 76.1 183.6c0 69.4-27 134.6-76.1 183.6S529.4 719 460 719z m0-490.4c-61.6 0-119.6 24-163.1 67.6-43.6 43.6-67.6 101.5-67.6 163.1s24 119.6 67.6 163.1C340.4 666 398.4 690 460 690s119.6-24 163.1-67.6c43.6-43.6 67.6-101.5 67.6-163.1s-24-119.6-67.6-163.1c-43.5-43.6-101.5-67.6-163.1-67.6z\" fill=\"#446EB1\" /><path d=\"M640.6 630.6c8.7-8.7 22.8-8.7 31.5 0L802 760.5c8.6 8.9 8.3 23-0.5 31.5-8.6 8.3-22.3 8.3-31 0L640.6 662.1c-8.4-8.6-8.1-22.6 0-31.5z\" fill=\"#446EB1\" /></svg> </s>", |
|
"description": "Icon of Look Up", |
|
"input": "Look Up", |
|
"output": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->\r\n<svg width=\"800px\" height=\"800px\" viewBox=\"0 0 1024 1024\" class=\"icon\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M460 459.3m-245.2 0a245.2 245.2 0 1 0 490.4 0 245.2 245.2 0 1 0-490.4 0Z\" fill=\"#E1F0FF\" /><path d=\"M460 719c-69.4 0-134.6-27-183.6-76.1s-76.1-114.3-76.1-183.6c0-69.4 27-134.6 76.1-183.6s114.3-76.1 183.6-76.1c69.4 0 134.6 27 183.6 76.1s76.1 114.3 76.1 183.6c0 69.4-27 134.6-76.1 183.6S529.4 719 460 719z m0-490.4c-61.6 0-119.6 24-163.1 67.6-43.6 43.6-67.6 101.5-67.6 163.1s24 119.6 67.6 163.1C340.4 666 398.4 690 460 690s119.6-24 163.1-67.6c43.6-43.6 67.6-101.5 67.6-163.1s-24-119.6-67.6-163.1c-43.5-43.6-101.5-67.6-163.1-67.6z\" fill=\"#446EB1\" /><path d=\"M640.6 630.6c8.7-8.7 22.8-8.7 31.5 0L802 760.5c8.6 8.9 8.3 23-0.5 31.5-8.6 8.3-22.3 8.3-31 0L640.6 662.1c-8.4-8.6-8.1-22.6 0-31.5z\" fill=\"#446EB1\" /></svg>" |
|
} |
|
``` |
|
|
|
## Data Sources |
|
|
|
- [SVG-Repo](https://www.svgrepo.com/) |
|
- [Noto Emoji](https://huggingface.co/datasets/darknoon/noto-emoji-vector-512-svg) |
|
- [InstructSVG](https://huggingface.co/datasets/uwunion/instruct_svg) |
|
|
|
## Usage |
|
|
|
The dataset is particularly useful for tasks such as icon classification, style transfer, image-to-vector translation, and much more. It serves as a rich resource for machine learning models that require high-quality SVG data. |
|
|
|
## Help Wanted |
|
|
|
I wanted to use BILP to generate `description`'s for each SVG, but It's not working well. If you have any ideas, please let me know. Here is the [Github](https://github.com/umuthopeyildirim/SVGenDataset) and it also contains Colab notebook links. |
|
|
|
## License |
|
|
|
The dataset incorporates SVG files with varying licenses. Users are advised to consult the `license` field of each record for specific usage rights. |
|
|
|
## Contribution Guidelines |
|
|
|
Contributions are welcome! If you find any issues or would like to add more SVGs to the dataset, please submit a pull request or open an issue in the repository. |
|
|
|
## Acknowledgements |
|
|
|
A huge thanks to SVGRepo, Noto Emoji, and InstructSVG for providing the SVG files that make up this dataset. |
|
|
|
For more details and to download the dataset, visit the project repository. |
|
|