Download decision_ai.json from typestrict/TS-PRGuard: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/typestrict/TS-PRGuard/resolve/main/decision_ai.json
- Command line
-
hf download hf://typestrict/TS-PRGuard/decision_ai.json
-
curl -L -o decision_ai.json https://huggingface.co/typestrict/TS-PRGuard/resolve/main/decision_ai.json
2.77 kB
| { | |
| "format": "decision-ai/option-reader@1", | |
| "name": "typestrict multi-task model", | |
| "license": "apache-2.0", | |
| "files": { | |
| "model": "onnx/model_8bit.onnx", | |
| "tokenizer": "tokenizer.json" | |
| }, | |
| "sha256": { | |
| "onnx/model_8bit.onnx": "5f61cf8beeb8cdc2f2d112549f0a66ff42f75e05fc216f4c8e2d0766d9815891", | |
| "tokenizer.json": "858fe1cd418807d6c71c01e24b6d3239a224a1e3c995472fef20841e09eab056" | |
| }, | |
| "max_length": 7999, | |
| "pad_multiple": 64, | |
| "tokens": { | |
| "cls": "[CLS]", | |
| "sep": "[SEP]", | |
| "pad": "[PAD]", | |
| "option": "[OPT]" | |
| }, | |
| "question_types": { | |
| "noul": 0, | |
| "choice": 1, | |
| "score": 2 | |
| }, | |
| "noul_false_default": "A afirmação não se aplica.", | |
| "inputs": { | |
| "ids": "ids", | |
| "pad_mask": "pad_mask", | |
| "option_positions": "opt_positions", | |
| "option_mask": "opt_mask", | |
| "question_type": "qtype" | |
| }, | |
| "outputs": { | |
| "logits": "logits", | |
| "confidence_logit": "conf_logit" | |
| }, | |
| "calibration": { | |
| "temperature": null, | |
| "platt": null | |
| }, | |
| "truncation": { | |
| "max_length": 4096, | |
| "max_criterion_tokens": 160 | |
| }, | |
| "tasks": [ | |
| { | |
| "name": "pr-descricao-noul", | |
| "kind": "noul", | |
| "question": "Does the code change do what the pull request description says?", | |
| "options": [ | |
| "No, the diff does something different from the description.", | |
| "Yes, the diff implements what the description says." | |
| ] | |
| }, | |
| { | |
| "name": "prg-complexidade", | |
| "kind": "choice", | |
| "question": "How hard is this change to review?", | |
| "options": [ | |
| "Trivial: a few lines in one place", | |
| "Small: a short, focused change", | |
| "Medium: several files or some new branching logic", | |
| "Large: many lines or files, or a lot of new branching", | |
| "Very large: hundreds of lines across many files with much new logic" | |
| ] | |
| }, | |
| { | |
| "name": "prg-quebra", | |
| "kind": "noul", | |
| "question": "Does this change break compatibility for the users of this code?", | |
| "options": [ | |
| "No, existing users keep working without changes.", | |
| "Yes, existing users must change their code or configuration." | |
| ] | |
| }, | |
| { | |
| "name": "prg-testes", | |
| "kind": "noul", | |
| "question": "Do the tests in this change cover the changed code?", | |
| "options": [ | |
| "No, the change needs tests and the ones included do not cover it.", | |
| "Yes, the tests in the change exercise the changed code." | |
| ] | |
| }, | |
| { | |
| "name": "prg-vul", | |
| "kind": "noul", | |
| "question": "Does this code change introduce a security vulnerability?", | |
| "options": [ | |
| "No, the change does not introduce a security vulnerability.", | |
| "Yes, the change introduces a security vulnerability." | |
| ] | |
| } | |
| ] | |
| } |