Commit
·
2f80cb6
1
Parent(s):
e7fffa7
Update README.md
Browse files
README.md
CHANGED
@@ -29,9 +29,10 @@ Import BERTsent from the transformers library:
|
|
29 |
|
30 |
model = TFAutoModelForSequenceClassification.from_pretrained("rabindralamsal/finetuned-bertweet-sentiment-analysis")
|
31 |
|
32 |
-
Import TensorFlow:
|
33 |
|
34 |
import tensorflow as tf
|
|
|
35 |
|
36 |
We have installed and imported everything that's needed for the sentiment analysis. Let's predict sentiment of an example tweet:
|
37 |
|
|
|
29 |
|
30 |
model = TFAutoModelForSequenceClassification.from_pretrained("rabindralamsal/finetuned-bertweet-sentiment-analysis")
|
31 |
|
32 |
+
Import TensorFlow and numpy:
|
33 |
|
34 |
import tensorflow as tf
|
35 |
+
import numpy as np
|
36 |
|
37 |
We have installed and imported everything that's needed for the sentiment analysis. Let's predict sentiment of an example tweet:
|
38 |
|