CoolFace
Datasetpublic

lohoz/Smart-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… See the full description on the dataset page: https://huggingface.co/datasets/lohoz/Smart-Contract-MultiTask-Dataset.

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes17downloads
Dataset Card

Overview

This is a dataset designed for smart contract generation. It includes two subsets:

  1. 1.Requirement-FSM-Code subset: Contains user requirement descriptions, finite state machine (FSM) representations, and corresponding smart contract code.
  2. 2.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, FSM representations, and code implementations.
  • Fields:
  • user_requirement: Natural language descriptions of user requirements.
  • FSM: FSM representations of the requirements.
  • code: Corresponding smart contract code implementations.
  • version: Solidity version.

Subset 2: Comment-Code

  • Description: Includes functional comments describing the purpose of the code and the corresponding code snippets.
  • Fields:
  • function_code: Smart contract code snippets.
  • comment: Functional comments describing the code.
  • version: Solidity version.