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")# pip install -U transformers accelerate # 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
-
Create multi-task_cell_classification.ipynb (#418)
Verified signature- Create multi-task_cell_classification.ipynb (a2d284f77702bc62fc4c226e2d5cf282ef7fea9f) - replace notebook format (abafc19e2ba4e6c9b9c53faf0268eea387d936a7) - update mtl cell classification notebook format (dc90822f2c1770b370adb49111d5f49d30850ce7) - delete notebook with problematic formatting (ae4e0e0ea1c565821928284a74e0648bff051d33) - Delete prior nb (40624e87b838652e60022e79eadfa72997315446) - Rename mtl example nb (628247599bf5f5aa2de011b9fd982e137059ef52) Co-authored-by: Madhavan Venkatesh <madhavanvenkatesh@users.noreply.huggingface.co>b138ba5