Instructions to use PleIAs/Bibstyle-Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PleIAs/Bibstyle-Detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PleIAs/Bibstyle-Detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PleIAs/Bibstyle-Detector") model = AutoModelForSequenceClassification.from_pretrained("PleIAs/Bibstyle-Detector") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("PleIAs/Bibstyle-Detector")
model = AutoModelForSequenceClassification.from_pretrained("PleIAs/Bibstyle-Detector")Quick Links
Bibstyle-Detector is small language model specialized for the detection of bibliographic style in bibliographic list.
Given a bibliographic entry, Bibstyle-Detector will estimate the most likely style among the 125 most popular styles on Zotero CSL repository.
Like all models published among PleIAs Bad Data Toolbox, Bibstyle-Detector has been volontarily trained on challenging document with a variety of formatting issues. Most of the training corpus comes from the Science-Pile (to be released).
Example
- Downloads last month
- 3
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PleIAs/Bibstyle-Detector")