add model
Browse files- .gitignore +1 -0
- README.md +65 -0
- config.json +45 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- runs/Aug16_14-21-07_02119d6be1fb/1629123711.8741536/events.out.tfevents.1629123711.02119d6be1fb.63.1 +3 -0
- runs/Aug16_14-21-07_02119d6be1fb/1629123815.9251168/events.out.tfevents.1629123815.02119d6be1fb.63.3 +3 -0
- runs/Aug16_14-21-07_02119d6be1fb/events.out.tfevents.1629123711.02119d6be1fb.63.0 +3 -0
- runs/Aug16_14-21-07_02119d6be1fb/events.out.tfevents.1629123815.02119d6be1fb.63.2 +3 -0
- runs/Aug16_14-21-07_02119d6be1fb/events.out.tfevents.1629123937.02119d6be1fb.63.4 +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- null
|
7 |
+
model_index:
|
8 |
+
- name: distilgpt2-finetuned-tamil-gpt
|
9 |
+
results:
|
10 |
+
- task:
|
11 |
+
name: Causal Language Modeling
|
12 |
+
type: text-generation
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# distilgpt2-finetuned-tamil-gpt
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 4.4097
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 5
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
53 |
+
| No log | 1.0 | 228 | 4.4097 |
|
54 |
+
| No log | 2.0 | 456 | 4.4097 |
|
55 |
+
| 4.3169 | 3.0 | 684 | 4.4097 |
|
56 |
+
| 4.3169 | 4.0 | 912 | 4.4097 |
|
57 |
+
| 4.3116 | 5.0 | 1140 | 4.4097 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.9.2
|
63 |
+
- Pytorch 1.9.0+cu102
|
64 |
+
- Datasets 1.11.0
|
65 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilgpt2",
|
3 |
+
"_num_labels": 1,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"architectures": [
|
6 |
+
"GPT2LMHeadModel"
|
7 |
+
],
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"bos_token_id": 50256,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"eos_token_id": 50256,
|
12 |
+
"gradient_checkpointing": false,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0
|
19 |
+
},
|
20 |
+
"layer_norm_epsilon": 1e-05,
|
21 |
+
"model_type": "gpt2",
|
22 |
+
"n_ctx": 1024,
|
23 |
+
"n_embd": 768,
|
24 |
+
"n_head": 12,
|
25 |
+
"n_inner": null,
|
26 |
+
"n_layer": 6,
|
27 |
+
"n_positions": 1024,
|
28 |
+
"resid_pdrop": 0.1,
|
29 |
+
"scale_attn_weights": true,
|
30 |
+
"summary_activation": null,
|
31 |
+
"summary_first_dropout": 0.1,
|
32 |
+
"summary_proj_to_labels": true,
|
33 |
+
"summary_type": "cls_index",
|
34 |
+
"summary_use_proj": true,
|
35 |
+
"task_specific_params": {
|
36 |
+
"text-generation": {
|
37 |
+
"do_sample": true,
|
38 |
+
"max_length": 50
|
39 |
+
}
|
40 |
+
},
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.9.2",
|
43 |
+
"use_cache": true,
|
44 |
+
"vocab_size": 50257
|
45 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2fe69f1ac4164e7171fa0ea0a687ec9258dda97a23d95552cd033db2679277e
|
3 |
+
size 333972957
|
runs/Aug16_14-21-07_02119d6be1fb/1629123711.8741536/events.out.tfevents.1629123711.02119d6be1fb.63.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bcbe796bdb5cc0d15c278f80d51b395d2ef89776def7af667b3fa03039a6c74
|
3 |
+
size 4191
|
runs/Aug16_14-21-07_02119d6be1fb/1629123815.9251168/events.out.tfevents.1629123815.02119d6be1fb.63.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c07cf189cde5aff58d2c9b00da01be1b0007a52d8d83a467a5616e70d6148ff2
|
3 |
+
size 4191
|
runs/Aug16_14-21-07_02119d6be1fb/events.out.tfevents.1629123711.02119d6be1fb.63.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c38562fd45529460743fa9bf978aae8c24c2c64e9351cb35c784e7f320ff0f81
|
3 |
+
size 5273
|
runs/Aug16_14-21-07_02119d6be1fb/events.out.tfevents.1629123815.02119d6be1fb.63.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b335a0f46d8e55bf505c8a94884f83b9e069149d22c843038c55f913df5eb09
|
3 |
+
size 5301
|
runs/Aug16_14-21-07_02119d6be1fb/events.out.tfevents.1629123937.02119d6be1fb.63.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53a41a3fcbb75ef962ccdf5eafc8a5629e016eac3c400c375d497bfede5faca6
|
3 |
+
size 311
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "distilgpt2", "tokenizer_class": "GPT2Tokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63241265f296613152b584418824506201a474ec6fbfcd9cb0f35b9b96c020b3
|
3 |
+
size 2671
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|