AfterRain007
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ CryptoBERTRefined is a fine tuned model from [CryptoBERT by Elkulako](https://hu
|
|
19 |
|
20 |
# Classification Example
|
21 |
Input:
|
22 |
-
```
|
23 |
!pip -q install transformers
|
24 |
from transformers import TextClassificationPipeline, AutoModelForSequenceClassification, AutoTokenizer
|
25 |
|
@@ -36,7 +36,7 @@ preds = pipe(df_posts)
|
|
36 |
print(preds)
|
37 |
```
|
38 |
Output:
|
39 |
-
```
|
40 |
[{'label': 'Neutral', 'score': 0.8427615165710449}, {'label': 'Bullish', 'score': 0.5444369912147522}, {'label': 'Bearish', 'score': 0.8388379812240601}]
|
41 |
```
|
42 |
|
|
|
19 |
|
20 |
# Classification Example
|
21 |
Input:
|
22 |
+
```python
|
23 |
!pip -q install transformers
|
24 |
from transformers import TextClassificationPipeline, AutoModelForSequenceClassification, AutoTokenizer
|
25 |
|
|
|
36 |
print(preds)
|
37 |
```
|
38 |
Output:
|
39 |
+
```python
|
40 |
[{'label': 'Neutral', 'score': 0.8427615165710449}, {'label': 'Bullish', 'score': 0.5444369912147522}, {'label': 'Bearish', 'score': 0.8388379812240601}]
|
41 |
```
|
42 |
|