Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ classifier = pipeline(
|
|
| 38 |
task="text-classification",
|
| 39 |
model="niksmer/ManiBERT")
|
| 40 |
# Load text data you want to classify
|
| 41 |
-
text = pd.read_csv("example.csv")["text_you_want_to_classify"].
|
| 42 |
# Inference
|
| 43 |
output = classifier(text)
|
| 44 |
# Print output
|
|
|
|
| 38 |
task="text-classification",
|
| 39 |
model="niksmer/ManiBERT")
|
| 40 |
# Load text data you want to classify
|
| 41 |
+
text = pd.read_csv("example.csv")["text_you_want_to_classify"].to_list()
|
| 42 |
# Inference
|
| 43 |
output = classifier(text)
|
| 44 |
# Print output
|