Update README.md
Browse files
README.md
CHANGED
|
@@ -19,7 +19,7 @@ This was fine-tuned on the [UtkMl's Twitter Spam Detection dataset](https://www.
|
|
| 19 |
|
| 20 |
Here is some source code to get you started on using the model to classify spam Tweets.
|
| 21 |
|
| 22 |
-
```
|
| 23 |
def classify_texts(df, text_col, model_path="cja5553/deberta-Twitter-spam-classification", batch_size=24):
|
| 24 |
'''
|
| 25 |
Classifies texts as either "Quality" or "Spam" using a pre-trained sequence classification model.
|
|
|
|
| 19 |
|
| 20 |
Here is some source code to get you started on using the model to classify spam Tweets.
|
| 21 |
|
| 22 |
+
```python
|
| 23 |
def classify_texts(df, text_col, model_path="cja5553/deberta-Twitter-spam-classification", batch_size=24):
|
| 24 |
'''
|
| 25 |
Classifies texts as either "Quality" or "Spam" using a pre-trained sequence classification model.
|