Upload XLMRobertaForSequenceClassification
Browse files- config.json +60 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ckpts/xlm-roberta-base-tweet-sentiment-en-trimmed-en",
|
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": "negative",
|
15 |
+
"1": "neutral",
|
16 |
+
"2": "positive"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"negative": 0,
|
22 |
+
"neutral": 1,
|
23 |
+
"positive": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "xlm-roberta",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"output_past": true,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.26.1",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 173237,
|
39 |
+
"vocabtrimmer": {
|
40 |
+
"mining_config": {
|
41 |
+
"dataset": "vocabtrimmer/mc4_validation",
|
42 |
+
"dataset_column": "text",
|
43 |
+
"dataset_name": "en",
|
44 |
+
"dataset_split": "validation",
|
45 |
+
"language": "en",
|
46 |
+
"min_frequency": 2,
|
47 |
+
"target_vocab_size": null
|
48 |
+
},
|
49 |
+
"stats": {
|
50 |
+
"compression_rate_embedding": 69.29424564603484,
|
51 |
+
"compression_rate_full": 78.79648348058147,
|
52 |
+
"parameter_size_embedding/raw": 192001536,
|
53 |
+
"parameter_size_embedding/trimmed": 133046016,
|
54 |
+
"parameter_size_full/raw": 278045955,
|
55 |
+
"parameter_size_full/trimmed": 219090435,
|
56 |
+
"vocab_size/raw": 250002,
|
57 |
+
"vocab_size/trimmed": 173237
|
58 |
+
}
|
59 |
+
}
|
60 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc3c717c960ba8314fe02c652c6af975c325c089dc85d7f383294041567afa4b
|
3 |
+
size 876432309
|