Mayank11207 commited on
Commit
9ee5fbd
·
verified ·
1 Parent(s): 9c75a32

Upload 4 files

Browse files
backend/models/scamdetect-finetuned/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "bos_token_id": null,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "dtype": "float32",
11
+ "eos_token_id": null,
12
+ "hidden_dim": 3072,
13
+ "id2label": {
14
+ "0": "benign",
15
+ "1": "phishing",
16
+ "2": "upi_fraud",
17
+ "3": "investment_scam"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "benign": 0,
22
+ "investment_scam": 3,
23
+ "phishing": 1,
24
+ "upi_fraud": 2
25
+ },
26
+ "max_position_embeddings": 512,
27
+ "model_type": "distilbert",
28
+ "n_heads": 12,
29
+ "n_layers": 6,
30
+ "pad_token_id": 0,
31
+ "problem_type": "single_label_classification",
32
+ "qa_dropout": 0.1,
33
+ "seq_classif_dropout": 0.2,
34
+ "sinusoidal_pos_embds": false,
35
+ "tie_weights_": true,
36
+ "tie_word_embeddings": true,
37
+ "transformers_version": "5.3.0",
38
+ "use_cache": false,
39
+ "vocab_size": 30522
40
+ }
backend/models/scamdetect-finetuned/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:859ce8c26878f233e0debf5686c1c2deb89ea600569ec0e73f7531f7a2e90793
3
+ size 267838720
backend/models/scamdetect-finetuned/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
backend/models/scamdetect-finetuned/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "BertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }