NLPProject2023Z
commited on
Commit
•
7dc7dea
1
Parent(s):
e09fb21
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlnet-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: xlnet-pretrained
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# xlnet-pretrained
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [xlnet-base-cased](https://huggingface.co/xlnet-base-cased) on an unknown dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 5e-05
|
36 |
+
- train_batch_size: 48
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 1
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- num_epochs: 5
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.35.2
|
50 |
+
- Pytorch 2.1.0+cu121
|
51 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlnet-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"XLNetLMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_type": "bi",
|
7 |
+
"bi_data": false,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"clamp_len": -1,
|
10 |
+
"d_head": 64,
|
11 |
+
"d_inner": 3072,
|
12 |
+
"d_model": 768,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"ff_activation": "gelu",
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"layer_norm_eps": 1e-12,
|
19 |
+
"mem_len": null,
|
20 |
+
"model_type": "xlnet",
|
21 |
+
"n_head": 12,
|
22 |
+
"n_layer": 12,
|
23 |
+
"pad_token_id": 5,
|
24 |
+
"reuse_len": null,
|
25 |
+
"same_length": false,
|
26 |
+
"start_n_top": 5,
|
27 |
+
"summary_activation": "tanh",
|
28 |
+
"summary_last_dropout": 0.1,
|
29 |
+
"summary_type": "last",
|
30 |
+
"summary_use_proj": true,
|
31 |
+
"task_specific_params": {
|
32 |
+
"text-generation": {
|
33 |
+
"do_sample": true,
|
34 |
+
"max_length": 250
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.35.2",
|
39 |
+
"untie_r": true,
|
40 |
+
"use_mems_eval": true,
|
41 |
+
"use_mems_train": false,
|
42 |
+
"vocab_size": 32000
|
43 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 5,
|
6 |
+
"transformers_version": "4.35.2"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b70d11045ed88b8a8a0ea4d3ab42b05b14b845984ec06d638384b360215ddc9
|
3 |
+
size 467023808
|
runs/Jan05_07-18-44_d3e7d681efd2/events.out.tfevents.1704439132.d3e7d681efd2.843.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97304fd91b7928f87706c75862e2fecd7657a12b20760c468aacfa644acdc5c0
|
3 |
+
size 4807
|
runs/Jan05_07-43-47_d3e7d681efd2/events.out.tfevents.1704440629.d3e7d681efd2.843.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:062e4c4374754604f441f06183984edf2f4012fd48f3f94310672bcc308acc18
|
3 |
+
size 7818
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:231edf89b781e3bd650beb94d14962eef97106cc3722fbe98e8b5780997f91ce
|
3 |
+
size 4600
|