system HF staff commited on
Commit
c1e5282
1 Parent(s): 657460b

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
36
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - token-classification
5
+ language:
6
+ - unk
7
+ widget:
8
+ - text: "I love AutoTrain 🤗"
9
+ datasets:
10
+ - Andrei95/autotrain-data-jobbert15
11
+ co2_eq_emissions:
12
+ emissions: 1.6240218297608988
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Entity Extraction
18
+ - Model ID: 3669997969
19
+ - CO2 Emissions (in grams): 1.6240
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 0.293
24
+ - Accuracy: 0.902
25
+ - Precision: 0.547
26
+ - Recall: 0.672
27
+ - F1: 0.603
28
+
29
+ ## Usage
30
+
31
+ You can use cURL to access this model:
32
+
33
+ ```
34
+ $ 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/Andrei95/autotrain-jobbert15-3669997969
35
+ ```
36
+
37
+ Or Python API:
38
+
39
+ ```
40
+ from transformers import AutoModelForTokenClassification, AutoTokenizer
41
+
42
+ model = AutoModelForTokenClassification.from_pretrained("Andrei95/autotrain-jobbert15-3669997969", use_auth_token=True)
43
+
44
+ tokenizer = AutoTokenizer.from_pretrained("Andrei95/autotrain-jobbert15-3669997969", use_auth_token=True)
45
+
46
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
47
+
48
+ outputs = model(**inputs)
49
+ ```
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 7,
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B-Knowledge",
15
+ "1": "B-Skill",
16
+ "2": "B-Skill-Knowledge",
17
+ "3": "I-Knowledge",
18
+ "4": "I-Skill",
19
+ "5": "I-Skill-Knowledge",
20
+ "6": "O"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-Knowledge": 0,
26
+ "B-Skill": 1,
27
+ "B-Skill-Knowledge": 2,
28
+ "I-Knowledge": 3,
29
+ "I-Skill": 4,
30
+ "I-Skill-Knowledge": 5,
31
+ "O": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_length": 192,
35
+ "max_position_embeddings": 512,
36
+ "model_type": "bert",
37
+ "num_attention_heads": 12,
38
+ "num_hidden_layers": 12,
39
+ "pad_token_id": 0,
40
+ "padding": "max_length",
41
+ "position_embedding_type": "absolute",
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.25.1",
44
+ "type_vocab_size": 2,
45
+ "use_cache": true,
46
+ "vocab_size": 28996
47
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac8f3526e9c07a5a8d5604658ca57988c3943acb3f3af6eb37ee580a4d3e9023
3
+ size 430972397
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:f02a194af2d71e8171977f73334f0b889ef1a3575da491026ba52b1c9813bf7a
3
+ size 669187
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 1000000000000000019884624838656,
7
+ "name_or_path": "AutoTrain",
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
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