Feature Extraction
Transformers
PyTorch
Safetensors
English
bert
token-classification
text-embeddings-inference
Instructions to use bioscan-ml/BarcodeBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bioscan-ml/BarcodeBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="bioscan-ml/BarcodeBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("bioscan-ml/BarcodeBERT") model = AutoModelForTokenClassification.from_pretrained("bioscan-ml/BarcodeBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add pipeline tag, library name, and links to paper and code
Browse filesThis PR improves the model card by:
- Adding the `pipeline_tag: feature-extraction`, ensuring the model can be found at https://huggingface.co/models?pipeline_tag=feature-extraction.
- Adding the `library_name: transformers`, which enables the "how to use" widget on the model page.
- Adding a direct link to the Hugging Face paper page: https://huggingface.co/papers/2311.02401.
- Adding a direct link to the GitHub repository for easier access to the code.
12345678910111247 unmodified lines60616263646566---license: mitlanguage:- en---# BarcodeBERT for Taxonomic ClassificationA pre-trained transformer model for inference on insect DNA barcoding data.[Colab](https://colab.research.google.com/drive/1MUEQVHIOX2ks7tLsMoQtNlbvsbSuYgs1)47 unmodified linesarchivePrefix={arXiv},primaryClass={cs.LG},doi={10.48550/arxiv.2311.02401},}1234567891011121314151647 unmodified lines64656667---language:- enlicense: mitpipeline_tag: feature-extractionlibrary_name: transformers---# BarcodeBERT for Taxonomic ClassificationA pre-trained transformer model for inference on insect DNA barcoding data, as presented in the paper [BarcodeBERT: Transformers for Biodiversity Analysis](https://huggingface.co/papers/2311.02401).Code: https://github.com/bioscan-ml/BarcodeBERT[Colab](https://colab.research.google.com/drive/1MUEQVHIOX2ks7tLsMoQtNlbvsbSuYgs1)47 unmodified linesarchivePrefix={arXiv},primaryClass={cs.LG},doi={10.48550/arxiv.2311.02401},}
README.md+7-6