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")# 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/make.bat from ctheodoris/Geneformer: direct link, hf CLI and curl.
- Browser
- Download file 804 Bytes
-
https://huggingface.co/ctheodoris/Geneformer/resolve/7cf49a35a86ed13714473b420b65bfe4a910de79/docs/make.bat
- Command line
-
hf download hf://ctheodoris/Geneformer@7cf49a35a86ed13714473b420b65bfe4a910de79/docs/make.bat
-
curl -L -o make.bat https://huggingface.co/ctheodoris/Geneformer/resolve/7cf49a35a86ed13714473b420b65bfe4a910de79/docs/make.bat
804 Bytes
| @ECHO OFF | |
| pushd %~dp0 | |
| REM Command file for Sphinx documentation | |
| if "%SPHINXBUILD%" == "" ( | |
| set SPHINXBUILD=sphinx-build | |
| ) | |
| set SOURCEDIR=source | |
| set BUILDDIR=build | |
| %SPHINXBUILD% >NUL 2>NUL | |
| if errorlevel 9009 ( | |
| echo. | |
| echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | |
| echo.installed, then set the SPHINXBUILD environment variable to point | |
| echo.to the full path of the 'sphinx-build' executable. Alternatively you | |
| echo.may add the Sphinx directory to PATH. | |
| echo. | |
| echo.If you don't have Sphinx installed, grab it from | |
| echo.https://www.sphinx-doc.org/ | |
| exit /b 1 | |
| ) | |
| if "%1" == "" goto help | |
| %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | |
| goto end | |
| :help | |
| %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | |
| :end | |
| popd | |