How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="pdjohn/C-BERT-Zero")
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("pdjohn/C-BERT-Zero")
model = AutoModelForTokenClassification.from_pretrained("pdjohn/C-BERT-Zero", device_map="auto")
Quick Links

CBERT-Zero

A prototype to extract Causal Roles (CAUSE, EFFECT and INDICATOR) in German Sentences.

Notice: A newer model with relation classification is available here.

Details

Model Description

Model Sources

Downloads last month
10
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including pdjohn/C-BERT-Zero