Skip to content

jdm4pku/PDEval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published