system HF staff commited on
Commit
81763f7
1 Parent(s): 23f145e

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
37
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
38
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-classification
5
+ language:
6
+ - it
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ datasets:
10
+ - kolkata97/autotrain-data-pe-llm-0.6
11
+ co2_eq_emissions:
12
+ emissions: 0.022138627441573373
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 89942144050
19
+ - CO2 Emissions (in grams): 0.0221
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.841
24
+ - Accuracy: 0.761
25
+ - Macro F1: 0.644
26
+ - Micro F1: 0.761
27
+ - Weighted F1: 0.750
28
+ - Macro Precision: 0.679
29
+ - Micro Precision: 0.761
30
+ - Weighted Precision: 0.748
31
+ - Macro Recall: 0.635
32
+ - Micro Recall: 0.761
33
+ - Weighted Recall: 0.761
34
+
35
+
36
+ ## Usage
37
+
38
+ You can use cURL to access this model:
39
+
40
+ ```
41
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/kolkata97/autotrain-pe-llm-0.6-89942144050
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("kolkata97/autotrain-pe-llm-0.6-89942144050", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("kolkata97/autotrain-pe-llm-0.6-89942144050", use_auth_token=True)
52
+
53
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
+
55
+ outputs = model(**inputs)
56
+ ```
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 15,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "ID",
14
+ "1": "M&A",
15
+ "2": "acceptance",
16
+ "3": "competence",
17
+ "4": "data protection",
18
+ "5": "date",
19
+ "6": "intellectual property",
20
+ "7": "liability",
21
+ "8": "license",
22
+ "9": "object",
23
+ "10": "party",
24
+ "11": "remedy",
25
+ "12": "term",
26
+ "13": "termination",
27
+ "14": "warranty"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "ID": 0,
33
+ "M&A": 1,
34
+ "acceptance": 2,
35
+ "competence": 3,
36
+ "data protection": 4,
37
+ "date": 5,
38
+ "intellectual property": 6,
39
+ "liability": 7,
40
+ "license": 8,
41
+ "object": 9,
42
+ "party": 10,
43
+ "remedy": 11,
44
+ "term": 12,
45
+ "termination": 13,
46
+ "warranty": 14
47
+ },
48
+ "layer_norm_eps": 1e-12,
49
+ "max_length": 256,
50
+ "max_position_embeddings": 512,
51
+ "model_type": "bert",
52
+ "num_attention_heads": 12,
53
+ "num_hidden_layers": 12,
54
+ "pad_token_id": 0,
55
+ "padding": "max_length",
56
+ "position_embedding_type": "absolute",
57
+ "problem_type": "single_label_classification",
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.29.2",
60
+ "type_vocab_size": 2,
61
+ "use_cache": true,
62
+ "vocab_size": 31102
63
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:103f5ba7d1f63e7e5b9907e4e324736d480dbf9437d71918ac188dc7261f05ef
3
+ size 439784580
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e24a789bdfccb3ef52b0a12b182985735808b74132cf5334ff0a3e54db7c3a
3
+ size 439829685
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a66719cce73670031d11a069db0a0f869385fd7da8979f6c71ca7b0b51830f9e
3
+ size 724602
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": false,
6
+ "mask_token": "[MASK]",
7
+ "max_len": 512,
8
+ "model_max_length": 512,
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff