Upload v2 of URL classifier model
Browse filesTraining Metrics:
- Eval Loss: 0.033418405801057816
- Eval F1: 0.9921365145524408
- README.md +4 -23
- config.json +1 -9
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -9,10 +9,10 @@ tags:
|
|
| 9 |
- domain-classification
|
| 10 |
pipeline_tag: text-classification
|
| 11 |
widget:
|
| 12 |
-
- text:
|
| 13 |
-
- text:
|
| 14 |
-
- text:
|
| 15 |
-
- text:
|
| 16 |
datasets:
|
| 17 |
- custom
|
| 18 |
metrics:
|
|
@@ -20,25 +20,6 @@ metrics:
|
|
| 20 |
- f1
|
| 21 |
- precision
|
| 22 |
- recall
|
| 23 |
-
model-index:
|
| 24 |
-
- name: urlbert-url-classifier
|
| 25 |
-
results:
|
| 26 |
-
- task:
|
| 27 |
-
type: text-classification
|
| 28 |
-
name: URL Classification
|
| 29 |
-
metrics:
|
| 30 |
-
- type: accuracy
|
| 31 |
-
value: 0.99
|
| 32 |
-
name: Test Accuracy
|
| 33 |
-
- type: f1
|
| 34 |
-
value: 0.99
|
| 35 |
-
name: Test F1 Score
|
| 36 |
-
- type: precision
|
| 37 |
-
value: 0.99
|
| 38 |
-
name: Test Precision
|
| 39 |
-
- type: recall
|
| 40 |
-
value: 0.99
|
| 41 |
-
name: Test Recall
|
| 42 |
---
|
| 43 |
|
| 44 |
# URL Classifier
|
|
|
|
| 9 |
- domain-classification
|
| 10 |
pipeline_tag: text-classification
|
| 11 |
widget:
|
| 12 |
+
- text: https://acmewidgets.com
|
| 13 |
+
- text: https://store.myshopify.com
|
| 14 |
+
- text: https://example.wixsite.com/store
|
| 15 |
+
- text: https://business.com
|
| 16 |
datasets:
|
| 17 |
- custom
|
| 18 |
metrics:
|
|
|
|
| 20 |
- f1
|
| 21 |
- precision
|
| 22 |
- recall
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
# URL Classifier
|
config.json
CHANGED
|
@@ -9,22 +9,14 @@
|
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
-
"id2label": {
|
| 13 |
-
"0": "official_website",
|
| 14 |
-
"1": "platform"
|
| 15 |
-
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
-
"label2id": {
|
| 19 |
-
"official_website": 0,
|
| 20 |
-
"platform": 1
|
| 21 |
-
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
"max_position_embeddings": 512,
|
| 24 |
"model_type": "bert",
|
| 25 |
"num_attention_heads": 12,
|
| 26 |
"num_hidden_layers": 12,
|
| 27 |
-
"pad_token_id":
|
| 28 |
"position_embedding_type": "absolute",
|
| 29 |
"problem_type": "single_label_classification",
|
| 30 |
"transformers_version": "4.57.0",
|
|
|
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"layer_norm_eps": 1e-12,
|
| 15 |
"max_position_embeddings": 512,
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
"num_hidden_layers": 12,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
"position_embedding_type": "absolute",
|
| 21 |
"problem_type": "single_label_classification",
|
| 22 |
"transformers_version": "4.57.0",
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 442499064
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:794e1e525e855085c30816b103992ff17a3d6b1363c30b897aca719ea81f0c74
|
| 3 |
size 442499064
|