File size: 3,696 Bytes
27fe7df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "schema": "neutral-paper-reproduction-v101",
  "paper_id": "P155",
  "title": "Molecular Transformer: A Model for Uncertainty-Calibrated Chemical Reaction Prediction",
  "question": "Reproduce the Molecular Transformer paper’s own attention-model training, beam prediction, confidence, learning variations and reaction-case experiments from the supplied complete MIT cohorts. Report achieved results under current resources; do not substitute quoted historical accuracies or other methods’ results for actual new computations.",
  "inputs": [
    "data/",
    "docs/",
    "source_provenance.json",
    "task_parameters.json"
  ],
  "scientific_outputs": {
    "predictions.csv": [
      "id",
      "rank",
      "product",
      "confidence",
      "token_probabilities"
    ],
    "metrics.json": {
      "top1": "validation fraction",
      "top2": "validation fraction",
      "top3": "validation fraction",
      "top5": "validation fraction",
      "invalid_fraction": "invalid generated products/all prediction rows",
      "confidence_auroc": "validation correctness ROC or null if undefined",
      "length_confidence_pearson": "validation product-string length correlation or null if undefined"
    },
    "model_metadata.json": "method/architecture, actual training data/updates, tokenizer, numeric parameter path and original conditions differences",
    "reproduction_report.md": "per-experiment scientific outcomes and unresolved conditions",
    "model.pt": "Safe tensor-only torch checkpoint: state_dict, total_optimizer_updates, selected_update.",
    "training_curve.json": "Actual optimization records with update and training_nll; include actual validation diagnostics and selection evidence.",
    "predictions.csv.gz": "Optional gzip alternative to predictions.csv, same schema, use only one.",
    "ablation_experiments.json": "Optional list {name,model_dir}; names: attention_heads,label_smoothing,augmentation,training_exposure,checkpoint_averaging,ensemble. Each model_dir contains its own actual model, optimization, metadata, predictions and metrics."
  },
  "scientific_details": {
    "confidence": "Product of model token probabilities with declared EOS handling; report null only for mathematically undefined statistics.",
    "prediction_coverage": "Every test/validation input ID has ranks1-5. Explicit missing rows have empty product, zero confidence and empty token probabilities, and remain failures in the original denominator.",
    "checkpoint_metadata": "Bind model_metadata.checkpoint_sha256 and actual_training_data.optimizer_updates/selected_checkpoint_update to actual checkpoint and curve. Distinguish current training from historical GPU training.",
    "comparison": "Use validation data for selection; private test labels are withheld. Keep all actual branch outcomes, including failures or no gain."
  },
  "entrypoint": "reproduce.py --input-dir /input --output-dir /work/output",
  "rules": [
    "Reaction files are under /input/data and paper materials are under /input/docs.",
    "Use current input values and retain complete record identities and denominators.",
    "Report actual scientific outputs and honest scope limits; printed paper totals alone are not new computations.",
    "Original-author algorithm source and mirrors are hidden. Other open-source tools and opaque binaries may be used; record their provenance."
  ],
  "runtime": "Frozen CPU-only Python3.12/RDKit2024.09.6/NumPy1.26.4 runtime. Historical version differences must be reported.",
  "resources": {
    "cpu_cores": 1,
    "memory_bytes": 2147483648,
    "cpu_seconds": 6000,
    "wall_seconds": 7200,
    "max_versions": 3,
    "max_actions": 12
  }
}