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
-
move V1 autoformatting to after validate_options
Christina Theodoris4364d31
-
add option for relabeling data from prior label class dict, update dict paths in manifest
Christina Theodoris76a78a0
-
update with V2 models
Christina Theodorisd319fef
-
fix TypeError: TrainingArguments.__init__() got an unexpected keyword argument 'evaluation_strategy' (#539)
Verified signature- fix TypeError: TrainingArguments.__init__() got an unexpected keyword argument 'evaluation_strategy' (af5699d3d03a21594973b7159b1b1c3d85fca067) Co-authored-by: Jack Kuo <jackkuo@users.noreply.huggingface.co>42dbf0a
-
update eval_strategy for new transformers version
Christina Theodoris18a2ca6
-
Prepare data cell level pass cell state dict instead of genes (#483)
Verified signature- Update geneformer/classifier.py (107b2b84dd2a79cdba7470322d6c3637cc1d41ed) Co-authored-by: Han Chen <hchen725@users.noreply.huggingface.co>69e6887
-
Update trainer output dir (#427)
Verified signature- Update trainer output dir (414cf94616fe848b0d773ec954db7fd83723e2e2) Co-authored-by: Han Chen <hchen725@users.noreply.huggingface.co>dc23c5f
-
sync token_dictionary variable name w/ classifier
Verified signaturea021deb
-
precommit formatting
f07bfd7 -
update with 12L and 20L i4096 gc95M models, multitask and quantiz code
933ca80
-
move dicts to init
ea428cb
-
patch datasets save_to_disk
Christina Theodoris75c67a1
-
refer to token dictionary in self
Christina Theodoris86fe0dd
-
Update with gene classifier, custom token dict, and str validate options (#329)
Verified signature- Update with gene classifier, custom token dict, and str validate options (ae834bc2564a49ee071390284a726b13aa2b297f) Co-authored-by: Han Chen <hchen725@users.noreply.huggingface.co>0568479
-
add option for hyperparameter tuning to cc.validate
Christina Theodoris4bddd45
-
update examples for predict_eval and handle roc for 2 cell classes
Christina Theodoriseeba323
-
Update readthedocs for classifier
Christina Theodorisf75f5ac
-
Add classifier module and examples
Christina Theodoris9e9cca9