Update README.md
Browse files
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
|
| 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(
|
| 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
|