dsh-calibguard 0.2.4 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +44 -27
- package/README.md +44 -26
- package/cordis.patch.yml +2 -1
- package/docs/configuration.md +2 -2
- package/docs/troubleshooting.md +2 -1
- package/engine/README.md +33 -0
- package/engine/audit_service.py +304 -0
- package/engine/calibguard/__init__.py +2 -0
- package/engine/calibguard/__main__.py +4 -0
- package/engine/calibguard/calibrator.py +78 -0
- package/engine/calibguard/cli.py +74 -0
- package/engine/calibguard/config.py +129 -0
- package/engine/calibguard/constants.py +117 -0
- package/engine/calibguard/feature_extractor.py +161 -0
- package/engine/calibguard/gate.py +17 -0
- package/engine/calibguard/llm_analyzer.py +171 -0
- package/engine/calibguard/model.py +79 -0
- package/engine/calibguard/pipeline.py +305 -0
- package/engine/calibguard/preprocessor.py +218 -0
- package/engine/calibguard/report.py +132 -0
- package/engine/calibguard/schemas.py +53 -0
- package/engine/models/calibration_params.json +1 -0
- package/engine/models/codebert_finetuned/config.json +28 -0
- package/engine/models/codebert_finetuned/merges.txt +50001 -0
- package/engine/models/codebert_finetuned/special_tokens_map.json +51 -0
- package/engine/models/codebert_finetuned/tokenizer.json +250371 -0
- package/engine/models/codebert_finetuned/tokenizer_config.json +58 -0
- package/engine/models/codebert_finetuned/vocab.json +1 -0
- package/engine/requirements-gui.txt +11 -0
- package/lib/bootstrap.js +4 -3
- package/lib/client.js +1 -1
- package/lib/config.js +34 -7
- package/lib/engine.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -3
- package/setup.mjs +278 -48
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bos_token": {
|
|
3
|
+
"content": "<s>",
|
|
4
|
+
"lstrip": false,
|
|
5
|
+
"normalized": true,
|
|
6
|
+
"rstrip": false,
|
|
7
|
+
"single_word": false
|
|
8
|
+
},
|
|
9
|
+
"cls_token": {
|
|
10
|
+
"content": "<s>",
|
|
11
|
+
"lstrip": false,
|
|
12
|
+
"normalized": true,
|
|
13
|
+
"rstrip": false,
|
|
14
|
+
"single_word": false
|
|
15
|
+
},
|
|
16
|
+
"eos_token": {
|
|
17
|
+
"content": "</s>",
|
|
18
|
+
"lstrip": false,
|
|
19
|
+
"normalized": true,
|
|
20
|
+
"rstrip": false,
|
|
21
|
+
"single_word": false
|
|
22
|
+
},
|
|
23
|
+
"mask_token": {
|
|
24
|
+
"content": "<mask>",
|
|
25
|
+
"lstrip": true,
|
|
26
|
+
"normalized": false,
|
|
27
|
+
"rstrip": false,
|
|
28
|
+
"single_word": false
|
|
29
|
+
},
|
|
30
|
+
"pad_token": {
|
|
31
|
+
"content": "<pad>",
|
|
32
|
+
"lstrip": false,
|
|
33
|
+
"normalized": true,
|
|
34
|
+
"rstrip": false,
|
|
35
|
+
"single_word": false
|
|
36
|
+
},
|
|
37
|
+
"sep_token": {
|
|
38
|
+
"content": "</s>",
|
|
39
|
+
"lstrip": false,
|
|
40
|
+
"normalized": true,
|
|
41
|
+
"rstrip": false,
|
|
42
|
+
"single_word": false
|
|
43
|
+
},
|
|
44
|
+
"unk_token": {
|
|
45
|
+
"content": "<unk>",
|
|
46
|
+
"lstrip": false,
|
|
47
|
+
"normalized": true,
|
|
48
|
+
"rstrip": false,
|
|
49
|
+
"single_word": false
|
|
50
|
+
}
|
|
51
|
+
}
|