justin13barrett commited on
Commit
7856c77
1 Parent(s): 3b35279

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -44,7 +44,7 @@ title = "{insert-processed-title-here}"
44
  abstract = "{insert-processed-abstract-here}"
45
 
46
  classifier = \
47
- pipeline(model="OpenAlex/bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract", top_k=10)
48
 
49
  classifier(f"""<TITLE> {title}\n<ABSTRACT> {abstract}""")
50
  ```
 
44
  abstract = "{insert-processed-abstract-here}"
45
 
46
  classifier = \
47
+ pipeline(model="OpenAlex/bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract", top_k=10, "truncation":True,"max_length":512)
48
 
49
  classifier(f"""<TITLE> {title}\n<ABSTRACT> {abstract}""")
50
  ```