Feature Extraction
Transformers
Safetensors
English
bert
fill-mask
biomedical
retromae
dense-retrieval
pubmed
text-embeddings-inference
Instructions to use bioformers/Bioformer-8L-RetroMAE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bioformers/Bioformer-8L-RetroMAE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="bioformers/Bioformer-8L-RetroMAE")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("bioformers/Bioformer-8L-RetroMAE") model = AutoModelForMaskedLM.from_pretrained("bioformers/Bioformer-8L-RetroMAE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from bioformers/Bioformer-8L-RetroMAE: direct link, hf CLI and curl.
- Browser
- Download file 764 kB
-
https://huggingface.co/bioformers/Bioformer-8L-RetroMAE/resolve/main/tokenizer.json
- Command line
-
hf download hf://bioformers/Bioformer-8L-RetroMAE/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/bioformers/Bioformer-8L-RetroMAE/resolve/main/tokenizer.json
764 kB
File too large to display, you can check the raw version instead.