Feature Extraction
Transformers
Safetensors
Romanian
xlm-roberta
biomedical
clinical
cardiology
entity-linking
concept-normalization
umls
metric-learning
text-embeddings-inference
Instructions to use DT4H/CardioBERTa.ro_GP_enriched with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DT4H/CardioBERTa.ro_GP_enriched with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="DT4H/CardioBERTa.ro_GP_enriched")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("DT4H/CardioBERTa.ro_GP_enriched") model = AutoModel.from_pretrained("DT4H/CardioBERTa.ro_GP_enriched", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_data_stats.json from DT4H/CardioBERTa.ro_GP_enriched: direct link, hf CLI and curl.
- Browser
- Download file 972 Bytes
-
https://huggingface.co/DT4H/CardioBERTa.ro_GP_enriched/resolve/main/training_data_stats.json
- Command line
-
hf download hf://DT4H/CardioBERTa.ro_GP_enriched/training_data_stats.json
-
curl -L -o training_data_stats.json https://huggingface.co/DT4H/CardioBERTa.ro_GP_enriched/resolve/main/training_data_stats.json
972 Bytes
| { | |
| "triplets": 4734361, | |
| "malformed_rows": 0, | |
| "unique_triplets": 4733225, | |
| "duplicate_triplets": 1136, | |
| "unique_cuis": 476970, | |
| "unique_anchors": 444941, | |
| "unique_positives": 470719, | |
| "unique_terms": 531980, | |
| "unique_anchor_positive_pairs": 4680255, | |
| "ambiguous_terms_across_cuis": 193880, | |
| "self_pairs_exact": 0, | |
| "self_pairs_normalized": 106, | |
| "cuis_with_multiple_terms": 476969, | |
| "terms_per_cui_mean": 9.850546155942721, | |
| "terms_per_cui_median": 7.0, | |
| "terms_per_cui_p95": 28.0, | |
| "terms_per_cui_max": 37, | |
| "triplets_per_cui_mean": 9.92590938633457, | |
| "triplets_per_cui_median": 7.0, | |
| "triplets_per_cui_p95": 31.0, | |
| "triplets_per_cui_max": 35, | |
| "anchor_words_mean": 4.438981100089325, | |
| "positive_words_mean": 4.662949445553476, | |
| "cuis_common_with_synonyms": 70817, | |
| "cuis_added_vs_synonyms": 406153, | |
| "cuis_missing_vs_synonyms": 0, | |
| "terms_common_with_synonyms": 139248, | |
| "terms_added_vs_synonyms": 392732, | |
| "terms_missing_vs_synonyms": 0 | |
| } | |