Token Classification
Transformers
Safetensors
German
eurobert
legal
german
ner
citations
legal-reference-extraction
custom_code
Instructions to use openlegaldata/legal-reference-extraction-base-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openlegaldata/legal-reference-extraction-base-de with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="openlegaldata/legal-reference-extraction-base-de", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("openlegaldata/legal-reference-extraction-base-de", trust_remote_code=True) model = AutoModelForTokenClassification.from_pretrained("openlegaldata/legal-reference-extraction-base-de", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Gated model You can list files but not access them
Preview of files found in this repository