Feature Extraction
Transformers
Safetensors
Spanish
roberta
biomedical
clinical
cardiology
entity-linking
concept-normalization
umls
metric-learning
text-embeddings-inference
Instructions to use DT4H/CardioBERTa.es_P_enriched with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DT4H/CardioBERTa.es_P_enriched with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="DT4H/CardioBERTa.es_P_enriched")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("DT4H/CardioBERTa.es_P_enriched") model = AutoModel.from_pretrained("DT4H/CardioBERTa.es_P_enriched", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_data_stats.json from DT4H/CardioBERTa.es_P_enriched: direct link, hf CLI and curl.
- Browser
- Download file 975 Bytes
-
https://huggingface.co/DT4H/CardioBERTa.es_P_enriched/resolve/main/training_data_stats.json
- Command line
-
hf download hf://DT4H/CardioBERTa.es_P_enriched/training_data_stats.json
-
curl -L -o training_data_stats.json https://huggingface.co/DT4H/CardioBERTa.es_P_enriched/resolve/main/training_data_stats.json
975 Bytes
| { | |
| "triplets": 1696740, | |
| "malformed_rows": 0, | |
| "unique_triplets": 1674026, | |
| "duplicate_triplets": 22714, | |
| "unique_cuis": 476638, | |
| "unique_anchors": 399204, | |
| "unique_positives": 418108, | |
| "unique_terms": 545019, | |
| "unique_anchor_positive_pairs": 1665125, | |
| "ambiguous_terms_across_cuis": 197337, | |
| "self_pairs_exact": 0, | |
| "self_pairs_normalized": 5750, | |
| "cuis_with_multiple_terms": 476628, | |
| "terms_per_cui_mean": 3.9709674847578245, | |
| "terms_per_cui_median": 3.0, | |
| "terms_per_cui_p95": 9.0, | |
| "terms_per_cui_max": 36, | |
| "triplets_per_cui_mean": 3.559808491979238, | |
| "triplets_per_cui_median": 2.0, | |
| "triplets_per_cui_p95": 10.0, | |
| "triplets_per_cui_max": 35, | |
| "anchor_words_mean": 5.186215919940592, | |
| "positive_words_mean": 5.628029043931304, | |
| "cuis_common_with_synonyms": 83752, | |
| "cuis_added_vs_synonyms": 392886, | |
| "cuis_missing_vs_synonyms": 0, | |
| "terms_common_with_synonyms": 159688, | |
| "terms_added_vs_synonyms": 385331, | |
| "terms_missing_vs_synonyms": 0 | |
| } | |