C-BERT
Collection
2 items
•
Updated
CausalBERT (CBERT) is a multi-task fine-tuned German BERT that extracts causal attributions.
Find the custom library. Once installed, run inference like so:
from transformers import AutoTokenizer
from causalbert.infer import load_model, analyze_sentence_with_confidence
model, tokenizer, config, device = load_model("norygano/C-BERT")
result = analyze_sentence_with_confidence(
model, tokenizer, config, "Autoverkehr verursacht Bienensterben.", []
)
google-bert/bert-base-german-cased
Base model
google-bert/bert-base-german-cased