howanching-clara commited on
Commit
14af5bf
1 Parent(s): 4dfb479

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -56,7 +56,7 @@ from transformers import pipeline
56
  classifier = pipeline("text-classification", model="howanching-clara/classifier_for_academic_texts", tokenizer="howanching-clara/classifier_for_academic_texts")
57
 
58
  # return output for all labels
59
- # eg. [[{'label': 'OUT OF SCOPE', 'score': 0.011086337268352509}, {'label': 'MAIN TEXT', 'score': 0.7917709350585938}, {'label': 'EXAMPLE', 'score': 0.1910761147737503}, {'label': 'REFERENCE', 'score': 0.0060666087083518505}]]
60
  # classifier = pipeline("text-classification", model="howanching-clara/classifier_for_academic_texts", tokenizer="howanching-clara/classifier_for_academic_texts", return_all_scores=True)
61
 
62
  # Perform inference on your input text
 
56
  classifier = pipeline("text-classification", model="howanching-clara/classifier_for_academic_texts", tokenizer="howanching-clara/classifier_for_academic_texts")
57
 
58
  # return output for all labels
59
+ # eg. [[{'label': 'OUT OF SCOPE', 'score': 0.007808608002960682}, {'label': 'MAIN TEXT', 'score': 0.028077520430088043}, {'label': 'EXAMPLE', 'score': 0.9601941108703613}, {'label': 'REFERENCE', 'score': 0.003919811453670263}]]
60
  # classifier = pipeline("text-classification", model="howanching-clara/classifier_for_academic_texts", tokenizer="howanching-clara/classifier_for_academic_texts", return_all_scores=True)
61
 
62
  # Perform inference on your input text