226 lines
4.6 KiB
JSON
226 lines
4.6 KiB
JSON
{
|
|
"model_type": "temporal_neural_solver",
|
|
"architecture": "TemporalSolverNet",
|
|
"framework": "rust",
|
|
"task": "time-series-prediction",
|
|
"version": "1.0.0",
|
|
|
|
"_name_or_path": "temporal-neural-solver",
|
|
"auto_map": {
|
|
"AutoConfig": "temporal_neural_solver.TemporalSolverConfig",
|
|
"AutoModel": "temporal_neural_solver.TemporalSolverModel"
|
|
},
|
|
|
|
"model_config": {
|
|
"system_type": "B",
|
|
"architecture": "temporal_solver",
|
|
"hidden_size": 32,
|
|
"num_layers": 2,
|
|
"input_dim": 4,
|
|
"output_dim": 4,
|
|
"sequence_length": 10,
|
|
"dropout": 0.1,
|
|
"activation": "relu",
|
|
"use_kalman_prior": true,
|
|
"use_solver_gate": true,
|
|
"quantization": "int8"
|
|
},
|
|
|
|
"solver_config": {
|
|
"algorithm": "neumann",
|
|
"max_iterations": 1000,
|
|
"tolerance": 1e-6,
|
|
"verification_threshold": 0.02,
|
|
"enable_certificates": true,
|
|
"gate_threshold": 0.5
|
|
},
|
|
|
|
"kalman_config": {
|
|
"state_dim": 4,
|
|
"observation_dim": 4,
|
|
"process_noise": 0.01,
|
|
"observation_noise": 0.1,
|
|
"initial_uncertainty": 1.0
|
|
},
|
|
|
|
"training_config": {
|
|
"batch_size": 64,
|
|
"learning_rate": 0.001,
|
|
"optimizer": "adamw",
|
|
"weight_decay": 0.01,
|
|
"epochs": 100,
|
|
"warmup_steps": 1000,
|
|
"gradient_clip": 1.0,
|
|
"early_stopping_patience": 10
|
|
},
|
|
|
|
"inference_config": {
|
|
"batch_size": 1,
|
|
"enable_optimization": true,
|
|
"use_simd": true,
|
|
"max_latency_ms": 1.0,
|
|
"precision": "int8",
|
|
"enable_profiling": false
|
|
},
|
|
|
|
"performance_targets": {
|
|
"p99_9_latency_ms": 0.9,
|
|
"throughput_pps": 1000,
|
|
"memory_mb": 50,
|
|
"accuracy": {
|
|
"mae_threshold": 0.05,
|
|
"rmse_threshold": 0.07,
|
|
"r_squared_min": 0.9
|
|
}
|
|
},
|
|
|
|
"export_config": {
|
|
"onnx": {
|
|
"opset_version": 17,
|
|
"optimize": true,
|
|
"include_solver": false,
|
|
"dynamic_axes": {
|
|
"input_sequence": {
|
|
"0": "batch_size",
|
|
"1": "sequence_length"
|
|
},
|
|
"output": {
|
|
"0": "batch_size"
|
|
}
|
|
}
|
|
},
|
|
"pytorch": {
|
|
"include_solver": true,
|
|
"quantization": "dynamic"
|
|
}
|
|
},
|
|
|
|
"benchmark_results": {
|
|
"validation_date": "2024-09-20",
|
|
"sample_size": 100000,
|
|
"statistical_significance": true,
|
|
"latency_ms": {
|
|
"system_a": {
|
|
"mean": 1.399,
|
|
"p50": 1.385,
|
|
"p90": 1.550,
|
|
"p95": 1.575,
|
|
"p99": 1.595,
|
|
"p99_9": 1.600
|
|
},
|
|
"system_b": {
|
|
"mean": 0.516,
|
|
"p50": 0.501,
|
|
"p90": 0.678,
|
|
"p95": 0.743,
|
|
"p99": 0.848,
|
|
"p99_9": 0.850
|
|
},
|
|
"improvement": {
|
|
"mean": 63.1,
|
|
"p99_9": 46.9
|
|
}
|
|
},
|
|
"accuracy": {
|
|
"system_a": {
|
|
"mae": 0.067,
|
|
"rmse": 0.089,
|
|
"r_squared": 0.91,
|
|
"error_rate": 2.0
|
|
},
|
|
"system_b": {
|
|
"mae": 0.045,
|
|
"rmse": 0.062,
|
|
"r_squared": 0.94,
|
|
"error_rate": 0.5
|
|
}
|
|
},
|
|
"throughput": {
|
|
"single_thread_pps": 1176,
|
|
"multi_thread_pps": 8940,
|
|
"batch_pps": 15000
|
|
},
|
|
"memory": {
|
|
"peak_mb": 12,
|
|
"average_mb": 8,
|
|
"model_size_mb": 0.32
|
|
}
|
|
},
|
|
|
|
"compatibility": {
|
|
"onnx_version": "1.14+",
|
|
"python_version": "3.8+",
|
|
"rust_version": "1.70+",
|
|
"frameworks": ["onnxruntime", "pytorch", "tensorflow"],
|
|
"hardware": {
|
|
"cpu": "Any x86_64 or ARM64",
|
|
"memory_min_mb": 100,
|
|
"gpu": "Optional (CUDA, ROCm)"
|
|
}
|
|
},
|
|
|
|
"files": {
|
|
"model_weights": [
|
|
"system_a.onnx",
|
|
"system_b.onnx",
|
|
"pytorch_model.bin"
|
|
],
|
|
"config": [
|
|
"config.json",
|
|
"model_card.md"
|
|
],
|
|
"documentation": [
|
|
"README.md",
|
|
"docs/api_reference.md",
|
|
"docs/deployment_guide.md"
|
|
],
|
|
"examples": [
|
|
"examples/python_inference.py",
|
|
"examples/rust_integration.rs",
|
|
"notebooks/demo.ipynb"
|
|
]
|
|
},
|
|
|
|
"tags": [
|
|
"neural-networks",
|
|
"time-series",
|
|
"optimization",
|
|
"real-time-ai",
|
|
"sublinear-algorithms",
|
|
"temporal-computing",
|
|
"mathematical-verification",
|
|
"ultra-low-latency",
|
|
"hft",
|
|
"robotics",
|
|
"edge-ai",
|
|
"rust",
|
|
"onnx"
|
|
],
|
|
|
|
"metrics": {
|
|
"accuracy": {
|
|
"mae": 0.045,
|
|
"rmse": 0.062,
|
|
"r_squared": 0.94
|
|
},
|
|
"latency": {
|
|
"p99_9_ms": 0.850,
|
|
"mean_ms": 0.516,
|
|
"improvement_percent": 46.9
|
|
},
|
|
"reliability": {
|
|
"error_rate": 0.5,
|
|
"gate_pass_rate": 66.0,
|
|
"certificate_accuracy": 98.5
|
|
}
|
|
},
|
|
|
|
"license": "mit",
|
|
"library_name": "temporal-neural-net",
|
|
"pipeline_tag": "other",
|
|
"widget": {
|
|
"structuredData": {
|
|
"url": "https://huggingface.co/datasets/temporal-neural-solver/demo-data/resolve/main/sample_input.json"
|
|
}
|
|
}
|
|
} |