CoolFace
Datasetpublic

ClarusC64/clinical-fragility-amplification-detection-v0.1

from dataclasses import dataclass from typing import Dict, Any, List @dataclass class ScoreResult: score: float details: Dict[str, Any] def score(sample: Dict[str, Any], prediction: str) -> ScoreResult: p = (prediction or "").lower() words_ok = len(p.split()) <= 520 has_index = "fragility" in p and "index" in p has_triggers = "trigger" in p or "missed" in p or "dose" in p has_rebound = "rebound" in p or "withdraw" in p has_range = "operating" in p or "narrow" in p… See the full description on the dataset page: https://huggingface.co/datasets/ClarusC64/clinical-fragility-amplification-detection-v0.1.

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes9downloads
5 commits on main
8eb770d8mo ago

Update README.md

ClarusC64
1a9b96e8mo ago

Create scorer.py

ClarusC64
b06f0b38mo ago

Create data/test.csv

ClarusC64
15fb6fb8mo ago

Create data/train.csv

ClarusC64
17e4fa88mo ago

initial commit

ClarusC64