snoneeightfive
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -37,9 +37,8 @@ from transformers import pipeline
|
|
37 |
|
38 |
pipe = pipeline("text-classification", model="snoneeightfive/luna-sentiment-analysis")
|
39 |
pipe("Defense stocks are steadily rising ") # Your financial headline
|
40 |
-
|
41 |
-
|
42 |
-
[{'label': 'positive', 'score': 0.6553508639335632}]
|
43 |
```
|
44 |
|
45 |
# Use a pipeline as a high-level helper
|
|
|
37 |
|
38 |
pipe = pipeline("text-classification", model="snoneeightfive/luna-sentiment-analysis")
|
39 |
pipe("Defense stocks are steadily rising ") # Your financial headline
|
40 |
+
|
41 |
+
[{'label': 'positive', 'score': 0.6553508639335632}] # Example output
|
|
|
42 |
```
|
43 |
|
44 |
# Use a pipeline as a high-level helper
|