upload phobert
Browse files- phobert-fintuned/__huggingface_repos__.json +1 -0
- phobert-fintuned/phobert/added_tokens.json +3 -0
- phobert-fintuned/phobert/bpe.codes +0 -0
- phobert-fintuned/phobert/config.json +186 -0
- phobert-fintuned/phobert/model.safetensors +3 -0
- phobert-fintuned/phobert/special_tokens_map.json +9 -0
- phobert-fintuned/phobert/tokenizer_config.json +55 -0
- phobert-fintuned/phobert/training_args.bin +3 -0
- phobert-fintuned/phobert/vocab.txt +0 -0
phobert-fintuned/__huggingface_repos__.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"repos": [{"repoId": "vinai/phobert-base-v2", "repoType": "model", "commitHash": "e2375d266bdf39c6e8e9a87af16a5da3190b0cc8", "filePaths": ["vocab.txt", "config.json", "pytorch_model.bin", "bpe.codes", "tokenizer.json"]}, {"repoId": "vinai/phobert-base-v2", "repoType": "model", "commitHash": "af5ac018e26d84d362ff74d1ea2140f201c50845", "filePaths": ["model.safetensors"]}]}
|
phobert-fintuned/phobert/added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<mask>": 64000
|
| 3 |
+
}
|
phobert-fintuned/phobert/bpe.codes
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
phobert-fintuned/phobert/config.json
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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out_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "balo",
|
| 14 |
+
"1": "b\u00e0n",
|
| 15 |
+
"2": "b\u00e0n ph\u00edm",
|
| 16 |
+
"3": "b\u00e0n ph\u00edm r\u1eddi",
|
| 17 |
+
"4": "b\u00e0n \u0103n",
|
| 18 |
+
"5": "b\u00ecnh gi\u1eef nhi\u1ec7t",
|
| 19 |
+
"6": "b\u00fat",
|
| 20 |
+
"7": "b\u01a1m n\u01b0\u1edbc",
|
| 21 |
+
"8": "b\u1ebfp t\u1eeb",
|
| 22 |
+
"9": "b\u1ebfp \u0111i\u1ec7n",
|
| 23 |
+
"10": "camera",
|
| 24 |
+
"11": "camera h\u00e0nh tr\u00ecnh",
|
| 25 |
+
"12": "chu\u1ed9t",
|
| 26 |
+
"13": "chu\u1ed9t m\u00e1y t\u00ednh",
|
| 27 |
+
"14": "c\u1ed1c gi\u1eef nhi\u1ec7t",
|
| 28 |
+
"15": "ebook reader",
|
| 29 |
+
"16": "gh\u1ebf",
|
| 30 |
+
"17": "gh\u1ebf gaming",
|
| 31 |
+
"18": "gh\u1ebf sofa",
|
| 32 |
+
"19": "gi\u00e0y",
|
| 33 |
+
"20": "gi\u00e0y th\u1ec3 thao",
|
| 34 |
+
"21": "k\u1ec7 gi\u00e0y",
|
| 35 |
+
"22": "laptop",
|
| 36 |
+
"23": "loa",
|
| 37 |
+
"24": "loa desktop",
|
| 38 |
+
"25": "loa soundbar",
|
| 39 |
+
"26": "m\u00e1y gi\u1eb7t",
|
| 40 |
+
"27": "m\u00e1y gi\u1eb7t c\u1eeda tr\u01b0\u1edbc",
|
| 41 |
+
"28": "m\u00e1y h\u00fat b\u1ee5i",
|
| 42 |
+
"29": "m\u00e1y h\u00fat b\u1ee5i mini",
|
| 43 |
+
"30": "m\u00e1y l\u1ea1nh",
|
| 44 |
+
"31": "m\u00e1y n\u01b0\u1edbc n\u00f3ng",
|
| 45 |
+
"32": "m\u00e1y pha c\u00e0 ph\u00ea",
|
| 46 |
+
"33": "m\u00e1y t\u00ednh x\u00e1ch tay",
|
| 47 |
+
"34": "m\u00e1y xay",
|
| 48 |
+
"35": "m\u00e1y \u00e9p",
|
| 49 |
+
"36": "m\u00e1y \u1ea3nh",
|
| 50 |
+
"37": "m\u0169 b\u1ea3o hi\u1ec3m",
|
| 51 |
+
"38": "m\u1ef9 ph\u1ea9m",
|
| 52 |
+
"39": "nh\u1ea1c c\u1ee5",
|
| 53 |
+
"40": "n\u01b0\u1edbc hoa",
|
| 54 |
+
"41": "n\u1ed3i chi\u00ean",
|
| 55 |
+
"42": "n\u1ed3i c\u01a1m",
|
| 56 |
+
"43": "n\u1ed3i c\u01a1m nh\u1ecf",
|
| 57 |
+
"44": "n\u1ed3i c\u01a1m \u0111i\u1ec7n",
|
| 58 |
+
"45": "n\u1ed9i th\u1ea5t",
|
| 59 |
+
"46": "other",
|
| 60 |
+
"47": "ph\u1ee5 ki\u1ec7n \u0111i\u1ec7n tho\u1ea1i",
|
| 61 |
+
"48": "qu\u1ea1t",
|
| 62 |
+
"49": "qu\u1ea7n",
|
| 63 |
+
"50": "sd card",
|
| 64 |
+
"51": "smart tivi",
|
| 65 |
+
"52": "son m\u00f4i",
|
| 66 |
+
"53": "s\u00e1ch",
|
| 67 |
+
"54": "s\u1ea1c d\u1ef1 ph\u00f2ng",
|
| 68 |
+
"55": "tablet",
|
| 69 |
+
"56": "tai nghe",
|
| 70 |
+
"57": "tivi",
|
| 71 |
+
"58": "trang s\u1ee9c",
|
| 72 |
+
"59": "t\u00fai x\u00e1ch",
|
| 73 |
+
"60": "t\u1ee7 l\u1ea1nh",
|
| 74 |
+
"61": "t\u1ee7 nh\u1ef1a",
|
| 75 |
+
"62": "t\u1ee7 \u0111\u00f4ng",
|
| 76 |
+
"63": "vali",
|
| 77 |
+
"64": "v\u00e1y",
|
| 78 |
+
"65": "v\u00e1y \u0111\u1ea7m",
|
| 79 |
+
"66": "watch automatic",
|
| 80 |
+
"67": "xe h\u01a1i",
|
| 81 |
+
"68": "xe m\u00e1y",
|
| 82 |
+
"69": "xe \u0111\u1ea1p",
|
| 83 |
+
"70": "\u00e1o",
|
| 84 |
+
"71": "\u00e1o thun",
|
| 85 |
+
"72": "\u0111i\u1ec1u h\u00f2a",
|
| 86 |
+
"73": "\u0111i\u1ec7n tho\u1ea1i",
|
| 87 |
+
"74": "\u0111\u1ed3ng h\u1ed3",
|
| 88 |
+
"75": "\u0111\u1ed3ng h\u1ed3 th\u00f4ng minh",
|
| 89 |
+
"76": "\u1ee7ng nh\u1ef1a"
|
| 90 |
+
},
|
| 91 |
+
"initializer_range": 0.02,
|
| 92 |
+
"intermediate_size": 3072,
|
| 93 |
+
"label2id": {
|
| 94 |
+
"balo": 0,
|
| 95 |
+
"b\u00e0n": 1,
|
| 96 |
+
"b\u00e0n ph\u00edm": 2,
|
| 97 |
+
"b\u00e0n ph\u00edm r\u1eddi": 3,
|
| 98 |
+
"b\u00e0n \u0103n": 4,
|
| 99 |
+
"b\u00ecnh gi\u1eef nhi\u1ec7t": 5,
|
| 100 |
+
"b\u00fat": 6,
|
| 101 |
+
"b\u01a1m n\u01b0\u1edbc": 7,
|
| 102 |
+
"b\u1ebfp t\u1eeb": 8,
|
| 103 |
+
"b\u1ebfp \u0111i\u1ec7n": 9,
|
| 104 |
+
"camera": 10,
|
| 105 |
+
"camera h\u00e0nh tr\u00ecnh": 11,
|
| 106 |
+
"chu\u1ed9t": 12,
|
| 107 |
+
"chu\u1ed9t m\u00e1y t\u00ednh": 13,
|
| 108 |
+
"c\u1ed1c gi\u1eef nhi\u1ec7t": 14,
|
| 109 |
+
"ebook reader": 15,
|
| 110 |
+
"gh\u1ebf": 16,
|
| 111 |
+
"gh\u1ebf gaming": 17,
|
| 112 |
+
"gh\u1ebf sofa": 18,
|
| 113 |
+
"gi\u00e0y": 19,
|
| 114 |
+
"gi\u00e0y th\u1ec3 thao": 20,
|
| 115 |
+
"k\u1ec7 gi\u00e0y": 21,
|
| 116 |
+
"laptop": 22,
|
| 117 |
+
"loa": 23,
|
| 118 |
+
"loa desktop": 24,
|
| 119 |
+
"loa soundbar": 25,
|
| 120 |
+
"m\u00e1y gi\u1eb7t": 26,
|
| 121 |
+
"m\u00e1y gi\u1eb7t c\u1eeda tr\u01b0\u1edbc": 27,
|
| 122 |
+
"m\u00e1y h\u00fat b\u1ee5i": 28,
|
| 123 |
+
"m\u00e1y h\u00fat b\u1ee5i mini": 29,
|
| 124 |
+
"m\u00e1y l\u1ea1nh": 30,
|
| 125 |
+
"m\u00e1y n\u01b0\u1edbc n\u00f3ng": 31,
|
| 126 |
+
"m\u00e1y pha c\u00e0 ph\u00ea": 32,
|
| 127 |
+
"m\u00e1y t\u00ednh x\u00e1ch tay": 33,
|
| 128 |
+
"m\u00e1y xay": 34,
|
| 129 |
+
"m\u00e1y \u00e9p": 35,
|
| 130 |
+
"m\u00e1y \u1ea3nh": 36,
|
| 131 |
+
"m\u0169 b\u1ea3o hi\u1ec3m": 37,
|
| 132 |
+
"m\u1ef9 ph\u1ea9m": 38,
|
| 133 |
+
"nh\u1ea1c c\u1ee5": 39,
|
| 134 |
+
"n\u01b0\u1edbc hoa": 40,
|
| 135 |
+
"n\u1ed3i chi\u00ean": 41,
|
| 136 |
+
"n\u1ed3i c\u01a1m": 42,
|
| 137 |
+
"n\u1ed3i c\u01a1m nh\u1ecf": 43,
|
| 138 |
+
"n\u1ed3i c\u01a1m \u0111i\u1ec7n": 44,
|
| 139 |
+
"n\u1ed9i th\u1ea5t": 45,
|
| 140 |
+
"other": 46,
|
| 141 |
+
"ph\u1ee5 ki\u1ec7n \u0111i\u1ec7n tho\u1ea1i": 47,
|
| 142 |
+
"qu\u1ea1t": 48,
|
| 143 |
+
"qu\u1ea7n": 49,
|
| 144 |
+
"sd card": 50,
|
| 145 |
+
"smart tivi": 51,
|
| 146 |
+
"son m\u00f4i": 52,
|
| 147 |
+
"s\u00e1ch": 53,
|
| 148 |
+
"s\u1ea1c d\u1ef1 ph\u00f2ng": 54,
|
| 149 |
+
"tablet": 55,
|
| 150 |
+
"tai nghe": 56,
|
| 151 |
+
"tivi": 57,
|
| 152 |
+
"trang s\u1ee9c": 58,
|
| 153 |
+
"t\u00fai x\u00e1ch": 59,
|
| 154 |
+
"t\u1ee7 l\u1ea1nh": 60,
|
| 155 |
+
"t\u1ee7 nh\u1ef1a": 61,
|
| 156 |
+
"t\u1ee7 \u0111\u00f4ng": 62,
|
| 157 |
+
"vali": 63,
|
| 158 |
+
"v\u00e1y": 64,
|
| 159 |
+
"v\u00e1y \u0111\u1ea7m": 65,
|
| 160 |
+
"watch automatic": 66,
|
| 161 |
+
"xe h\u01a1i": 67,
|
| 162 |
+
"xe m\u00e1y": 68,
|
| 163 |
+
"xe \u0111\u1ea1p": 69,
|
| 164 |
+
"\u00e1o": 70,
|
| 165 |
+
"\u00e1o thun": 71,
|
| 166 |
+
"\u0111i\u1ec1u h\u00f2a": 72,
|
| 167 |
+
"\u0111i\u1ec7n tho\u1ea1i": 73,
|
| 168 |
+
"\u0111\u1ed3ng h\u1ed3": 74,
|
| 169 |
+
"\u0111\u1ed3ng h\u1ed3 th\u00f4ng minh": 75,
|
| 170 |
+
"\u1ee7ng nh\u1ef1a": 76
|
| 171 |
+
},
|
| 172 |
+
"layer_norm_eps": 1e-05,
|
| 173 |
+
"max_position_embeddings": 258,
|
| 174 |
+
"model_type": "roberta",
|
| 175 |
+
"num_attention_heads": 12,
|
| 176 |
+
"num_hidden_layers": 12,
|
| 177 |
+
"pad_token_id": 1,
|
| 178 |
+
"position_embedding_type": "absolute",
|
| 179 |
+
"problem_type": "single_label_classification",
|
| 180 |
+
"tokenizer_class": "PhobertTokenizer",
|
| 181 |
+
"torch_dtype": "float32",
|
| 182 |
+
"transformers_version": "4.52.4",
|
| 183 |
+
"type_vocab_size": 1,
|
| 184 |
+
"use_cache": true,
|
| 185 |
+
"vocab_size": 64001
|
| 186 |
+
}
|
phobert-fintuned/phobert/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc4a9dd7d7733e69129b5194d5d1b61eeb82fb5278bb93b9ef4511e1724affee
|
| 3 |
+
size 540254084
|
phobert-fintuned/phobert/special_tokens_map.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": "<mask>",
|
| 6 |
+
"pad_token": "<pad>",
|
| 7 |
+
"sep_token": "</s>",
|
| 8 |
+
"unk_token": "<unk>"
|
| 9 |
+
}
|
phobert-fintuned/phobert/tokenizer_config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<pad>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<unk>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"64000": {
|
| 36 |
+
"content": "<mask>",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"bos_token": "<s>",
|
| 45 |
+
"clean_up_tokenization_spaces": false,
|
| 46 |
+
"cls_token": "<s>",
|
| 47 |
+
"eos_token": "</s>",
|
| 48 |
+
"extra_special_tokens": {},
|
| 49 |
+
"mask_token": "<mask>",
|
| 50 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 51 |
+
"pad_token": "<pad>",
|
| 52 |
+
"sep_token": "</s>",
|
| 53 |
+
"tokenizer_class": "PhobertTokenizer",
|
| 54 |
+
"unk_token": "<unk>"
|
| 55 |
+
}
|
phobert-fintuned/phobert/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fddd55d0c30ce8b840ebeca9809c5cb94c29a6a2b4dbe51478e65ddf8808cf0
|
| 3 |
+
size 5240
|
phobert-fintuned/phobert/vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|