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
-
add option for hyperparameter tuning to cc.validate
Christina Theodoris4bddd45
-
update examples for predict_eval and handle roc for 2 cell classes
Christina Theodoriseeba323
-
Add classifier module and examples
Christina Theodoris9e9cca9
-
Add note to recommend tuning hyperparameters for downstream applications
Christina Theodoris98ce6d7
-
Remove unused evalset variable from cell classification example
Christina Theodoris879a878
-
Subclass collator for cell classification
Christina Theodoris402ba9b
-
Add data collator for gene classification and example for gene classification
Christina Theodorisedacd12
-
Add data collator for cell classification and example for cell classification
Christina Theodoris088ea6e