datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
smart-contract-fiesta
Zellic 2023 Smart Contract Source Index
Zellic is making publicly available a dataset of known Ethereum mainnet smart contract source code.
Our aim is to provide a contract source code dataset that is readily available to the public to download in bulk. We believe this dataset will help advance the frontier of smart contract security research. Applications include static analysis, machine learning, and more. This effort is part of Zellic’s mission to create a world with no smart… See the full description on the dataset page: https://huggingface.co/datasets/Zellic/smart-contract-fiesta.smart-contract-audit-nonpdf-artifactssmart_contractsmart-contract-aggregators-educationalseli-smartcontract-audit-sft-backup
SELI smart-contract audit SFT — v7.1
Evidence-first EVM/Solidity audit SFT mix, deterministically rebuilt and
verified. Supersedes the v6.2-prepared mix (stage2 removed; the old state is
preserved on branch v6.2-prepared-backup and under legacy/v6.1).
Files
file
rows
sha256
train.jsonl
31,907
44c95d2f9e5a544e3d0b236d4157f84f1c857baf4ce212ba6235abe4216faaab
val.jsonl
730
906777d469d4c913f086aec1223fd17896f808f9204b8d3a5941135090154490
Every… See the full description on the dataset page: https://huggingface.co/datasets/0xtoshi/seli-smartcontract-audit-sft-backup.Smart_Contract_Vulnerability_DatasetSmart Contract Vulnerability Dataset
Overview
The Smart Contract Vulnerability Dataset (SCV-1-2000) is a comprehensive JSONL dataset containing 2000 entries (SCV-1 to SCV-2000) focused on advanced and unconventional smart contract vulnerabilities and attack vectors, with an emphasis on Decentralized Finance (DeFi) protocols. This dataset is designed for cybersecurity professionals, blockchain developers, machine learning engineers, and data scientists to train models, evaluate… See the full description on the dataset page: https://huggingface.co/datasets/darkknight25/Smart_Contract_Vulnerability_Dataset.smart_contract_code_commentsSmart_Contract_HF_Tokenized
Dataset Card for "Smart_Contract_HF_Tokenized"
More Information needed
smart-contract-audit-findings
Smart Contract Audit Findings Dataset
A dataset of 49,611 smart contract security audit findings for fine-tuning LLMs on vulnerability detection.
Dataset Description
This dataset contains real security audit findings from 30 professional audit firms including Code4rena, OpenZeppelin, Sherlock, Cantina, and others. Formatted for training models to analyze smart contract code and identify vulnerabilities.
Splits
Split
Examples
Description
train
47,130… See the full description on the dataset page: https://huggingface.co/datasets/SkywardNomad92/smart-contract-audit-findings.smart-contracts-instructions
Smart Contracts Instructions
A dataset containing 6,003 GPT-generated human instruction and Solidity source code data pairs.
GPT models used to make this data are GPT-3.5 turbo, GPT-3.5 turbo 16k context, and GPT-4. Solidity source codes are used from mwritescode's Slither Audited Smart Contracts (https://huggingface.co/datasets/mwritescode/slither-audited-smart-contracts).
Distributions of the GPT models used to make this dataset:
GPT-3.5 Turbo: 5,276
GPT-3.5 Turbo 16k Context:… See the full description on the dataset page: https://huggingface.co/datasets/AlfredPros/smart-contracts-instructions.smart-contract-vulnerability-benchmarks
Smart Contract Vulnerability Benchmarks
smartbugs-wild/contracts is stored as lossless CSV shards with content_base64; other benchmark files are raw.
Converted smartbugs-wild contracts: 47398
Raw files: 5295
Generated: 2026-06-24T16:06:36.674733+00:00
smart-contract-intent-vul-dataset
Smart Contract Intent & Vulnerability Dataset
This dataset contains a large-scale collection of smart contracts annotated with malicious intents and security vulnerabilities, designed for research on smart contract security analysis and program understanding.
The dataset includes 90,000+ smart contracts collected from Ethereum and Binance Smart Chain (BSC). All data are distributed as a MySQL database dump (.sql.gz) to support flexible querying and large-scale analysis.… See the full description on the dataset page: https://huggingface.co/datasets/web3se/smart-contract-intent-vul-dataset.smart-contract-vuln-detectionsmart-contract-gensmart-contracts-verified
📄 Database Structure: contracts Table
This document describes the structure and purpose of the contracts table within the databases.The table stores metadata and deployment details of smart contracts.
📌 Table Description
Each record stored in the table has the following structure and fields, with described constraints.
Column Name
Type
Constraints
Description -
address
TEXT
PRIMARY KEY
The unique… See the full description on the dataset page: https://huggingface.co/datasets/Blockmates/smart-contracts-verified.Smart_Contract_HF_sc_succ
Dataset Card for "Smart_Contract_HF_sc_succ"
More Information needed
Smart_Contract_HF_bc_succ
Dataset Card for "Smart_Contract_HF_bc_succ"
More Information needed
smart-contract-vulnerabilitiesETH_SmartContractVulnerability_LLMSmart_Contract_Vulnerability_DatasetSmart Contract Vulnerability Dataset
Overview
The Smart Contract Vulnerability Dataset (SCV-1-2000) is a comprehensive JSONL dataset containing 2000 entries (SCV-1 to SCV-2000) focused on advanced and unconventional smart contract vulnerabilities and attack vectors, with an emphasis on Decentralized Finance (DeFi) protocols. This dataset is designed for cybersecurity professionals, blockchain developers, machine learning engineers, and data scientists to train models, evaluate… See the full description on the dataset page: https://huggingface.co/datasets/Lunarnight/Smart_Contract_Vulnerability_Dataset.smart_contractsSmart Contracts Dataset.
This is a dataset of verified (Etherscan.io) Smart Contracts that are deployed to the Ethereum blockchain. A set of about 100,000 to 200,000 contracts are provided, containing both Solidity and Vyper code.smart_contract_vulnerability_kagglesmart-contract-csv-datasets
Smart Contract Vulnerability CSV Datasets
CSV datasets collected by the local smart-contract-data crawler.
Contents
Files: 4
Total size: 137.92 MiB
Local source root: /home/pranay5255/Documents/smart-contract-data/crawlers/output/datasets
Upload include pattern: **/*.[cC][sS][vV]
Manifest: manifest.csv
Generated: 2026-06-24 15:29:08 UTC
Notes
This dataset card was generated from the local crawler output. Confirm licensing and redistribution terms… See the full description on the dataset page: https://huggingface.co/datasets/pranay5255/smart-contract-csv-datasets.smart-contract-security-audit-v2smart-contracts-instructions-cleanedThe Cleaned Smart Contracts Instructions dataset is a refined version of the original dataset created by AlfredPros. This dataset contains structured and detailed instructions related to smart contracts, optimized for clarity and usability. It is intended for developers, researchers, and enthusiasts working on blockchain technology, smart contract development, and related fields.
smart-contract-audit-pdfsSmart-Contract-MultiTask-Dataset
Overview
This is a dataset designed for smart contract generation. It includes two subsets:
Requirement-FSM-Code subset: Contains user requirement descriptions, finite state machine (FSM) representations, and corresponding smart contract code.
Comment-Code subset: Includes functional comments and their corresponding implementation code.
Dataset Structure
Subset 1: Requirement-FSM-Code
Description: Contains natural language descriptions of user requirements… See the full description on the dataset page: https://huggingface.co/datasets/lohoz/Smart-Contract-MultiTask-Dataset.blockchain-smartcontracts-1000
Blockchain y Contratos Inteligentes Dataset 1000
Dataset de 1000 instrucciones sobre los fundamentos de Blockchain, Contratos Inteligentes, DAOs, DeFi y programación en Solidity.
Uso
from datasets import load_dataset
dataset = load_dataset("miguelmejias0512/solidity_personal_dataset")
---
## Licencia
CC-BY-4.0 - Uso educativo
Smart_Contract_Vulnerability_DatasetSmart Contract Vulnerability Dataset
Overview
The Smart Contract Vulnerability Dataset (SCV-1-2000) is a comprehensive JSONL dataset containing 2000 entries (SCV-1 to SCV-2000) focused on advanced and unconventional smart contract vulnerabilities and attack vectors, with an emphasis on Decentralized Finance (DeFi) protocols. This dataset is designed for cybersecurity professionals, blockchain developers, machine learning engineers, and data scientists to train models, evaluate… See the full description on the dataset page: https://huggingface.co/datasets/pug30/Smart_Contract_Vulnerability_Dataset.Smart_Contract_Vulnerability_DatasetSmart Contract Vulnerability Dataset
Overview
The Smart Contract Vulnerability Dataset (SCV-1-2000) is a comprehensive JSONL dataset containing 2000 entries (SCV-1 to SCV-2000) focused on advanced and unconventional smart contract vulnerabilities and attack vectors, with an emphasis on Decentralized Finance (DeFi) protocols. This dataset is designed for cybersecurity professionals, blockchain developers, machine learning engineers, and data scientists to train models, evaluate… See the full description on the dataset page: https://huggingface.co/datasets/gayan2002/Smart_Contract_Vulnerability_Dataset.
