Instructions to use phishbot/Isitphish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phishbot/Isitphish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="phishbot/Isitphish")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("phishbot/Isitphish") model = AutoModelForSequenceClassification.from_pretrained("phishbot/Isitphish") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -4
config.json
CHANGED
|
@@ -3,10 +3,6 @@
|
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
| 6 |
-
"id2label": [
|
| 7 |
-
"Benign",
|
| 8 |
-
"Phishing"
|
| 9 |
-
],
|
| 10 |
"attention_probs_dropout_prob": 0.1,
|
| 11 |
"bos_token_id": 0,
|
| 12 |
"classifier_dropout": null,
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
| 8 |
"classifier_dropout": null,
|