Instructions to use LofiAmazon/BarcodeBERT-Entire-BOLD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LofiAmazon/BarcodeBERT-Entire-BOLD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="LofiAmazon/BarcodeBERT-Entire-BOLD")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("LofiAmazon/BarcodeBERT-Entire-BOLD") model = AutoModelForMaskedLM.from_pretrained("LofiAmazon/BarcodeBERT-Entire-BOLD") - Notebooks
- Google Colab
- Kaggle
Improve model card: add pipeline tag, library name, and link to code
#1
by nielsr HF Staff - opened
This PR improves the model card for BarcodeBERT by:
- Adding
pipeline_tag: feature-extractionto make the model discoverable for this task at https://huggingface.co/models?pipeline_tag=feature-extraction. - Adding
library_name: transformersto ensure the "Use in Transformers" widget appears on the model page, providing clear usage instructions. - Adding a direct link to the associated GitHub repository (
https://github.com/bioscan-ml/BarcodeBERT) for easier access to the code and reproduction steps.