datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
the-stack-swift-clean
Dataset 1: TheStack - Swift - Cleaned
Description: This dataset is drawn from TheStack Corpus, an open-source code dataset with over 3TB of GitHub data covering 48 programming languages. We selected a small portion of this dataset to optimize smaller language models for Swift, a popular statically typed language.
Target Language: Swift
Dataset Size:
Training: 900,000 files
Validation: 50,000 files
Test: 50,000 files
Preprocessing:
Selected Swift as the target language due to its… See the full description on the dataset page: https://huggingface.co/datasets/ammarnasr/the-stack-swift-clean.bigquery-swift-unfiltered
GitHub Swift Repositories
Dataset Description
Dataset Summary
This dataset comprises data extracted from GitHub repositories, specifically focusing on Swift code. It was extracted using Google BigQuery and contains detailed information such as the repository name, reference, path, and license.
Source Data
Initial Data Collection and Normalization
The data was collected from GitHub repositories using Google BigQuery. The dataset includes data from… See the full description on the dataset page: https://huggingface.co/datasets/drewparo/bigquery-swift-unfiltered.synthetic-swift-data-single-turn
Dataset Card for synthetic-swift-data-single-turn
This dataset has been created with distilabel.
Dataset Summary
This dataset contains a pipeline.yaml which can be used to reproduce the pipeline that generated it in distilabel using the distilabel CLI:
distilabel pipeline run --config "https://huggingface.co/datasets/vinhnx90/synthetic-swift-data-single-turn/raw/main/pipeline.yaml"
or explore the configuration:
distilabel pipeline info --config… See the full description on the dataset page: https://huggingface.co/datasets/vinhnx90/synthetic-swift-data-single-turn.iva-swift-codeint
IVA Swift GitHub Code Dataset
Dataset Description
This is the raw IVA Swift dataset extracted from GitHub.
It contains uncurated Swift files gathered with the purpose to train a code generation model.
The dataset consists of 753693 swift code files from GitHub totaling ~700MB of data.
The dataset was created from the public GitHub dataset on Google BiqQuery.
How to use it
To download the full dataset:
from datasets import load_dataset
dataset =… See the full description on the dataset page: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint.iva-swift-codeint-clean-train
IVA Swift GitHub Code Dataset
Dataset Description
This is the curated train split of IVA Swift dataset extracted from GitHub.
It contains curated Swift files gathered with the purpose to train a code generation model.
The dataset consists of 320000 Swift code files from GitHub.
Here is the unsliced curated dataset and
here is the raw dataset.
How to use it
To download the full dataset:
from datasets import load_dataset
dataset =… See the full description on the dataset page: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean-train.ios-security-vulnerabilities-swift-objc
iOS Security Vulnerabilities Dataset (Swift & Objective-C)
A comprehensive dataset of 27 real-world iOS security vulnerability patterns in Swift and Objective-C, covering all OWASP Mobile Top 10 (2024) categories with vulnerable code, secure fixes, attack scenarios, and detection guidance.
🎯 Purpose
This is the first dedicated iOS/Swift/Objective-C security vulnerability dataset on Hugging Face. While existing datasets (TitanVul, DiverseVul, CleanVul) focus on… See the full description on the dataset page: https://huggingface.co/datasets/Arno-MHL/ios-security-vulnerabilities-swift-objc.SwiftUI-Code-Examples
SwiftUI Code Solutions
Dataset Created by MCES10 Software has SwiftUI Code Problems and can be used for AI training for Code Generation
Recommendations
Train your LLM on the Swift and SwiftUI Framework Syntax before training it this
Fine Tune or Train Effectively at optimal Epochs and Learning Rates
Use the whole dataset for training
Your Model may need to be Prompt Tuned for the best performance but it isn't required.
Use test when testing or trialing the dataset
Use… See the full description on the dataset page: https://huggingface.co/datasets/MCES10-Software/SwiftUI-Code-Examples.swift-test-pairs
SwiftTestPairs
20,801 Swift source↔unit-test pairs ("focal method" pairs) mined from permissively
licensed public GitHub code.
Applies the methods2test (MSR 2022) methodology to
Swift, which had no equivalent dataset.
⚠️ This dataset contains NO source code
Rows are references + derived metadata: repository, file paths, content MD5s, and
measured properties. Reconstruct file contents from the two public upstream datasets with resolve.py
(⚠️ streams ~4 GB from the… See the full description on the dataset page: https://huggingface.co/datasets/Manju46/swift-test-pairs.iva-swift-codeint-clean
IVA Swift GitHub Code Dataset
Dataset Description
This is the curated IVA Swift dataset extracted from GitHub.
It contains curated Swift files gathered with the purpose to train a code generation model.
The dataset consists of 383380 swift code files from GitHub totaling ~542MB of data.
The uncurated dataset was created from the public GitHub dataset on Google BiqQuery.
How to use it
To download the full dataset:
from datasets import load_dataset
dataset… See the full description on the dataset page: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean.iva-swift-codeint-clean-valid
IVA Swift GitHub Code Dataset - Curated - Validation
Dataset Description
This is the curated valid split of IVA Swift dataset extracted from GitHub.
It contains curated Swift files gathered with the purpose to train & validate a code generation model.
The dataset only contains a valid split.
For validation and unspliced versions, please check the following links:
Clean Version Unsliced: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean
Clean Version… See the full description on the dataset page: https://huggingface.co/datasets/mvasiliniuc/iva-swift-codeint-clean-valid.swift-python-textbook-20260219swift-python-textbook-20260302swift-python-textbook-20260218OctoLong-SFT-Swift
