Instructions to use dmis-lab/biosyn-biobert-bc2gn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dmis-lab/biosyn-biobert-bc2gn with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="dmis-lab/biosyn-biobert-bc2gn")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("dmis-lab/biosyn-biobert-bc2gn") model = AutoModel.from_pretrained("dmis-lab/biosyn-biobert-bc2gn", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sparse_encoder.pk from dmis-lab/biosyn-biobert-bc2gn: direct link, hf CLI and curl.
- Browser
- Download file 68.5 kB
-
https://huggingface.co/dmis-lab/biosyn-biobert-bc2gn/resolve/refs%2Fpr%2F1/sparse_encoder.pk
- Command line
-
hf download hf://dmis-lab/biosyn-biobert-bc2gn@refs/pr/1/sparse_encoder.pk
-
curl -L -o sparse_encoder.pk https://huggingface.co/dmis-lab/biosyn-biobert-bc2gn/resolve/refs%2Fpr%2F1/sparse_encoder.pk
68.5 kB
This file contains binary data. It cannot be displayed, but you can still download it.