https://github.com/lbaf23/ptm-leaderboard
Pre-Trained Models Attack Benchmark Leaderboard
https://github.com/lbaf23/ptm-leaderboard
golang kubernetes nlp python react robustness
Last synced: about 2 months ago
JSON representation
Pre-Trained Models Attack Benchmark Leaderboard
- Host: GitHub
- URL: https://github.com/lbaf23/ptm-leaderboard
- Owner: lbaf23
- License: mit
- Created: 2022-01-17T13:33:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-01T12:30:54.000Z (almost 3 years ago)
- Last Synced: 2023-03-09T23:25:44.341Z (about 2 years ago)
- Topics: golang, kubernetes, nlp, python, react, robustness
- Language: JavaScript
- Homepage:
- Size: 2.37 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PTM Leaderboard
## Debug
- api
```bash
cd api
go run main.go
```- web
```bash
cd web
yarn
yarn start
```- file
```bash
cd filestorage
go run main.go
```- attack
```bash
cd attack
python main.py
```- send
```bash
cd send
go run main.go
```## Release
```bash
vim base64.sh
bash bash64.sh
``````bash
vim secret.yaml
``````bash
kubectl apply -f namespace.yaml
kubectl apply -f secret.yaml
kubectl apply -f ./yaml/
```| Pod | TargetPort | NodePort |
| ------ | ---------- | -------- |
| web | 12001 | 30001 |
| api | 12002 | 30002 |
| auth | 12003 | 30003 |
| attack | | |
| nats | 4222 | 30005 |
| file | 12006 | 30006 |
| send | 12007 | 30007 |