Downloads · 30 days
0
Wonseong/dissim-finbert-fomc
dissim-finbert-fomc is a text classification model from Wonseong. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
DisSim-FinBERT-FOMC is a discourse-guided sentiment pipeline for complex FOMC-style text. It first extracts level-0 nucleus clauses from a sentence and then runs sentiment classification on those nucleus clauses inste…
Downloads · 30 days
0
Access
Public
Updated Apr 17, 2026
Repo size
149 KB
Likes
0
Public
Click a slice to open those files.
.png131 KB · 78%
From the Hugging Face model README
DisSim-FinBERT-FOMC is a discourse-guided sentiment pipeline for complex FOMC-style text. It first extracts level-0 nucleus clauses from a sentence and then runs sentiment classification on those nucleus clauses instead of on the full sentence. *DisSim Git: https://github.com/Lambda-3/DiscourseSimplification
This repository is a pipeline wrapper around ZiweiChen/FinBERT-FOMC. It is not a standalone checkpoint release with bundled model weights in this repo.
If the Hugging Face model cannot be loaded, the package falls back to a lightweight mock backend unless you explicitly force the Hugging Face backend.
Original sentence
-> normalization
-> clause segmentation
-> cue-based discourse relation classification
-> nucleus scoring
-> level-0 nucleus extraction
-> FinBERT-FOMC sentiment inference
-> sentence-level aggregation
pip install -e .
from dissim_finbert_fomc import DisSimFinBERTFOMC
text = (
"Although inflation has eased somewhat, it remains elevated "
"and the Committee remains highly attentive to inflation risks."
)
pipe = DisSimFinBERTFOMC(
local_files_only=True,
backend_preference="mock",
flat_backend_preference="heuristic",
)
result = pipe.predict(text)
print(result["level0_nuclei"])
print(result["final_label"], result["final_score"])
python -m dissim_finbert_fomc.cli --text "Economic activity has continued to expand at a solid pace, but uncertainty about the outlook has increased." --backend mock --local-files-only
python -m dissim_finbert_fomc.cli --input examples/test_sentences.json --output results.json --output-format json --backend mock --local-files-only
python -m dissim_finbert_fomc.cli --input examples/test_sentences.json --output output_flat.csv --output-format flat-csv --backend mock --flat-backend heuristic --local-files-only
Supported input formats:
.json.jsonl.txtSupported output formats:
jsonjsonlflat-csvpredict() returns:
This card intentionally does not publish benchmark tables or charts in the absence of versioned evaluation artifacts inside this repository. If you want to publish model-quality claims here, add the exact evaluation dataset, script, and result files first.
ZiweiChen/FinBERT-FOMC model unless you use the mock backend.Kim, W., Niklaus, C., Lee, C. L., & Handschuh, S. (2025). DisSim-FinBERT: Text Simplification for Core Message Extraction in Complex Financial Texts. arXiv:2501.04959.