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
Download docs/source/_static/css/custom.css from ctheodoris/Geneformer: direct link, hf CLI and curl.
- Browser
- Download file 664 Bytes
-
https://huggingface.co/ctheodoris/Geneformer/resolve/refs%2Fpr%2F404/docs/source/_static/css/custom.css
- Command line
-
hf download hf://ctheodoris/Geneformer@refs/pr/404/docs/source/_static/css/custom.css
-
curl -L -o custom.css https://huggingface.co/ctheodoris/Geneformer/resolve/refs%2Fpr%2F404/docs/source/_static/css/custom.css
664 Bytes
| /* top left logo */ | |
| .wy-side-nav-search, .wy-nav-top { | |
| background: linear-gradient(15deg, #13547a 0%, #80d0c7 100%); | |
| } | |
| /* unvisited link */ | |
| .wy-nav-content a:link { | |
| color: #067abd; | |
| } | |
| /* visited link */ | |
| .wy-nav-content a:visited { | |
| color: #4b827c; | |
| } | |
| /* mouse over link */ | |
| .wy-nav-content a:hover { | |
| color: #80d0c7; | |
| } | |
| /* selected link */ | |
| .wy-nav-content a:active { | |
| color: #4b827c; | |
| } | |
| /* class object */ | |
| .sig.sig-object { | |
| padding: 5px 5px 5px 5px; | |
| background-color: #ececec; | |
| border-style: solid; | |
| border-color: black; | |
| border-width: 1px 0; | |
| } | |
| /* parameter object */ | |
| dt { | |
| padding: 5px 5px 5px 5px; | |
| background-color: #ececec; | |
| } | |