stealthwriter
commited on
Commit
•
a5c1e96
1
Parent(s):
108f6d4
Model save
Browse files- README.md +51 -0
- config.json +39 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: YituTech/conv-bert-base
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: HorAI-medium-17k-convbert
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# HorAI-medium-17k-convbert
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [YituTech/conv-bert-base](https://huggingface.co/YituTech/conv-bert-base) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 2e-05
|
35 |
+
- train_batch_size: 384
|
36 |
+
- eval_batch_size: 48
|
37 |
+
- seed: 42
|
38 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
39 |
+
- lr_scheduler_type: linear
|
40 |
+
- num_epochs: 5.0
|
41 |
+
|
42 |
+
### Training results
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
### Framework versions
|
47 |
+
|
48 |
+
- Transformers 4.34.0.dev0
|
49 |
+
- Pytorch 2.0.1+cu118
|
50 |
+
- Datasets 2.14.5
|
51 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "YituTech/conv-bert-base",
|
3 |
+
"architectures": [
|
4 |
+
"ConvBertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"conv_kernel_size": 9,
|
10 |
+
"embedding_size": 768,
|
11 |
+
"eos_token_id": 2,
|
12 |
+
"finetuning_task": "text-classification",
|
13 |
+
"head_ratio": 2,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.1,
|
16 |
+
"hidden_size": 768,
|
17 |
+
"id2label": {
|
18 |
+
"0": "0",
|
19 |
+
"1": "1"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"0": 0,
|
25 |
+
"1": 1
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_position_embeddings": 512,
|
29 |
+
"model_type": "convbert",
|
30 |
+
"num_attention_heads": 12,
|
31 |
+
"num_groups": 1,
|
32 |
+
"num_hidden_layers": 12,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.34.0.dev0",
|
37 |
+
"type_vocab_size": 2,
|
38 |
+
"vocab_size": 30522
|
39 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:058e270bcd5b8093bcdd10799a329309d9b608bff86ea31901c51a6af3e1866b
|
3 |
+
size 425190145
|
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
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": true,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 512,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "ConvBertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cae285813ea9a78c70015fcb79f989938bdd785c31aef18275436e0fdfdde367
|
3 |
+
size 4091
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|