Instructions to use ctheodoris/Geneformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ctheodoris/Geneformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ctheodoris/Geneformer")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ctheodoris/Geneformer") model = AutoModelForMaskedLM.from_pretrained("ctheodoris/Geneformer", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
adding tensorboard to setup.py (#409) 94d98d1 verified
update setup with req and manifest with updated filenames a34fbc2
update dependencies, reinstate compatibility with python<3.9 with typing for List 10d3f10
Christina Theodoris commited on
Add functions for extracting gene embeddings, move state_embs_dict outside isp, fix bugs in isp 2f25aea
Christina Theodoris commited on
Add option to output embs as tensor 624349c
Christina Theodoris commited on