Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
-
|
5 |
from transformers import RobertaForSequenceClassification, RobertaTokenizer
|
6 |
from transformers import pipeline
|
7 |
import pandas as pd
|
@@ -18,4 +18,4 @@ sentences = pd.Series(["there is a shortage of capital, and we need extra financ
|
|
18 |
sentences = list(sentences.apply(process_text))
|
19 |
results = nlp(sentences)
|
20 |
print(results)
|
21 |
-
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
```python
|
5 |
from transformers import RobertaForSequenceClassification, RobertaTokenizer
|
6 |
from transformers import pipeline
|
7 |
import pandas as pd
|
|
|
18 |
sentences = list(sentences.apply(process_text))
|
19 |
results = nlp(sentences)
|
20 |
print(results)
|
21 |
+
'''
|