Instructions to use TidasSilva/OPD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TidasSilva/OPD with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct") model = PeftModel.from_pretrained(base_model, "TidasSilva/OPD") - Notebooks
- Google Colab
- Kaggle
Download FINAL_REPORT.json from TidasSilva/OPD: direct link, hf CLI and curl.
- Browser
- Download file 2.37 kB
-
https://huggingface.co/TidasSilva/OPD/resolve/main/FINAL_REPORT.json
- Command line
-
hf download hf://TidasSilva/OPD/FINAL_REPORT.json
-
curl -L -o FINAL_REPORT.json https://huggingface.co/TidasSilva/OPD/resolve/main/FINAL_REPORT.json
2.37 kB
| { | |
| "version": "OPD-LLM v11", | |
| "elapsed_min": 124.6, | |
| "test_cases": 200, | |
| "pretrained": { | |
| "tag": "0_pretrained", | |
| "notes": false, | |
| "n": 200, | |
| "chance": 0.25, | |
| "accuracy": 0.395, | |
| "accuracy_95ci": [ | |
| 0.33, | |
| 0.464 | |
| ], | |
| "wrong": 0.54, | |
| "escalated": 0.005, | |
| "format_fail": 0.06, | |
| "acc_on_most_confident_half": 0.505, | |
| "n_conf>=0.8": 102, | |
| "wrong_among_conf>=0.8": 52 | |
| }, | |
| "after_sft": { | |
| "tag": "1_after_sft", | |
| "notes": false, | |
| "n": 200, | |
| "chance": 0.25, | |
| "accuracy": 0.375, | |
| "accuracy_95ci": [ | |
| 0.311, | |
| 0.444 | |
| ], | |
| "wrong": 0.545, | |
| "escalated": 0.0, | |
| "format_fail": 0.08, | |
| "acc_on_most_confident_half": 0.489, | |
| "n_conf>=0.8": 125, | |
| "wrong_among_conf>=0.8": 68 | |
| }, | |
| "after_rl": { | |
| "tag": "2_after_rl", | |
| "notes": false, | |
| "n": 200, | |
| "chance": 0.25, | |
| "accuracy": 0.455, | |
| "accuracy_95ci": [ | |
| 0.387, | |
| 0.524 | |
| ], | |
| "wrong": 0.545, | |
| "escalated": 0.0, | |
| "format_fail": 0.0, | |
| "acc_on_most_confident_half": 0.56, | |
| "n_conf>=0.8": 121, | |
| "wrong_among_conf>=0.8": 58 | |
| }, | |
| "after_rl_with_notes": { | |
| "tag": "3_after_rl_with_notes", | |
| "notes": true, | |
| "n": 200, | |
| "chance": 0.25, | |
| "accuracy": 0.435, | |
| "accuracy_95ci": [ | |
| 0.368, | |
| 0.504 | |
| ], | |
| "wrong": 0.555, | |
| "escalated": 0.0, | |
| "format_fail": 0.01, | |
| "acc_on_most_confident_half": 0.505, | |
| "n_conf>=0.8": 108, | |
| "wrong_among_conf>=0.8": 53 | |
| }, | |
| "vision": { | |
| "vqa_rad_yes_no_acc_on_100": 0.64, | |
| "train_steps": 87 | |
| }, | |
| "clinical_validation": false, | |
| "approved_for_patient_care": false, | |
| "limitations": [ | |
| "MedQA/MedMCQA are multiple-choice exam datasets: they measure exam-style accuracy, NOT OPD history-taking, examination, procedures, medication safety or referral decisions.", | |
| "Differences smaller than the reported 95% CI (about +/-7 points at n=200) are noise.", | |
| "Reward comes from answer keys only; reasoning quality is not verified. RL here is GRPO-style (no KL/clipping).", | |
| "ESCALATE is never trained from real escalation data; MCQs always have an answer.", | |
| "Confidence = model's own letter probability; it is not clinically calibrated.", | |
| "Vision stage is VQA-RAD/PathVQA question answering, not validated diagnosis.", | |
| "Needs prospective, clinician-reviewed validation before any clinical use." | |
| ] | |
| } |