Views
No views yet
| Model | Parameter | Maximum input |
|---|---|---|
| gatortron-base-2k | 345 million | 2048 |
| gatortron-base | 345 million | 512 |
| gatortronS | 345 million | 512 |
| gatortron-medium (this model) | 3.9 billion | 512 |
| gatortron-large | 8.9 billion | 512 |
1from transformers import AutoModel, AutoTokenizer, AutoConfig
2
3tokinizer= AutoTokenizer.from_pretrained('UFNLP/gatortron-medium')
4config=AutoConfig.from_pretrained('UFNLP/gatortron-medium')
5mymodel=AutoModel.from_pretrained('UFNLP/gatortron-medium')
6
7encoded_input=tokinizer("Bone scan: Negative for distant metastasis.", return_tensors="pt")
8encoded_output = mymodel(**encoded_input)@article{yang2022large,
title={A large language model for electronic health records},
author={Yang, Xi and Chen, Aokun and PourNejatian, Nima and Shin, Hoo Chang and Smith, Kaleb E and Parisien, Christopher and Compas, Colin and Martin, Cheryl and Costa, Anthony B and Flores, Mona G and Zhang, Ying and Magoc, Tanja and Harle, Christopher A and Lipori, Gloria and Mitchell, Duane A and Hogan, William R and Shenkman, Elizabeth A and Bian, Jiang and Wu, Yonghui },
journal={npj Digital Medicine},
volume={5},
number={1},
pages={194},
year={2022},
publisher={Nature Publishing Group UK London}
}