system HF staff commited on
Commit
0ba257d
1 Parent(s): 85be30e

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -25,3 +25,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
  *.zstandard filter=lfs diff=lfs merge=lfs -text
27
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
  *.zstandard filter=lfs diff=lfs merge=lfs -text
27
  *tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
30
+ *.pkl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags: autotrain
3
+ language: unk
4
+ widget:
5
+ - text: "I love AutoTrain 🤗"
6
+ datasets:
7
+ - pujaburman30/autotrain-data-hi_ner_xlmr_large
8
+ co2_eq_emissions: 5.880084418778246
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Entity Extraction
14
+ - Model ID: 924630372
15
+ - CO2 Emissions (in grams): 5.880084418778246
16
+
17
+ ## Validation Metrics
18
+
19
+ - Loss: 0.8206124901771545
20
+ - Accuracy: 0.7745009890307498
21
+ - Precision: 0.6042857142857143
22
+ - Recall: 0.6547987616099071
23
+ - F1: 0.6285289747399703
24
+
25
+ ## Usage
26
+
27
+ You can use cURL to access this model:
28
+
29
+ ```
30
+ $ 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/pujaburman30/autotrain-hi_ner_xlmr_large-924630372
31
+ ```
32
+
33
+ Or Python API:
34
+
35
+ ```
36
+ from transformers import AutoModelForTokenClassification, AutoTokenizer
37
+
38
+ model = AutoModelForTokenClassification.from_pretrained("pujaburman30/autotrain-hi_ner_xlmr_large-924630372", use_auth_token=True)
39
+
40
+ tokenizer = AutoTokenizer.from_pretrained("pujaburman30/autotrain-hi_ner_xlmr_large-924630372", use_auth_token=True)
41
+
42
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
43
+
44
+ outputs = model(**inputs)
45
+ ```
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 17,
4
+ "architectures": [
5
+ "XLMRobertaForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "0",
16
+ "1": "1",
17
+ "2": "10",
18
+ "3": "11",
19
+ "4": "12",
20
+ "5": "13",
21
+ "6": "14",
22
+ "7": "15",
23
+ "8": "16",
24
+ "9": "2",
25
+ "10": "3",
26
+ "11": "4",
27
+ "12": "5",
28
+ "13": "6",
29
+ "14": "7",
30
+ "15": "8",
31
+ "16": "9"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 4096,
35
+ "label2id": {
36
+ "0": 0,
37
+ "1": 1,
38
+ "10": 2,
39
+ "11": 3,
40
+ "12": 4,
41
+ "13": 5,
42
+ "14": 6,
43
+ "15": 7,
44
+ "16": 8,
45
+ "2": 9,
46
+ "3": 10,
47
+ "4": 11,
48
+ "5": 12,
49
+ "6": 13,
50
+ "7": 14,
51
+ "8": 15,
52
+ "9": 16
53
+ },
54
+ "layer_norm_eps": 1e-05,
55
+ "max_length": 192,
56
+ "max_position_embeddings": 514,
57
+ "model_type": "xlm-roberta",
58
+ "num_attention_heads": 16,
59
+ "num_hidden_layers": 24,
60
+ "output_past": true,
61
+ "pad_token_id": 1,
62
+ "padding": "max_length",
63
+ "position_embedding_type": "absolute",
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.15.0",
66
+ "type_vocab_size": 1,
67
+ "use_cache": true,
68
+ "vocab_size": 250002
69
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b6d8ece901b78898af244ffa0c127a7b538090347847f2f451b8dfa57939c97
3
+ size 2235596465
sample_input.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34d9a1fc5e10d9474f38150b087ce6ecad68466928cd51ead548d65852789ce7
3
+ size 7333
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": "AutoTrain", "tokenizer_class": "XLMRobertaTokenizer"}