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
-
default id_class_dict to None for gene classifiers
Christina Theodorisf45a6c7
-
track metadata in predictions
Christina Theodorisbe98543
-
add option for relabeling data from prior label class dict, update dict paths in manifest
Christina Theodoris76a78a0
-
ensure gene class dict only inverted when using gene classifier
Christina Theodoris54b408b
-
fix gene class dict labeling
Christina Theodorisbfcada4
-
precommit formatting
f07bfd7 -
update with 12L and 20L i4096 gc95M models, multitask and quantiz code
933ca80
-
save pval
b07f4b1
-
Update for gene classification (#330)
Verified signature- Update for gene classification (f49922d12ee1fe946a511e6d96b9cda14ce7c22b) Co-authored-by: Han Chen <hchen725@users.noreply.huggingface.co>94095d1
-
add option for hyperparameter tuning to cc.validate
Christina Theodoris4bddd45
-
Add classifier module and examples
Christina Theodoris9e9cca9