Upload run_report.json with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133{ "run_info": { "script": "kaggle.py", "platform": "Kaggle (GPU T4 x2)", "start_utc": "2026-09-08T12:06:52.839121Z", "end_utc": "2026-09-08T13:21:01.029704Z", "total_time": "1:14:08", "total_seconds": 4448.2 }, "hardware": { "gpus": [ { "index": 0, "name": "Tesla T4", "vram_gb": 15.64, "cuda_capability": "7.5", "multi_processors": 40 } ], "gpu_count_used": 1, "note": "gradient_checkpointing activo; DataParallel desactivado", "cpu_physical_cores": 1, "cpu_logical_threads": 2, "ram_total_gb": 13.61, "os": "Linux 6.6.122+" }, "software": { "python": "3.13.15", "pytorch": "2.11.0+cu128", "cuda": "12.8", "cudnn": "91900", "transformers": "5.16.1", "numpy": "2.1.3", "pandas": "2.2.3", "scikit_learn": "1.6.1" }, "model": { "base": "microsoft/codebert-base", "architecture": "RobertaModel → [CLS] → Linear(768,128) → GELU → Dropout → Linear(128,4)", "total_params": 124744580, "trainable_params": 124744580, "gradient_checkpointing": true }, "hyperparameters": { "max_len": 510, "batch_size_per_step": 16, "grad_accum_steps": 4, "effective_batch_size": 64, "epochs_max": 50, "early_stop_patience": 10, "lr_encoder": 2.35e-05, "lr_head": 0.00153, "beta1": 0.89, "warmup_epochs": 3, "lr_scheduler": "ExponentialLR(gamma=0.976, aplica a ambos grupos)", "optimizer": "Adam", "weight_decay": 1.31e-05, "dropout": 0.086, "hidden_dim": 128, "loss_function": "BCEWithLogitsLoss" }, "dataset": { "train_csv": "/content/drive/MyDrive/tesis/data/train_functions.csv", "test_csv": "/content/drive/MyDrive/tesis/data/test_functions.csv", "train_size": 6644, "test_size": 5179, "vulnerability_classes": [ "Re-entrancy", "Timestamp-Dependency", "Unhandled-Exceptions", "tx.origin" ], "train_distribution": { "Re-entrancy": 3500, "Timestamp-Dependency": 3500, "Unhandled-Exceptions": 312, "tx.origin": 71 } }, "training_summary": { "epochs_run": 20, "best_epoch": 10, "avg_epoch_time_s": 216.5, "avg_epoch_time": "0:03:36", "loss_train_final": 0.002726, "loss_val_final": 0.197784 }, "results": { "f1_macro": 0.938385, "f1_micro": 0.936281, "recall_macro": 0.939737, "precision_macro": 0.950687, "accuracy": 0.936281, "per_class": { "Re-entrancy": { "f1": 0.890584, "recall": 1.0, "precision": 0.80275, "accuracy": 0.936281, "support": 1343 }, "Timestamp-Dependency": { "f1": 1.0, "recall": 1.0, "precision": 1.0, "accuracy": 1.0, "support": 1131 }, "Unhandled-Exceptions": { "f1": 0.862957, "recall": 0.758948, "precision": 1.0, "accuracy": 0.936281, "support": 1369 }, "tx.origin": { "f1": 1.0, "recall": 1.0, "precision": 1.0, "accuracy": 1.0, "support": 1336 } } }, "paper_reference": { "title": "Deep learning-based solution for smart contract vulnerabilities detection", "authors": "Tang et al.", "journal": "Scientific Reports", "year": 2023, "doi": "10.1038/s41598-023-47219-0", "reported_f1": 0.9353 }}run_report.jsonAdded+133