Instructions to use zhyiyang/EHR-Longformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhyiyang/EHR-Longformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="zhyiyang/EHR-Longformer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("zhyiyang/EHR-Longformer") model = AutoModelForMaskedLM.from_pretrained("zhyiyang/EHR-Longformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from zhyiyang/EHR-Longformer: direct link, hf CLI and curl.
- Browser
- Download file 595 MB
-
https://huggingface.co/zhyiyang/EHR-Longformer/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://zhyiyang/EHR-Longformer/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/zhyiyang/EHR-Longformer/resolve/main/pytorch_model.bin
595 MB
- Xet hash:
- f1911206d9211f6b1b4d81c7da712b1879174107f34aea1bafb974fb0093825c
- Size of remote file:
- 595 MB
- SHA256:
- f0a4d0527b34f95a3ffa5aa217c9ae419b206226fec10273ef1c9d6a3aaa19db
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.