Skip to content

Latest commit

 

History

History
72 lines (53 loc) · 1.36 KB

README.md

File metadata and controls

72 lines (53 loc) · 1.36 KB

PDEval: An Evaluation of Requirements Modeling for Cyber-Physical System via LLMs

Table of Contents

  • Requirements
  • Datasets
  • Usage

Requirements

  • vllm
  • openai

Dataset

The dataset can be access at data directory in this project .

Here is an sample in this dataset.

{
    "text": "A DigitalHome System shall have the capability to establish an individual home web server hosted on a home computer.",
    "entity": {
      "Machine Domain": [
        "A DigitalHome System"
      ],
      "Physical Device": [
        "a home computer"
      ],
      "Environment Entity": [],
      "Design Domain": [
        "an individual home web server"
      ],
      "Requirements": [],
      "Shared Phenomena": []
    },
    "relation": {
      "interface": [
        [
          "A DigitalHome System",
          "an individual home web server"
        ],
        [
          "a home computer",
          "an individual home web server"
        ]
      ],
      "requirements reference": [],
      "requirements constraints": []
    }
 }

Usage

Setup

Evaluation

  • bash ./script/ner.sh

  • bash ./script/rel_llm.sh