3
stars
118
commits
HTML
primary language
Jul 13, 2026
updated
An experimental web platform based on LMsEvaluator for evaluating language-model security and privacy risks. The repository combines a Python evaluation backend, a Vue/Ant Design admin frontend, and report/dashboard assets for recording attacks, defenses, logs, and generated reports.
.
├── LMsEvaluator/ # Python backend and model-evaluation code
│ ├── main.py # Flask + SocketIO web API entrypoint
│ ├── run_multi.py # Background attack execution
│ ├── attack/ # Attack and defense implementations
│ ├── model/ # Basic BERT and downstream-task models
│ ├── tasks/ # Training/evaluation task wrappers
│ ├── user_config/ # Generated per-user attack configs
│ ├── web_databse/ # SQLite helpers and sample data
│ └── README.md # Detailed LMsEvaluator module notes
├── stepin-template-main/ # Vue 3 + Ant Design frontend
├── material-dashboard/ # Static dashboard pages and generated reports
├── new_image/ # Image assets
└── package.json # Root Node dependency for md-to-pdf
The backend is a Python 3.9 project. A full dependency snapshot is available in LMsEvaluator/requirement.txt, and a Conda environment export is available in LMsEvaluator/environment.yaml.
cd LMsEvaluator
conda create -n LMsEvaluation python=3.9
conda activate LMsEvaluation
pip install -r requirement.txt
python main.py
By default, LMsEvaluator/main.py starts the SocketIO server on 0.0.0.0:5999.
The frontend lives in stepin-template-main and uses Vue 3, Vite, Pinia, Ant Design Vue, and Stepin.
cd stepin-template-main
yarn install
yarn dev
The current frontend source contains hard-coded API calls to http://127.0.0.1:46666/api/.... Before local testing, align the frontend API address with the backend port, or update the backend startup port to match the frontend.
Core evaluation behavior is controlled by YAML files under LMsEvaluator/, especially:
RelatedConfig.yaml for the main model, task, dataset, and attack list configuration.config4msa.yaml for model-stealing attack experiments.user_config/*.yaml for per-user generated web-task configurations.Typical backend execution flow:
/api/attack_list and /api/execute_attack.run_multi.py launches test4transformers.run_pipeline.LMsEvaluator/logs/./api/generate_report and /api/read_report.Large datasets and pretrained models are not fully documented at the repository root. See LMsEvaluator/README.md for the original LMsEvaluator data/model notes, including BERT model paths and supported downstream datasets.
Common expected assets include:
LMsEvaluator/LMs/LMsEvaluator/datasets/LMsEvaluator/modelOutput/, LMsEvaluator/evaluationResult/, or configured output pathsLMsEvaluator/ and stepin-template-main/src/pages/.HTML
27.7%
Python
25.1%
SCSS
17.0%
CSS
13.1%
JavaScript
9.5%
Vue
3.9%
Jupyter Notebook
1.8%
TypeScript
1.1%
3
stars
118
commits
HTML
primary language
Jul 13, 2026
updated
An experimental web platform based on LMsEvaluator for evaluating language-model security and privacy risks. The repository combines a Python evaluation backend, a Vue/Ant Design admin frontend, and report/dashboard assets for recording attacks, defenses, logs, and generated reports.
.
├── LMsEvaluator/ # Python backend and model-evaluation code
│ ├── main.py # Flask + SocketIO web API entrypoint
│ ├── run_multi.py # Background attack execution
│ ├── attack/ # Attack and defense implementations
│ ├── model/ # Basic BERT and downstream-task models
│ ├── tasks/ # Training/evaluation task wrappers
│ ├── user_config/ # Generated per-user attack configs
│ ├── web_databse/ # SQLite helpers and sample data
│ └── README.md # Detailed LMsEvaluator module notes
├── stepin-template-main/ # Vue 3 + Ant Design frontend
├── material-dashboard/ # Static dashboard pages and generated reports
├── new_image/ # Image assets
└── package.json # Root Node dependency for md-to-pdf
The backend is a Python 3.9 project. A full dependency snapshot is available in LMsEvaluator/requirement.txt, and a Conda environment export is available in LMsEvaluator/environment.yaml.
cd LMsEvaluator
conda create -n LMsEvaluation python=3.9
conda activate LMsEvaluation
pip install -r requirement.txt
python main.py
By default, LMsEvaluator/main.py starts the SocketIO server on 0.0.0.0:5999.
The frontend lives in stepin-template-main and uses Vue 3, Vite, Pinia, Ant Design Vue, and Stepin.
cd stepin-template-main
yarn install
yarn dev
The current frontend source contains hard-coded API calls to http://127.0.0.1:46666/api/.... Before local testing, align the frontend API address with the backend port, or update the backend startup port to match the frontend.
Core evaluation behavior is controlled by YAML files under LMsEvaluator/, especially:
RelatedConfig.yaml for the main model, task, dataset, and attack list configuration.config4msa.yaml for model-stealing attack experiments.user_config/*.yaml for per-user generated web-task configurations.Typical backend execution flow:
/api/attack_list and /api/execute_attack.run_multi.py launches test4transformers.run_pipeline.LMsEvaluator/logs/./api/generate_report and /api/read_report.Large datasets and pretrained models are not fully documented at the repository root. See LMsEvaluator/README.md for the original LMsEvaluator data/model notes, including BERT model paths and supported downstream datasets.
Common expected assets include:
LMsEvaluator/LMs/LMsEvaluator/datasets/LMsEvaluator/modelOutput/, LMsEvaluator/evaluationResult/, or configured output pathsLMsEvaluator/ and stepin-template-main/src/pages/.HTML
27.7%
Python
25.1%
SCSS
17.0%
CSS
13.1%
JavaScript
9.5%
Vue
3.9%
Jupyter Notebook
1.8%
TypeScript
1.1%