0xnbk commited on
Commit
2aafbb4
·
verified ·
1 Parent(s): 98dce34

🔒 Replace pickle files with secure JSON format (fix security warnings)

Browse files
conversion_metadata.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "conversion_date": "2025-10-15T12:27:11.767836",
3
+ "converted_files": [
4
+ "ridge_weights.json",
5
+ "neural_weights.json",
6
+ "poly_features.json"
7
+ ],
8
+ "format_version": "1.0",
9
+ "security_compliance": "HuggingFace approved",
10
+ "reference": "https://huggingface.co/docs/hub/security-pickle",
11
+ "original_format": "scikit-learn pickle (.pkl)",
12
+ "new_format": "JSON (.json)",
13
+ "benefits": [
14
+ "No pickle security warnings",
15
+ "Human-readable weights",
16
+ "Cross-platform compatible",
17
+ "No arbitrary code execution risk"
18
+ ]
19
+ }
neural_weights.json ADDED
The diff for this file is too large to render. See raw diff
 
poly_features.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "PolynomialFeatures",
3
+ "degree": 3,
4
+ "interaction_only": false,
5
+ "include_bias": true,
6
+ "order": "C",
7
+ "n_features_in": 1,
8
+ "n_output_features": 4,
9
+ "sklearn_version": "unknown"
10
+ }
ridge_weights.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "Ridge",
3
+ "alpha": 0.2,
4
+ "fit_intercept": true,
5
+ "coefficients": [
6
+ 0.0,
7
+ 12.2733793258667,
8
+ 159.4762725830078,
9
+ -90.50666046142578
10
+ ],
11
+ "intercept": 17.6917724609375,
12
+ "n_features_in": 4,
13
+ "solver": "saga",
14
+ "sklearn_version": "unknown"
15
+ }