Instructions to use tdc/Geneformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tdc/Geneformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="tdc/Geneformer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("tdc/Geneformer") model = AutoModelForMaskedLM.from_pretrained("tdc/Geneformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files35 unmodified lines3637383940414235 unmodified linesembs = embs_i```# Citations- A Velez-Arce#, Kexin Huang, Michelle M. Li, Xiang Lin, Wenhao Gao, Tianfan Fu, Manolis Kellis, Bradley L. Pentelute, and Marinka Zitnik.# Signals in the Cells: Multimodal and Contextualized Machine Learning Foundations for Therapeutics. _**bioRxiv**_, 12 Nov 2024. (#co-corresponding authors)- C V Theodoris#, L Xiao, A Chopra, M D Chaffin, Z R Al Sayed, M C Hill, H Mantineo, E Brydon, Z Zeng, X S Liu, P T Ellinor#. Transfer learning enables predictions in network biology. _**Nature**_, 31 May 2023. (#co-corresponding authors)- H Chen*, M S Venkatesh*, J Gomez Ortega, S V Mahesh, T Nandi, R Madduri, K Pelka†, C V Theodoris†#. Quantized multi-task learning for context-specific representations of gene network dynamics. _**bioRxiv**_, 19 Aug 2024. (*co-first authors, †co-senior authors, #corresponding author)35 unmodified lines36373839404142434445464748495051525335 unmodified linesembs = embs_i```# TDC Citation```@inproceedings{velez-arce2024signals,title={Signals in the Cells: Multimodal and Contextualized Machine Learning Foundations for Therapeutics},author={Alejandro Velez-Arce and Kexin Huang and Michelle M Li and Xiang Lin and Wenhao Gao and Bradley Pentelute and Tianfan Fu and Manolis Kellis and Marinka Zitnik},booktitle={NeurIPS 2024 Workshop on AI for New Drug Modalities},year={2024},url={https://openreview.net/forum?id=kL8dlYp6IM}}```# Additional Citations- C V Theodoris#, L Xiao, A Chopra, M D Chaffin, Z R Al Sayed, M C Hill, H Mantineo, E Brydon, Z Zeng, X S Liu, P T Ellinor#. Transfer learning enables predictions in network biology. _**Nature**_, 31 May 2023. (#co-corresponding authors)- H Chen*, M S Venkatesh*, J Gomez Ortega, S V Mahesh, T Nandi, R Madduri, K Pelka†, C V Theodoris†#. Quantized multi-task learning for context-specific representations of gene network dynamics. _**bioRxiv**_, 19 Aug 2024. (*co-first authors, †co-senior authors, #corresponding author)
README.md+13-2