Instructions to use DD0101/disfluency_base_augmented_90_90 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DD0101/disfluency_base_augmented_90_90 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="DD0101/disfluency_base_augmented_90_90")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("DD0101/disfluency_base_augmented_90_90") model = AutoModelForTokenClassification.from_pretrained("DD0101/disfluency_base_augmented_90_90", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
metrics:
|
| 5 |
+
- precision
|
| 6 |
+
- recall
|
| 7 |
+
- f1
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: disfluency-large-3
|
| 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 |
+
# disfluency-large-3
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [vinai/phobert-large](https://huggingface.co/vinai/phobert-large) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0364
|
| 22 |
+
- Precision: 0.9849
|
| 23 |
+
- Recall: 0.9802
|
| 24 |
+
- F1: 0.9825
|
| 25 |
+
- Accuracy: 0.9936
|
| 26 |
+
|
| 27 |
+
## Model description
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Intended uses & limitations
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training and evaluation data
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Training procedure
|
| 40 |
+
|
| 41 |
+
### Training hyperparameters
|
| 42 |
+
|
| 43 |
+
The following hyperparameters were used during training:
|
| 44 |
+
- learning_rate: 5e-05
|
| 45 |
+
- train_batch_size: 32
|
| 46 |
+
- eval_batch_size: 32
|
| 47 |
+
- seed: 42
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: linear
|
| 50 |
+
- num_epochs: 50
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 56 |
+
| No log | 1.0 | 140 | 0.0713 | 0.8955 | 0.9165 | 0.9059 | 0.9816 |
|
| 57 |
+
| No log | 2.0 | 280 | 0.0334 | 0.9706 | 0.9730 | 0.9718 | 0.9925 |
|
| 58 |
+
| No log | 3.0 | 420 | 0.0584 | 0.9656 | 0.9609 | 0.9633 | 0.9880 |
|
| 59 |
+
| 0.1335 | 4.0 | 560 | 0.0352 | 0.9742 | 0.9742 | 0.9742 | 0.9922 |
|
| 60 |
+
| 0.1335 | 5.0 | 700 | 0.0539 | 0.9651 | 0.9633 | 0.9642 | 0.9894 |
|
| 61 |
+
| 0.1335 | 6.0 | 840 | 0.0293 | 0.9730 | 0.9754 | 0.9742 | 0.9924 |
|
| 62 |
+
| 0.1335 | 7.0 | 980 | 0.0364 | 0.9849 | 0.9802 | 0.9825 | 0.9936 |
|
| 63 |
+
| 0.0146 | 8.0 | 1120 | 0.0343 | 0.9795 | 0.9778 | 0.9786 | 0.9941 |
|
| 64 |
+
| 0.0146 | 9.0 | 1260 | 0.0268 | 0.9802 | 0.9814 | 0.9808 | 0.9947 |
|
| 65 |
+
| 0.0146 | 10.0 | 1400 | 0.0427 | 0.9682 | 0.9688 | 0.9685 | 0.9918 |
|
| 66 |
+
| 0.0076 | 11.0 | 1540 | 0.0429 | 0.9576 | 0.9633 | 0.9605 | 0.9899 |
|
| 67 |
+
| 0.0076 | 12.0 | 1680 | 0.0343 | 0.9735 | 0.9730 | 0.9732 | 0.9933 |
|
| 68 |
+
| 0.0076 | 13.0 | 1820 | 0.0305 | 0.9801 | 0.9754 | 0.9777 | 0.9939 |
|
| 69 |
+
| 0.0076 | 14.0 | 1960 | 0.0437 | 0.9765 | 0.9742 | 0.9753 | 0.9924 |
|
| 70 |
+
| 0.0047 | 15.0 | 2100 | 0.0363 | 0.9778 | 0.9778 | 0.9778 | 0.9939 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.29.2
|
| 76 |
+
- Pytorch 2.0.1+cu118
|
| 77 |
+
- Datasets 2.12.0
|
| 78 |
+
- Tokenizers 0.13.3
|