{"data":{"kind":"file","path":"README.md","version_id":"f0xcbmmvkshmkooz08pv0e4e","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":1715,"modified_at":"2026-02-08T18:27:39.237000","content_hash":"83d3d90167f041b057f869da8a5a68f5d1e7776a61cef7223f1985cf37445acb"},"entries":[],"content":"# OpenMed MedText\n\nClinical diagnosis and treatment generation environment for RL fine-tuning.\n\n## Task\n\nGiven a patient presentation, provide an accurate diagnosis and comprehensive treatment plan.\n\n## Dataset\n\n- **Source**: `BI55/MedText`\n- **Size**: 1,412 patient cases (train: ~1,200, eval: ~212)\n- **Format**: Open-ended diagnosis + treatment generation\n- **Coverage**: 100+ diseases, 30+ injury types\n- **Quality**: Validated by 3 doctors, includes adversarial cases\n- **License**: CC-BY-4.0\n\n## Reward Structure\n\n| Reward | Weight | Description |\n|--------|--------|-------------|\n| Keyword Overlap | 35% | Content overlap with reference + medical terminology |\n| Completeness | 25% | Response length, structure, and diagnosis presence |\n| Thinking | 25% | Quality of clinical reasoning in `<think>` tags |\n| Format | 15% | Proper `\\boxed{}` or `|answer|` format |\n\n## Example\n\n**Input**: \"A 50-year-old male presents with recurrent kidney stones and osteopenia...\"\n\n**Expected Output**:\n```\n<think>\nRecurrent kidney stones + osteopenia + high-dose vitamin D + hypercalcemia + hypercalciuria.\nKey differential: vitamin D toxicity vs primary hyperparathyroidism.\nThe vitamin D supplementation history points to toxicity as the most likely cause.\n</think>\n\\boxed{Diagnosis: Vitamin D toxicity. Treatment: 1) Discontinue vitamin D supplementation immediately. 2) IV fluids for hydration. 3) Loop diuretics to promote calcium excretion. 4) Monitor serum calcium and renal function. 5) Reassess vitamin D levels in 4-6 weeks.}\n```\n\n## Citation\n\n```\n@misc{bi55medtext,\n  title={MedText Dataset},\n  author={BI55},\n  year={2024},\n  publisher={HuggingFace},\n  url={https://huggingface.co/datasets/BI55/MedText}\n}\n```\n","encoding":"utf-8","truncated":false,"total_bytes":1715},"status":null}