Instructions to use Tasfiya025/FinancialSentimentAnalyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tasfiya025/FinancialSentimentAnalyzer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tasfiya025/FinancialSentimentAnalyzer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tasfiya025/FinancialSentimentAnalyzer") model = AutoModelForSequenceClassification.from_pretrained("Tasfiya025/FinancialSentimentAnalyzer") - Notebooks
- Google Colab
- Kaggle
Create tokenizer_config.json
Browse files- tokenizer_config.json +10 -0
tokenizer_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_lower_case": true,
|
| 3 |
+
"model_max_length": 512,
|
| 4 |
+
"tokenizer_class": "BertTokenizer",
|
| 5 |
+
"unk_token": "[UNK]",
|
| 6 |
+
"sep_token": "[SEP]",
|
| 7 |
+
"pad_token": "[PAD]",
|
| 8 |
+
"cls_token": "[CLS]",
|
| 9 |
+
"mask_token": "[MASK]"
|
| 10 |
+
}
|