Instructions to use aehrc/cxrmate-tf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aehrc/cxrmate-tf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="aehrc/cxrmate-tf", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("aehrc/cxrmate-tf", trust_remote_code=True) model = AutoModel.from_pretrained("aehrc/cxrmate-tf", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update modelling_longitudinal.py
Verified signatureFixed issues with attn_implementation and decoder_inputs['past_key_values'].6671e0f
-
Upload model
Verified signatureac09e83
-
Upload model
Verified signature5f20c34
-
Upload model
7222946
-
Upload model
697b021
-
Upload model
b36c990