Instructions to use sgraham/ModernBERT_archae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sgraham/ModernBERT_archae with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="sgraham/ModernBERT_archae")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("sgraham/ModernBERT_archae") model = AutoModelForTokenClassification.from_pretrained("sgraham/ModernBERT_archae", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload ModernBertForTokenClassification
Verified signaturea2b69f0 -
Upload label_map.json with huggingface_hub
Verified signaturecee6770 -
Upload tokenizer
Verified signature7eca355 -
Upload ModernBertForTokenClassification
Verified signaturec6583ed -
Upload ModernBertForTokenClassification
Verified signatureaa17496 -
initial commit
Verified signaturec099239