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-trimmed-en-5000-tweet-sentiment-en/best_model",
|
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": 5002,
|
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": 5000
|
48 |
+
},
|
49 |
+
"stats": {
|
50 |
+
"compression_rate_embedding": 2.0007839937280503,
|
51 |
+
"compression_rate_full": 32.30030216907884,
|
52 |
+
"parameter_size_embedding/raw": 192001536,
|
53 |
+
"parameter_size_embedding/trimmed": 3841536,
|
54 |
+
"parameter_size_full/raw": 278295186,
|
55 |
+
"parameter_size_full/trimmed": 89890186,
|
56 |
+
"vocab_size/raw": 250002,
|
57 |
+
"vocab_size/trimmed": 5002
|
58 |
+
}
|
59 |
+
}
|
60 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da9a5fa7c8b30fb894dc2f12d9397955ba07fe3f2d5500a88ee1c96076f35b8e
|
3 |
+
size 359617205
|