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
-
track metadata in predictions
Christina Theodorisbe98543
-
Update geneformer/evaluation_utils.py to be compatible with different versions of the datasets package. (#552)
Verified signature- Update geneformer/evaluation_utils.py to be compatible with different versions of the datasets package. (fc7a1c00c86cf62d3677d14a1d70b7b8c37236bb) Co-authored-by: Kenji Watanabe <IchigoJiken@users.noreply.huggingface.co>b2dc06c
-
update with V2 models
Christina Theodorisd319fef
-
make plot roc compatible with eval-only metrics
Christina Theodorisae4867d
-
move dict loading to function in eval utils
57bc17e
-
precommit formatting
f07bfd7
-
move dicts to init
ea428cb
-
update examples for predict_eval and handle roc for 2 cell classes
Christina Theodoriseeba323
-
Add classifier module and examples
Christina Theodoris9e9cca9