BerserkerMother
commited on
Commit
•
034c93b
1
Parent(s):
89ae168
Upload 6 files
Browse files- config.json +64 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 384,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Rating",
|
15 |
+
"2": "I-Rating",
|
16 |
+
"3": "B-Amenity",
|
17 |
+
"4": "I-Amenity",
|
18 |
+
"5": "B-Location",
|
19 |
+
"6": "I-Location",
|
20 |
+
"7": "B-Restaurant_Name",
|
21 |
+
"8": "I-Restaurant_Name",
|
22 |
+
"9": "B-Price",
|
23 |
+
"10": "B-Hours",
|
24 |
+
"11": "I-Hours",
|
25 |
+
"12": "B-Dish",
|
26 |
+
"13": "I-Dish",
|
27 |
+
"14": "B-Cuisine",
|
28 |
+
"15": "I-Price",
|
29 |
+
"16": "I-Cuisine"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 1536,
|
33 |
+
"label2id": {
|
34 |
+
"B-Amenity": 3,
|
35 |
+
"B-Cuisine": 14,
|
36 |
+
"B-Dish": 12,
|
37 |
+
"B-Hours": 10,
|
38 |
+
"B-Location": 5,
|
39 |
+
"B-Price": 9,
|
40 |
+
"B-Rating": 1,
|
41 |
+
"B-Restaurant_Name": 7,
|
42 |
+
"I-Amenity": 4,
|
43 |
+
"I-Cuisine": 16,
|
44 |
+
"I-Dish": 13,
|
45 |
+
"I-Hours": 11,
|
46 |
+
"I-Location": 6,
|
47 |
+
"I-Price": 15,
|
48 |
+
"I-Rating": 2,
|
49 |
+
"I-Restaurant_Name": 8,
|
50 |
+
"O": 0
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-12,
|
53 |
+
"max_position_embeddings": 512,
|
54 |
+
"model_type": "bert",
|
55 |
+
"num_attention_heads": 12,
|
56 |
+
"num_hidden_layers": 6,
|
57 |
+
"pad_token_id": 0,
|
58 |
+
"position_embedding_type": "absolute",
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.30.2",
|
61 |
+
"type_vocab_size": 2,
|
62 |
+
"use_cache": true,
|
63 |
+
"vocab_size": 30522
|
64 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5799cf59b626015741d6ac18f89720cd96c0bf600fc163ec60466db13bcbda5d
|
3 |
+
size 90325681
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": true,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 512,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|