Text Classification
Transformers
PyTorch
TensorBoard
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use peter2000/xlm-roberta-base-finetuned-ecoicop with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peter2000/xlm-roberta-base-finetuned-ecoicop with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="peter2000/xlm-roberta-base-finetuned-ecoicop")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("peter2000/xlm-roberta-base-finetuned-ecoicop") model = AutoModelForSequenceClassification.from_pretrained("peter2000/xlm-roberta-base-finetuned-ecoicop") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +183 -0
- pytorch_model.bin +3 -0
- runs/Oct27_07-48-28_cb8cbc9ba39d/1635320949.79527/events.out.tfevents.1635320949.cb8cbc9ba39d.75.1 +3 -0
- runs/Oct27_07-48-28_cb8cbc9ba39d/events.out.tfevents.1635320949.cb8cbc9ba39d.75.0 +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "xlm-roberta-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"XLMRobertaForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.1,
|
| 12 |
+
"hidden_size": 768,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "1185_Edible ices and ice cream",
|
| 15 |
+
"1": "1116_Pasta products and couscous",
|
| 16 |
+
"2": "1136_Other preserved or processed fish and seafood-based preparations",
|
| 17 |
+
"3": "1112_Flours and other cereals",
|
| 18 |
+
"4": "1212_Tea",
|
| 19 |
+
"5": "1223_Fruit and vegetable juices",
|
| 20 |
+
"6": "9999_Non-Food",
|
| 21 |
+
"7": "1151_Butter",
|
| 22 |
+
"8": "1127_Dried, salted or smoked meat",
|
| 23 |
+
"9": "1182_Jams, marmalades and honey",
|
| 24 |
+
"10": "1192_Salt, spices and culinary herbs",
|
| 25 |
+
"11": "1115_Pizza and quiche",
|
| 26 |
+
"12": "1191_Sauces, condiments",
|
| 27 |
+
"13": "1193_Baby food",
|
| 28 |
+
"14": "1114_Other bakery products",
|
| 29 |
+
"15": "1124_Poultry",
|
| 30 |
+
"16": "1145_Cheese and curd",
|
| 31 |
+
"17": "1173_Dried vegetables, other preserved or processed vegetables",
|
| 32 |
+
"18": "1163_Dried fruit and nuts",
|
| 33 |
+
"19": "1222_Soft drinks",
|
| 34 |
+
"20": "1211_Coffee",
|
| 35 |
+
"21": "1146_Other milk products",
|
| 36 |
+
"22": "1113_Bread",
|
| 37 |
+
"23": "1111_Rice",
|
| 38 |
+
"24": "1161_Fresh or chilled fruit",
|
| 39 |
+
"25": "1142_Fresh low fat milk",
|
| 40 |
+
"26": "2111_Spirits and liqueurs",
|
| 41 |
+
"27": "1132_Frozen fish",
|
| 42 |
+
"28": "1121_Beef and veal",
|
| 43 |
+
"29": "1172_Frozen vegetables other than potatoes and other tubers",
|
| 44 |
+
"30": "1117_Breakfast cereals",
|
| 45 |
+
"31": "1183_Chocolate",
|
| 46 |
+
"32": "1144_Yoghurt",
|
| 47 |
+
"33": "2131_Lager beer",
|
| 48 |
+
"34": "1164_Preserved fruit and fruit-based products",
|
| 49 |
+
"35": "1153_Olive oil",
|
| 50 |
+
"36": "1141_Fresh whole milk",
|
| 51 |
+
"37": "1123_Lamb and goat",
|
| 52 |
+
"38": "1118_Other cereal products",
|
| 53 |
+
"39": "1199_Other food products n.e.c.",
|
| 54 |
+
"40": "1134_Frozen seafood",
|
| 55 |
+
"41": "1171_Fresh or chilled vegetables other than potatoes and other tubers",
|
| 56 |
+
"42": "1126_Edible offal",
|
| 57 |
+
"43": "2121_Wine from grapes",
|
| 58 |
+
"44": "1162_Frozen fruit",
|
| 59 |
+
"45": "1125_Other meats",
|
| 60 |
+
"46": "1184_Confectionery products",
|
| 61 |
+
"47": "1176_Other tubers and products of tuber vegetables",
|
| 62 |
+
"48": "1221_Mineral or spring waters",
|
| 63 |
+
"49": "1174_Potatoes",
|
| 64 |
+
"50": "1154_Other edible oils",
|
| 65 |
+
"51": "1175_Crisps",
|
| 66 |
+
"52": "1128_Other meat preparations",
|
| 67 |
+
"53": "2201_Cigarettes",
|
| 68 |
+
"54": "1181_Sugar",
|
| 69 |
+
"55": "1147_Eggs",
|
| 70 |
+
"56": "1194_Ready-made meals",
|
| 71 |
+
"57": "1133_Fresh or chilled seafood",
|
| 72 |
+
"58": "1122_Pork",
|
| 73 |
+
"59": "2202_Cigars",
|
| 74 |
+
"60": "1186_Artificial sugar substitutes",
|
| 75 |
+
"61": "2122_Wine from other fruits",
|
| 76 |
+
"62": "1155_Other edible animal fats",
|
| 77 |
+
"63": "1135_Dried, smoked or salted fish and seafood",
|
| 78 |
+
"64": "1152_Margarine and other vegetable fats",
|
| 79 |
+
"65": "1143_Preserved milk",
|
| 80 |
+
"66": "2124_Wine-based drinks",
|
| 81 |
+
"67": "2134_Beer-based drinks",
|
| 82 |
+
"68": "1131_Fresh or chilled fish",
|
| 83 |
+
"69": "2112_Alcoholic soft drinks",
|
| 84 |
+
"70": "2133_Low and non-alcoholic beer",
|
| 85 |
+
"71": "2132_Other alcoholic beer",
|
| 86 |
+
"72": "2123_Fortified wines",
|
| 87 |
+
"73": "1213_Cocoa and powdered chocolate",
|
| 88 |
+
"74": "2203_Other tobacco products"
|
| 89 |
+
},
|
| 90 |
+
"initializer_range": 0.02,
|
| 91 |
+
"intermediate_size": 3072,
|
| 92 |
+
"label2id": {
|
| 93 |
+
"1111_Rice": 23,
|
| 94 |
+
"1112_Flours and other cereals": 3,
|
| 95 |
+
"1113_Bread": 22,
|
| 96 |
+
"1114_Other bakery products": 14,
|
| 97 |
+
"1115_Pizza and quiche": 11,
|
| 98 |
+
"1116_Pasta products and couscous": 1,
|
| 99 |
+
"1117_Breakfast cereals": 30,
|
| 100 |
+
"1118_Other cereal products": 38,
|
| 101 |
+
"1121_Beef and veal": 28,
|
| 102 |
+
"1122_Pork": 58,
|
| 103 |
+
"1123_Lamb and goat": 37,
|
| 104 |
+
"1124_Poultry": 15,
|
| 105 |
+
"1125_Other meats": 45,
|
| 106 |
+
"1126_Edible offal": 42,
|
| 107 |
+
"1127_Dried, salted or smoked meat": 8,
|
| 108 |
+
"1128_Other meat preparations": 52,
|
| 109 |
+
"1131_Fresh or chilled fish": 68,
|
| 110 |
+
"1132_Frozen fish": 27,
|
| 111 |
+
"1133_Fresh or chilled seafood": 57,
|
| 112 |
+
"1134_Frozen seafood": 40,
|
| 113 |
+
"1135_Dried, smoked or salted fish and seafood": 63,
|
| 114 |
+
"1136_Other preserved or processed fish and seafood-based preparations": 2,
|
| 115 |
+
"1141_Fresh whole milk": 36,
|
| 116 |
+
"1142_Fresh low fat milk": 25,
|
| 117 |
+
"1143_Preserved milk": 65,
|
| 118 |
+
"1144_Yoghurt": 32,
|
| 119 |
+
"1145_Cheese and curd": 16,
|
| 120 |
+
"1146_Other milk products": 21,
|
| 121 |
+
"1147_Eggs": 55,
|
| 122 |
+
"1151_Butter": 7,
|
| 123 |
+
"1152_Margarine and other vegetable fats": 64,
|
| 124 |
+
"1153_Olive oil": 35,
|
| 125 |
+
"1154_Other edible oils": 50,
|
| 126 |
+
"1155_Other edible animal fats": 62,
|
| 127 |
+
"1161_Fresh or chilled fruit": 24,
|
| 128 |
+
"1162_Frozen fruit": 44,
|
| 129 |
+
"1163_Dried fruit and nuts": 18,
|
| 130 |
+
"1164_Preserved fruit and fruit-based products": 34,
|
| 131 |
+
"1171_Fresh or chilled vegetables other than potatoes and other tubers": 41,
|
| 132 |
+
"1172_Frozen vegetables other than potatoes and other tubers": 29,
|
| 133 |
+
"1173_Dried vegetables, other preserved or processed vegetables": 17,
|
| 134 |
+
"1174_Potatoes": 49,
|
| 135 |
+
"1175_Crisps": 51,
|
| 136 |
+
"1176_Other tubers and products of tuber vegetables": 47,
|
| 137 |
+
"1181_Sugar": 54,
|
| 138 |
+
"1182_Jams, marmalades and honey": 9,
|
| 139 |
+
"1183_Chocolate": 31,
|
| 140 |
+
"1184_Confectionery products": 46,
|
| 141 |
+
"1185_Edible ices and ice cream": 0,
|
| 142 |
+
"1186_Artificial sugar substitutes": 60,
|
| 143 |
+
"1191_Sauces, condiments": 12,
|
| 144 |
+
"1192_Salt, spices and culinary herbs": 10,
|
| 145 |
+
"1193_Baby food": 13,
|
| 146 |
+
"1194_Ready-made meals": 56,
|
| 147 |
+
"1199_Other food products n.e.c.": 39,
|
| 148 |
+
"1211_Coffee": 20,
|
| 149 |
+
"1212_Tea": 4,
|
| 150 |
+
"1213_Cocoa and powdered chocolate": 73,
|
| 151 |
+
"1221_Mineral or spring waters": 48,
|
| 152 |
+
"1222_Soft drinks": 19,
|
| 153 |
+
"1223_Fruit and vegetable juices": 5,
|
| 154 |
+
"2111_Spirits and liqueurs": 26,
|
| 155 |
+
"2112_Alcoholic soft drinks": 69,
|
| 156 |
+
"2121_Wine from grapes": 43,
|
| 157 |
+
"2122_Wine from other fruits": 61,
|
| 158 |
+
"2123_Fortified wines": 72,
|
| 159 |
+
"2124_Wine-based drinks": 66,
|
| 160 |
+
"2131_Lager beer": 33,
|
| 161 |
+
"2132_Other alcoholic beer": 71,
|
| 162 |
+
"2133_Low and non-alcoholic beer": 70,
|
| 163 |
+
"2134_Beer-based drinks": 67,
|
| 164 |
+
"2201_Cigarettes": 53,
|
| 165 |
+
"2202_Cigars": 59,
|
| 166 |
+
"2203_Other tobacco products": 74,
|
| 167 |
+
"9999_Non-Food": 6
|
| 168 |
+
},
|
| 169 |
+
"layer_norm_eps": 1e-05,
|
| 170 |
+
"max_position_embeddings": 514,
|
| 171 |
+
"model_type": "xlm-roberta",
|
| 172 |
+
"num_attention_heads": 12,
|
| 173 |
+
"num_hidden_layers": 12,
|
| 174 |
+
"output_past": true,
|
| 175 |
+
"pad_token_id": 1,
|
| 176 |
+
"position_embedding_type": "absolute",
|
| 177 |
+
"problem_type": "single_label_classification",
|
| 178 |
+
"torch_dtype": "float32",
|
| 179 |
+
"transformers_version": "4.11.3",
|
| 180 |
+
"type_vocab_size": 1,
|
| 181 |
+
"use_cache": true,
|
| 182 |
+
"vocab_size": 250002
|
| 183 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ea01666c89688a198555a16e32e462edbd4607530881d074a42a16849092d32
|
| 3 |
+
size 1112490669
|
runs/Oct27_07-48-28_cb8cbc9ba39d/1635320949.79527/events.out.tfevents.1635320949.cb8cbc9ba39d.75.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4a03196464523d5aed974397706cfcb07eea23f0a8638eb2a6d031dc0effd20
|
| 3 |
+
size 4561
|
runs/Oct27_07-48-28_cb8cbc9ba39d/events.out.tfevents.1635320949.cb8cbc9ba39d.75.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e49c7aaffb0660ee74b833864fe6943185e05c0ef65062dce374bbd362bc3e1
|
| 3 |
+
size 10011
|
sentencepiece.bpe.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
| 3 |
+
size 5069051
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "xlm-roberta-base", "tokenizer_class": "XLMRobertaTokenizer"}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a497c034893e5f2128e4a9fa097cc46afc7bc125a38c671b59f07995029fe784
|
| 3 |
+
size 2863
|