Commit
·
5d1d84e
1
Parent(s):
6c94f17
End of training
Browse files- .gitignore +1 -0
- config.json +83 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
+
"activation": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForSequenceClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "fruit",
|
| 13 |
+
"1": "roots & tubers",
|
| 14 |
+
"2": "milk",
|
| 15 |
+
"3": "grain products",
|
| 16 |
+
"4": "condiments & snacks",
|
| 17 |
+
"5": "beverages",
|
| 18 |
+
"6": "beef",
|
| 19 |
+
"7": "turkey & other poultry",
|
| 20 |
+
"8": "meals",
|
| 21 |
+
"9": "pork",
|
| 22 |
+
"10": "milk & dairy",
|
| 23 |
+
"11": "fish (wild)",
|
| 24 |
+
"12": "legumes",
|
| 25 |
+
"13": "chicken",
|
| 26 |
+
"14": "cheese",
|
| 27 |
+
"15": "eggs",
|
| 28 |
+
"16": "non-food",
|
| 29 |
+
"17": "tree nuts & seeds",
|
| 30 |
+
"18": "meat",
|
| 31 |
+
"19": "vegetables",
|
| 32 |
+
"20": "seafood",
|
| 33 |
+
"21": "fish (farm-raised)",
|
| 34 |
+
"22": "yogurt",
|
| 35 |
+
"23": "rice",
|
| 36 |
+
"24": "butter",
|
| 37 |
+
"25": "bread",
|
| 38 |
+
"26": "produce"
|
| 39 |
+
},
|
| 40 |
+
"initializer_range": 0.02,
|
| 41 |
+
"label2id": {
|
| 42 |
+
"beef": 6,
|
| 43 |
+
"beverages": 5,
|
| 44 |
+
"bread": 25,
|
| 45 |
+
"butter": 24,
|
| 46 |
+
"cheese": 14,
|
| 47 |
+
"chicken": 13,
|
| 48 |
+
"condiments & snacks": 4,
|
| 49 |
+
"eggs": 15,
|
| 50 |
+
"fish (farm-raised)": 21,
|
| 51 |
+
"fish (wild)": 11,
|
| 52 |
+
"fruit": 0,
|
| 53 |
+
"grain products": 3,
|
| 54 |
+
"legumes": 12,
|
| 55 |
+
"meals": 8,
|
| 56 |
+
"meat": 18,
|
| 57 |
+
"milk": 2,
|
| 58 |
+
"milk & dairy": 10,
|
| 59 |
+
"non-food": 16,
|
| 60 |
+
"pork": 9,
|
| 61 |
+
"produce": 26,
|
| 62 |
+
"rice": 23,
|
| 63 |
+
"roots & tubers": 1,
|
| 64 |
+
"seafood": 20,
|
| 65 |
+
"tree nuts & seeds": 17,
|
| 66 |
+
"turkey & other poultry": 7,
|
| 67 |
+
"vegetables": 19,
|
| 68 |
+
"yogurt": 22
|
| 69 |
+
},
|
| 70 |
+
"max_position_embeddings": 512,
|
| 71 |
+
"model_type": "distilbert",
|
| 72 |
+
"n_heads": 12,
|
| 73 |
+
"n_layers": 6,
|
| 74 |
+
"pad_token_id": 0,
|
| 75 |
+
"problem_type": "single_label_classification",
|
| 76 |
+
"qa_dropout": 0.1,
|
| 77 |
+
"seq_classif_dropout": 0.2,
|
| 78 |
+
"sinusoidal_pos_embds": false,
|
| 79 |
+
"tie_weights_": true,
|
| 80 |
+
"torch_dtype": "float32",
|
| 81 |
+
"transformers_version": "4.28.0",
|
| 82 |
+
"vocab_size": 30522
|
| 83 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33ffcaa85b3a21fa93a725b1269e083702e6062387939aeb10a04764a3c788a2
|
| 3 |
+
size 267932397
|
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,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_up_tokenization_spaces": true,
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"mask_token": "[MASK]",
|
| 6 |
+
"model_max_length": 512,
|
| 7 |
+
"pad_token": "[PAD]",
|
| 8 |
+
"sep_token": "[SEP]",
|
| 9 |
+
"strip_accents": null,
|
| 10 |
+
"tokenize_chinese_chars": true,
|
| 11 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 12 |
+
"unk_token": "[UNK]"
|
| 13 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:139de3d3011db1c6f0b8a4af30c8f51e034f4b1dd279df22adfa719b0cd64bd3
|
| 3 |
+
size 3579
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|