expertai/BUSTER
Viewer • Updated • 9.98k • 314 • 5
How to use whataboutyou-ai/financial_bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="whataboutyou-ai/financial_bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("whataboutyou-ai/financial_bert")
model = AutoModelForTokenClassification.from_pretrained("whataboutyou-ai/financial_bert")This model is a fine-tuned version of bert-base-uncased on the BUSTER dataset. This model is ready to use for Named Entity Recognition (NER).
It achieves the following results on the evaluation set:
More information needed
More information needed
This model was fine-tuned on the BUSTER dataset.
The training dataset distinguishes between the beginning and continuation of an entity so that if there are back-to-back entities of the same type, the model can output where the second entity begins. As in the dataset, each token will be classified as one of the following classes:
| Entity | Description |
|---|---|
| O | Outside of a named entity |
| B-Generic_Info.ANNUAL_REVENUES | Beginning of annual revenues entity |
| I-Generic_Info.ANNUAL_REVENUES | Continuation of annual revenues entity |
| B-Parties.ACQUIRED_COMPANY | Beginning of acquired company entity |
| I-Parties.ACQUIRED_COMPANY | Continuation of acquired company entity |
| B-Parties.BUYING_COMPANY | Beginning of buying company entity |
| I-Parties.BUYING_COMPANY | Continuation of buying company entity |
| B-Parties.SELLING_COMPANY | Beginning of selling company entity |
| I-Parties.SELLING_COMPANY | Continuation of selling company entity |
| B-Advisors.GENERIC_CONSULTING_COMPANY | Beginning of generic consulting company entity |
| I-Advisors.GENERIC_CONSULTING_COMPANY | Continuation of generic consulting company entity |
| B-Advisors.LEGAL_CONSULTING_COMPANY | Beginning of legal consulting company entity |
| I-Advisors.LEGAL_CONSULTING_COMPANY | Continuation of legal consulting company entity |
The following hyperparameters were used during training:
Base model
google-bert/bert-base-uncased