From 2afee76bf25e1c5940ef12b1f5b083a838ddd017 Mon Sep 17 00:00:00 2001 From: Yi Date: Sun, 1 Aug 2021 08:55:27 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6fdb61d..c3d1ffe 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ More details on `FinBERT`: [Click Link](https://github.com/yya518/FinBERT) This released `finbert-tone` model is the `FinBERT` model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. If you are simply interested in using `FinBERT` for financial tone analysis, give it a try. -# How to use +# How to use You can use this model with Transformers pipeline for sentiment analysis. -``` +```python from transformers import BertTokenizer, BertForSequenceClassification from transformers import pipeline