{
  "generated": "2026-11-20T15:31:18.602Z",
  "harnessCommit": "0c5e96e3d55fd0b2eea180bbc74c197338c9bdb9",
  "environment": {
    "browser": "Not:A-Brand 8, Chromium 156",
    "cpuThreads": 8,
    "engine": "Model Playground JavaScript engine (float32, CPU, Web Worker)"
  },
  "models": {
    "pretrained": {
      "repo": "sudhanshu42844/medsparse-healthcare-pretrained-from-scratch",
      "revision": "bb8e91ae0852a2f9b2bb5ac3dbb5f94c56e28059",
      "parameters": 38779008
    },
    "sft": {
      "repo": "sudhanshu42844/medsparse-healthcare-medical-sft",
      "revision": "0a157beb679a202c1b5a3db4951cdeba941851c7",
      "parameters": 38779008
    },
    "tiny": {
      "repo": "sudhanshu42844/my-tiny-llm",
      "revision": "19c8a6e75a7b64b781d9ed577790b46ff8618f60",
      "parameters": 1060992
    }
  },
  "data": {
    "pubmed": {
      "source": "common-pile/pubmed_filtered, first original shard licensed_pubmed-0000.json.gz, file order",
      "rule": "training filters (clinical keyword, CC0/CC-BY license) + 2% validation partition from healthcare_corpus.stable_partition, seed 42",
      "format": "packed pretraining window: first 129 tokens, no <bos>, 128 scored",
      "selected": 40,
      "scanned": 2407,
      "rejected": {
        "license": 0,
        "clinical": 193,
        "train": 2174
      },
      "rowIndices": [
        63,
        194,
        211,
        220,
        295,
        366,
        388,
        489,
        619,
        660,
        670,
        745,
        817,
        843,
        854,
        861,
        932,
        1021,
        1117,
        1164,
        1190,
        1406,
        1463,
        1477,
        1489,
        1570,
        1609,
        1666,
        1668,
        1735,
        1762,
        1789,
        1985,
        2005,
        2015,
        2154,
        2216,
        2219,
        2324,
        2406
      ]
    },
    "qa": {
      "source": "FreedomIntelligence/medical-o1-reasoning-SFT, config en (medical_o1_sft.json, file order; Question/Response)",
      "rule": "5% validation bucket from medical_data.bucket_for_question, seed 42",
      "format": "tokenize_example(seq_len=128): SFT chat template, completion-only scoring, prompt kept from the right",
      "selected": 80,
      "scanned": 1537,
      "questionFullyKeptShare": 0.088,
      "rowIndices": [
        31,
        35,
        51,
        155,
        171,
        181,
        197,
        208,
        239,
        262,
        274,
        288,
        321,
        340,
        355,
        387,
        400,
        425,
        432,
        438,
        443,
        450,
        452,
        480,
        512,
        544,
        566,
        618,
        628,
        631,
        651,
        700,
        708,
        734,
        751,
        778,
        839,
        872,
        883,
        885,
        930,
        935,
        938,
        977,
        1028,
        1053,
        1073,
        1103,
        1107,
        1123,
        1132,
        1160,
        1163,
        1193,
        1238,
        1242,
        1244,
        1245,
        1252,
        1257,
        1275,
        1283,
        1284,
        1295,
        1306,
        1313,
        1335,
        1355,
        1359,
        1363,
        1371,
        1387,
        1400,
        1443,
        1453,
        1500,
        1511,
        1519,
        1521,
        1536
      ]
    },
    "mcq": {
      "source": "openlifescienceai/medmcqa, validation split, first 150 rows with four non-empty options",
      "format": "SFT chat template; each option scored by mean log-probability per token (cloze); no options shown in the prompt",
      "rowIndices": [
        0,
        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,
        60,
        61,
        62,
        63,
        64,
        65,
        66,
        67,
        68,
        69,
        70,
        71,
        72,
        73,
        74,
        75,
        76,
        77,
        78,
        79,
        80,
        81,
        82,
        83,
        84,
        85,
        86,
        87,
        88,
        89,
        90,
        91,
        92,
        93,
        94,
        95,
        96,
        97,
        98,
        99,
        100,
        101,
        102,
        103,
        104,
        105,
        106,
        107,
        108,
        109,
        110,
        111,
        112,
        113,
        114,
        115,
        116,
        117,
        118,
        119,
        120,
        121,
        122,
        123,
        124,
        125,
        126,
        127,
        128,
        129,
        130,
        131,
        132,
        133,
        134,
        135,
        136,
        137,
        138,
        139,
        140,
        141,
        142,
        143,
        144,
        145,
        146,
        147,
        148,
        149
      ]
    },
    "tiny": {
      "source": "roneneldan/TinyStories, TinyStories-valid.txt, first 100 stories",
      "format": "first 128 tokens, 127 scored",
      "rowIndices": [
        0,
        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,
        60,
        61,
        62,
        63,
        64,
        65,
        66,
        67,
        68,
        69,
        70,
        71,
        72,
        73,
        74,
        75,
        76,
        77,
        78,
        79,
        80,
        81,
        82,
        83,
        84,
        85,
        86,
        87,
        88,
        89,
        90,
        91,
        92,
        93,
        94,
        95,
        96,
        97,
        98,
        99
      ]
    }
  },
  "results": {
    "pretrained": {
      "pubmedHeldOut": {
        "items": 40,
        "tokens": 5120,
        "meanNll": 6.3494,
        "perplexity": 572.15,
        "ci95": [
          472.93,
          704.14
        ],
        "bitsPerToken": 9.16,
        "top1Accuracy": 0.1555,
        "uniformPerplexity": 30001
      },
      "medicalQaHeldOut": {
        "items": 80,
        "tokens": 7943,
        "meanNll": 6.5403,
        "perplexity": 692.47,
        "ci95": [
          643.46,
          740.98
        ],
        "bitsPerToken": 9.436,
        "top1Accuracy": 0.144,
        "uniformPerplexity": 30001
      },
      "medmcqa": {
        "items": 150,
        "accuracy": 0.327,
        "ci95": [
          0.257,
          0.405
        ],
        "accuracyUnnormalized": 0.233,
        "ci95Unnormalized": [
          0.173,
          0.307
        ],
        "chance": 0.25,
        "majorityClassBaseline": 0.38,
        "predictedLetterShare": [
          0.26,
          0.207,
          0.233,
          0.3
        ],
        "goldLetterShare": [
          0.38,
          0.273,
          0.187,
          0.16
        ]
      },
      "routing": [
        {
          "share": [
            0.246,
            0.159,
            0.314,
            0.281
          ],
          "normalizedEntropy": 0.979
        },
        {
          "share": [
            0.198,
            0.266,
            0.305,
            0.231
          ],
          "normalizedEntropy": 0.991
        },
        {
          "share": [
            0.268,
            0.247,
            0.263,
            0.222
          ],
          "normalizedEntropy": 0.998
        },
        {
          "share": [
            0.143,
            0.221,
            0.336,
            0.301
          ],
          "normalizedEntropy": 0.966
        }
      ],
      "decodeTokensPerSec": 13.7
    },
    "sft": {
      "pubmedHeldOut": {
        "items": 40,
        "tokens": 5120,
        "meanNll": 6.5028,
        "perplexity": 667.04,
        "ci95": [
          546.16,
          822.56
        ],
        "bitsPerToken": 9.382,
        "top1Accuracy": 0.1434,
        "uniformPerplexity": 30001
      },
      "medicalQaHeldOut": {
        "items": 80,
        "tokens": 7943,
        "meanNll": 5.5328,
        "perplexity": 252.86,
        "ci95": [
          233.14,
          273.47
        ],
        "bitsPerToken": 7.982,
        "top1Accuracy": 0.2155,
        "uniformPerplexity": 30001
      },
      "medmcqa": {
        "items": 150,
        "accuracy": 0.287,
        "ci95": [
          0.22,
          0.364
        ],
        "accuracyUnnormalized": 0.233,
        "ci95Unnormalized": [
          0.173,
          0.307
        ],
        "chance": 0.25,
        "majorityClassBaseline": 0.38,
        "predictedLetterShare": [
          0.233,
          0.2,
          0.273,
          0.293
        ],
        "goldLetterShare": [
          0.38,
          0.273,
          0.187,
          0.16
        ]
      },
      "routing": [
        {
          "share": [
            0.23,
            0.17,
            0.313,
            0.287
          ],
          "normalizedEntropy": 0.982
        },
        {
          "share": [
            0.222,
            0.236,
            0.272,
            0.27
          ],
          "normalizedEntropy": 0.997
        },
        {
          "share": [
            0.27,
            0.244,
            0.218,
            0.268
          ],
          "normalizedEntropy": 0.997
        },
        {
          "share": [
            0.222,
            0.243,
            0.273,
            0.262
          ],
          "normalizedEntropy": 0.998
        }
      ],
      "decodeTokensPerSec": 14
    },
    "tiny": {
      "tinyStoriesValidation": {
        "items": 100,
        "tokens": 12509,
        "meanNll": 6.3464,
        "perplexity": 570.46,
        "ci95": [
          552,
          591.84
        ],
        "bitsPerToken": 9.156,
        "top1Accuracy": 0.1648,
        "uniformPerplexity": 3512
      },
      "decodeTokensPerSec": 204.5,
      "modelCardValidationLoss": 6.3688
    }
  },
  "comparisons": {
    "sftVsPretrainedQaPerplexityRatio": {
      "ratio": 0.365,
      "ci95": [
        0.343,
        0.389
      ]
    },
    "sftVsPretrainedPubmedPerplexityRatio": {
      "ratio": 1.166,
      "ci95": [
        1.087,
        1.244
      ]
    },
    "medmcqaBothCorrect": 38
  },
  "samples": {
    "prompts": [
      "A 70 year old male patient presented to the emergency depament with pain in epigastrium and difficulty in breathing for 6 hours. On examination, his hea rate was chest examination was normal. The patient has been taking omeprazole for gastresophageal reflux disease for last 6 months. What should be the intial investigation :\nA. An ECG\nB. An upper GI endoscopy\nC. Urgent ultrasound of the abdomen\nD. An x-ray chest",
      "DMPA-True:a) Failure @ 0.3/100 WYb) 150 mg/3 monthly deliveredc) Weight gaind) Glucose intolerance occure) Anemia improves\nA. bcde\nB. abcd\nC. abce\nD. abde",
      "In a patient with mitral stenosis and elevated liver enzymes undergoing surgery, which inhalational anesthetic agent should be preferred to minimize the risk of further liver damage?"
    ],
    "pretrained": [
      "The authors declare that the study of the manuscript.\nThe authors declare that the study of the manuscript.\nThe authors declare that the study of the study, and is a role of the manuscript.\nThe study was performed by the same-based and the study of the manuscript.\nThe authors",
      "The authors declare that the study of the manuscript.\nThe authors declare that the study of the study, and is a significant role of the manuscript.\nThe authors declare that the study of the study, and is a role of the manuscript.\nThe study was performed by the same-1-",
      "The authors declare that the study of the study.\nThe authors declare that the study of the study, the study is a role of the manuscript.\nThe study was performed by the study.\nThe authors declare that the study of the study, the study is a role of the manuscript.\n"
    ],
    "sft": [
      "The most likely diagnosis for the patient's symptoms, the most likely diagnosis is a most likely diagnosis. This is a most likely to be the most likely diagnosis, which is a most likely diagnosis. This is a most likely diagnosis for the patient's condition, which is a most likely diagnosis.",
      "The most likely diagnosis for the patient's patient's symptoms, the most likely diagnosis is a most likely to be the most likely diagnosis. This is a most likely to be used to be the most likely diagnosis, which is a most likely diagnosis. This condition is a most likely to be the most likely",
      "The most likely diagnosis for the patient's symptoms, the most likely diagnosis is a most likely diagnosis. This is a most likely diagnosis for the patient's symptoms, which is a most likely role in the patient's symptoms. This is a most likely diagnosis for the patient's symptoms, which is a most"
    ],
    "tiny": {
      "prompt": "Once upon a time",
      "text": ", there was a little.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
    },
    "decoding": "greedy (argmax), up to 60 new tokens, stops at <eos>"
  },
  "seconds": {
    "sft_mcq_a": 299,
    "pre_mcq_b": 358,
    "pre_mcq_a": 416,
    "pre_gen": 52,
    "tiny_lm": 141,
    "tiny_gen": 1,
    "sft_gen": 49,
    "pre_pubmed": 645,
    "sft_pubmed": 648,
    "sft_mcq_b": 367,
    "pre_qa": 803,
    "sft_qa": 824,
    "pre_speed": 5,
    "sft_speed": 5,
    "tiny_speed": 0
  }
}