Load model and tokenizer
Browse files- config.json +55 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +13 -0
- tokenizer.json +0 -0
- tokenizer_config.json +25 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HueyNemud/das22-10-camembert_pretrained",
|
3 |
+
"architectures": [
|
4 |
+
"CamembertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 5,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 6,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "I-PER",
|
17 |
+
"2": "I-DESC",
|
18 |
+
"3": "I-TITRE",
|
19 |
+
"4": "I-SPAT",
|
20 |
+
"5": "I-TITREH",
|
21 |
+
"6": "I-TITREP",
|
22 |
+
"7": "I-ACT",
|
23 |
+
"8": "I-LOC",
|
24 |
+
"9": "I-CARDINAL",
|
25 |
+
"10": "I-FT"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"I-ACT": 7,
|
31 |
+
"I-CARDINAL": 9,
|
32 |
+
"I-DESC": 2,
|
33 |
+
"I-FT": 10,
|
34 |
+
"I-LOC": 8,
|
35 |
+
"I-PER": 1,
|
36 |
+
"I-SPAT": 4,
|
37 |
+
"I-TITRE": 3,
|
38 |
+
"I-TITREH": 5,
|
39 |
+
"I-TITREP": 6,
|
40 |
+
"O": 0
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-05,
|
43 |
+
"max_position_embeddings": 514,
|
44 |
+
"model_type": "camembert",
|
45 |
+
"num_attention_heads": 12,
|
46 |
+
"num_hidden_layers": 12,
|
47 |
+
"output_past": true,
|
48 |
+
"pad_token_id": 1,
|
49 |
+
"position_embedding_type": "absolute",
|
50 |
+
"torch_dtype": "float32",
|
51 |
+
"transformers_version": "4.25.1",
|
52 |
+
"type_vocab_size": 1,
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 32005
|
55 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2433746028c0f5af3a095c220566af96edf44fec35e2fb41e9698a6da1ae68dd
|
3 |
+
size 880433893
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d32a32600cda471e01f1b55317390b282f5039ffce7297b5caef43bbd58a896c
|
3 |
+
size 440230321
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00574b57cffe3babdb569a0de9abd2da43a06a5ad0305af624a0a165dfd47ead
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8556e10fcc339aaf8e5b6df88a462c4aef1cc6240a1119285791e25dbc1757e0
|
3 |
+
size 623
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
|
3 |
+
size 810912
|
special_tokens_map.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s>NOTUSED",
|
4 |
+
"</s>NOTUSED"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"cls_token": "<s>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"mask_token": "<mask>",
|
10 |
+
"pad_token": "<pad>",
|
11 |
+
"sep_token": "</s>",
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s>NOTUSED",
|
4 |
+
"</s>NOTUSED"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"cls_token": "<s>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"mask_token": {
|
10 |
+
"__type": "AddedToken",
|
11 |
+
"content": "<mask>",
|
12 |
+
"lstrip": true,
|
13 |
+
"normalized": true,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
"model_max_length": 512,
|
18 |
+
"name_or_path": "HueyNemud/das22-10-camembert_pretrained",
|
19 |
+
"pad_token": "<pad>",
|
20 |
+
"sep_token": "</s>",
|
21 |
+
"sp_model_kwargs": {},
|
22 |
+
"special_tokens_map_file": "/lrde/home2/jchazalo/.cache/huggingface/transformers/fe0e213c44079a9ee091098f81fff2941484006e9ba3001a9bf1ee9f87537599.cb3ec3a6c1200d181228d8825ae9767572abca54efa1bbb37fd83d721b2ef323",
|
23 |
+
"tokenizer_class": "CamembertTokenizer",
|
24 |
+
"unk_token": "<unk>"
|
25 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13936129110070fcb54b625bca795cff30cc8ce71eff5eba2e995c4386a12c34
|
3 |
+
size 3503
|