accent-id-distilhubert-finetuned-l2-arctic
Browse files- README.md +65 -0
- config.json +89 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Feb25_19-19-23_c63251fbb20e/events.out.tfevents.1740511174.c63251fbb20e.506.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: ntu-spml/distilhubert
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: distilhubert-finetuned-l2arctic
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# distilhubert-finetuned-l2arctic
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.0863
|
22 |
+
- Accuracy: 0.9667
|
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: 5e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 3
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
55 |
+
| 1.7181 | 1.0 | 34 | 1.6368 | 0.5667 |
|
56 |
+
| 1.3649 | 2.0 | 68 | 1.2668 | 0.9333 |
|
57 |
+
| 1.1674 | 3.0 | 102 | 1.0863 | 0.9667 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.48.3
|
63 |
+
- Pytorch 2.5.1+cu124
|
64 |
+
- Datasets 3.3.2
|
65 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ntu-spml/distilhubert",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": false,
|
5 |
+
"architectures": [
|
6 |
+
"HubertForSequenceClassification"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"conv_bias": false,
|
12 |
+
"conv_dim": [
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"conv_kernel": [
|
22 |
+
10,
|
23 |
+
3,
|
24 |
+
3,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
2,
|
28 |
+
2
|
29 |
+
],
|
30 |
+
"conv_pos_batch_norm": false,
|
31 |
+
"conv_stride": [
|
32 |
+
5,
|
33 |
+
2,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2,
|
38 |
+
2
|
39 |
+
],
|
40 |
+
"ctc_loss_reduction": "sum",
|
41 |
+
"ctc_zero_infinity": false,
|
42 |
+
"do_stable_layer_norm": false,
|
43 |
+
"eos_token_id": 2,
|
44 |
+
"feat_extract_activation": "gelu",
|
45 |
+
"feat_extract_norm": "group",
|
46 |
+
"feat_proj_dropout": 0.0,
|
47 |
+
"feat_proj_layer_norm": false,
|
48 |
+
"final_dropout": 0.0,
|
49 |
+
"hidden_act": "gelu",
|
50 |
+
"hidden_dropout": 0.1,
|
51 |
+
"hidden_size": 768,
|
52 |
+
"id2label": {
|
53 |
+
"0": "Arabic",
|
54 |
+
"1": "Hindi",
|
55 |
+
"2": "Korean",
|
56 |
+
"3": "Mandarin",
|
57 |
+
"4": "Spanish",
|
58 |
+
"5": "Vietnamese"
|
59 |
+
},
|
60 |
+
"initializer_range": 0.02,
|
61 |
+
"intermediate_size": 3072,
|
62 |
+
"label2id": {
|
63 |
+
"Arabic": "0",
|
64 |
+
"Hindi": "1",
|
65 |
+
"Korean": "2",
|
66 |
+
"Mandarin": "3",
|
67 |
+
"Spanish": "4",
|
68 |
+
"Vietnamese": "5"
|
69 |
+
},
|
70 |
+
"layer_norm_eps": 1e-05,
|
71 |
+
"layerdrop": 0.0,
|
72 |
+
"mask_feature_length": 10,
|
73 |
+
"mask_feature_min_masks": 0,
|
74 |
+
"mask_feature_prob": 0.0,
|
75 |
+
"mask_time_length": 10,
|
76 |
+
"mask_time_min_masks": 2,
|
77 |
+
"mask_time_prob": 0.05,
|
78 |
+
"model_type": "hubert",
|
79 |
+
"num_attention_heads": 12,
|
80 |
+
"num_conv_pos_embedding_groups": 16,
|
81 |
+
"num_conv_pos_embeddings": 128,
|
82 |
+
"num_feat_extract_layers": 7,
|
83 |
+
"num_hidden_layers": 2,
|
84 |
+
"pad_token_id": 0,
|
85 |
+
"torch_dtype": "float32",
|
86 |
+
"transformers_version": "4.48.3",
|
87 |
+
"use_weighted_layer_sum": false,
|
88 |
+
"vocab_size": 32
|
89 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c3f85a5abc9c0cfa7896cd389558d8bd09628b1f1a46ec087c22de1881ec9f9
|
3 |
+
size 94767616
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
runs/Feb25_19-19-23_c63251fbb20e/events.out.tfevents.1740511174.c63251fbb20e.506.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43736367657b5b929d05db61063b6e89755ee4117d4c5317dba0652d28f04117
|
3 |
+
size 11629
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dcadacfa71f1b3acf7f740c1350eb621ba12c9e5533d7deae4c396cedfbbcc5
|
3 |
+
size 5368
|