kenbaker-gif commited on
Commit
74eb171
·
verified ·
1 Parent(s): 7b5c64c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -101,7 +101,7 @@ print(result)
101
 
102
  - Performance on languages other than English is not guaranteed
103
 
104
- - Not tested on long-form text or other messaging platforms (email, social media)
105
 
106
  <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
107
 
@@ -159,7 +159,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipe
159
 
160
  # Load model and tokenizer
161
  model_name = "kenbaker-gif/Email-Spam-Classifier"
162
- tokenizer = AutoTokenizer.from_pretrained(model_name)
163
  model = AutoModelForSequenceClassification.from_pretrained(Email_Spam_Classifier)
164
 
165
  # Create pipeline
 
101
 
102
  - Performance on languages other than English is not guaranteed
103
 
104
+ - Not tested on long-form words like messaging platforms (social media)
105
 
106
  <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
107
 
 
159
 
160
  # Load model and tokenizer
161
  model_name = "kenbaker-gif/Email-Spam-Classifier"
162
+ tokenizer = AutoTokenizer.from_pretrained(Email_Spam_Classifier)
163
  model = AutoModelForSequenceClassification.from_pretrained(Email_Spam_Classifier)
164
 
165
  # Create pipeline