Rel8ed commited on
Commit
f4863ec
1 Parent(s): 7269ad3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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", " ")