Update README.md
Browse files
README.md
CHANGED
|
@@ -93,7 +93,7 @@ import re
|
|
| 93 |
|
| 94 |
model_name_or_path = "Rel8ed/cleantech-cls"
|
| 95 |
|
| 96 |
-
classifier = pipeline('text-classification', model=model_name_or_path)
|
| 97 |
|
| 98 |
def normalize(s, truncate=100):
|
| 99 |
s = s.replace("\n", " ")
|
|
|
|
| 93 |
|
| 94 |
model_name_or_path = "Rel8ed/cleantech-cls"
|
| 95 |
|
| 96 |
+
classifier = pipeline('text-classification', model=model_name_or_path, max_length=512)
|
| 97 |
|
| 98 |
def normalize(s, truncate=100):
|
| 99 |
s = s.replace("\n", " ")
|