Downloads · 30 days
15
10% of all-time downloads
CristobalMe/TariffBERT
TariffBERT is a text classification model from CristobalMe. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
TariffBERT is a fine-tuned version of ProsusAI/finbert for financial sentiment analysis focused on tariff and trade-policy news. It classifies English-language text into Positive, Negative or Neutral sentiment toward…
Downloads · 30 days
15
10% of all-time downloads
All-time downloads
146
Public
Parameters
109M
438 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
TariffBERT is a fine-tuned version of ProsusAI/finbert for financial sentiment analysis focused on tariff and trade-policy news.
It classifies English-language text into Positive, Negative or Neutral sentiment toward tariff-related market impact.
pipeline("text-classification").Domain bias: Training data is tariff/trade news; performance may degrade on unrelated finance text.
Temporal drift: Model reflects market language up to its training cutoff SEPTEMBER 2025; newer policy jargon may be misclassified.
Geographic bias: Data may over-represent US trade discourse.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use confidence thresholds and human review in production.
Use the code below to get started with the model.
from transformers import pipeline
pipe = pipeline("text-classification", model="CristobalMe/TariffBERT")
text = "This is an example text for classification."
result = pipe(text)
print(result)
<!-- TO DO
## Training Details TO DO
### Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
<!--
[More Information Needed]
### Training Procedure
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
<!--
#### Preprocessing [optional]
[More Information Needed]
#### Training Hyperparameters
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
<!--
#### Speeds, Sizes, Times [optional]
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
<!--
[More Information Needed]
-->
<!--
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
<!--
### Testing Data, Factors & Metrics
#### Testing Data
<!-- This should link to a Dataset Card if possible. -->
Accuracy
Accuracy: 0.9
For questions or collaboration, email [email protected]
Or contact @CristobalMe