crown commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,10 +7,10 @@ Fine_tuning bert_base by a dataset classified by 20 clusters from Science Direct
|
|
| 7 |
|
| 8 |
|
| 9 |
# Use a pipeline as a high-level helper
|
| 10 |
-
|
|
|
|
|
|
|
| 11 |
from transformers import pipeline
|
| 12 |
classifier = pipeline("text-classification", model="xiaoxibing/paper_classify_fine_tuning_bert")
|
| 13 |
-
classifier("""The Growing Role of Digital Health Tools in the Care of Patients with Cancer: Current Use, Future Opportunities, and Barriers to Effective Implementation
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
'''
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
# Use a pipeline as a high-level helper
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
```
|
| 13 |
from transformers import pipeline
|
| 14 |
classifier = pipeline("text-classification", model="xiaoxibing/paper_classify_fine_tuning_bert")
|
| 15 |
+
classifier("""The Growing Role of Digital Health Tools in the Care of Patients with Cancer: Current Use, Future Opportunities, and Barriers to Effective Implementation""")
|
| 16 |
+
```
|
|
|
|
|
|