justin13barrett
commited on
Commit
•
76f7255
1
Parent(s):
11d4139
Update README.md
Browse files
README.md
CHANGED
@@ -27,8 +27,15 @@ That repository will also contain information about text preprocessing, modeling
|
|
27 |
|
28 |
The model was trained using the following input data format (so it is recommended the data be in this format as well):
|
29 |
|
|
|
30 |
"\<TITLE\> {insert-processed-title-here}\n\<ABSTRACT\> {insert-processed-abstract-here}"
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
The quickest way to use this model in Python is with the following code (assuming you have the transformers library installed):
|
33 |
|
34 |
```
|
|
|
27 |
|
28 |
The model was trained using the following input data format (so it is recommended the data be in this format as well):
|
29 |
|
30 |
+
Using both title and abstract:
|
31 |
"\<TITLE\> {insert-processed-title-here}\n\<ABSTRACT\> {insert-processed-abstract-here}"
|
32 |
|
33 |
+
Using only title:
|
34 |
+
"\<TITLE\> {insert-processed-title-here}"
|
35 |
+
|
36 |
+
Using only abstract:
|
37 |
+
"\<TITLE\> NONE\n\<ABSTRACT\> {insert-processed-abstract-here}"
|
38 |
+
|
39 |
The quickest way to use this model in Python is with the following code (assuming you have the transformers library installed):
|
40 |
|
41 |
```
|