Feature Extraction
Transformers
Safetensors
English
roberta
biomedical
clinical
cardiology
entity-linking
concept-normalization
umls
metric-learning
text-embeddings-inference
Instructions to use DT4H/CardioBERTa.en_GP_enriched with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DT4H/CardioBERTa.en_GP_enriched with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="DT4H/CardioBERTa.en_GP_enriched")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("DT4H/CardioBERTa.en_GP_enriched") model = AutoModel.from_pretrained("DT4H/CardioBERTa.en_GP_enriched", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download triplet_comparison.csv from DT4H/CardioBERTa.en_GP_enriched: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/DT4H/CardioBERTa.en_GP_enriched/resolve/main/triplet_comparison.csv
- Command line
-
hf download hf://DT4H/CardioBERTa.en_GP_enriched/triplet_comparison.csv
-
curl -L -o triplet_comparison.csv https://huggingface.co/DT4H/CardioBERTa.en_GP_enriched/resolve/main/triplet_comparison.csv
546 Bytes
| strategy,triplets,unique_triplets,unique_cuis,unique_anchors,unique_positives,unique_terms,unique_anchor_positive_pairs,terms_per_cui_mean,terms_per_cui_median,cuis_added_vs_synonyms,cuis_missing_vs_synonyms,terms_added_vs_synonyms,terms_missing_vs_synonyms | |
| synonyms,83914,83914,83914,83292,83472,165661,83798,1.9995709893462355,2.0,0,0,0,0 | |
| parents,1699553,1699259,477290,397180,432552,550651,1687484,4.028630392423893,3.0,393376,0,384990,0 | |
| grandparents,4952020,4951542,477293,467097,485607,550651,4915749,10.059801840798,7,393379,0,384990,0 | |