asahi417 commited on
Commit
57245ac
1 Parent(s): 0a1951b

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +60 -0
  2. 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-30000",
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": 30002,
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": 30000
48
+ },
49
+ "stats": {
50
+ "compression_rate_embedding": 12.000703994368045,
51
+ "compression_rate_full": 39.23306670654497,
52
+ "parameter_size_embedding/raw": 192001536,
53
+ "parameter_size_embedding/trimmed": 23041536,
54
+ "parameter_size_full/raw": 278045955,
55
+ "parameter_size_full/trimmed": 109085955,
56
+ "vocab_size/raw": 250002,
57
+ "vocab_size/trimmed": 30002
58
+ }
59
+ }
60
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5a7d288a7a483e52918d58da5a21f8d17b8f6ad9bc57766d862954c66496f4e
3
+ size 436414389