Instructions to use Porameht/bert-base-thai-intent-booking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Porameht/bert-base-thai-intent-booking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Porameht/bert-base-thai-intent-booking")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Porameht/bert-base-thai-intent-booking") model = AutoModelForSequenceClassification.from_pretrained("Porameht/bert-base-thai-intent-booking", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- README.md +14 -13
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
|
|
|
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
@@ -9,22 +10,22 @@ metrics:
|
|
| 9 |
- precision
|
| 10 |
- recall
|
| 11 |
model-index:
|
| 12 |
-
- name: bert-base-
|
| 13 |
results: []
|
| 14 |
---
|
| 15 |
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
|
| 19 |
-
# bert-base-
|
| 20 |
|
| 21 |
-
This model is a fine-tuned version of [
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
-
- Loss:
|
| 24 |
-
- Accuracy: 0.
|
| 25 |
-
- F1: 0.
|
| 26 |
-
- Precision: 0.
|
| 27 |
-
- Recall: 0.
|
| 28 |
|
| 29 |
## Model description
|
| 30 |
|
|
@@ -50,15 +51,15 @@ The following hyperparameters were used during training:
|
|
| 50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
- lr_scheduler_type: linear
|
| 52 |
- lr_scheduler_warmup_steps: 64
|
| 53 |
-
- num_epochs:
|
| 54 |
|
| 55 |
### Training results
|
| 56 |
|
| 57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
| 58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 59 |
-
|
|
| 60 |
-
|
|
| 61 |
-
|
|
| 62 |
|
| 63 |
|
| 64 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Geotrend/bert-base-th-cased
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
|
|
|
| 10 |
- precision
|
| 11 |
- recall
|
| 12 |
model-index:
|
| 13 |
+
- name: bert-base-th-cased-intent-booking
|
| 14 |
results: []
|
| 15 |
---
|
| 16 |
|
| 17 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 18 |
should probably proofread and complete it, then remove this comment. -->
|
| 19 |
|
| 20 |
+
# bert-base-th-cased-intent-booking
|
| 21 |
|
| 22 |
+
This model is a fine-tuned version of [Geotrend/bert-base-th-cased](https://huggingface.co/Geotrend/bert-base-th-cased) on an unknown dataset.
|
| 23 |
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.2346
|
| 25 |
+
- Accuracy: 0.9369
|
| 26 |
+
- F1: 0.9340
|
| 27 |
+
- Precision: 0.9471
|
| 28 |
+
- Recall: 0.9369
|
| 29 |
|
| 30 |
## Model description
|
| 31 |
|
|
|
|
| 51 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 52 |
- lr_scheduler_type: linear
|
| 53 |
- lr_scheduler_warmup_steps: 64
|
| 54 |
+
- num_epochs: 3
|
| 55 |
|
| 56 |
### Training results
|
| 57 |
|
| 58 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
| 59 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 60 |
+
| 1.9427 | 1.0 | 65 | 0.7129 | 0.8964 | 0.8947 | 0.9055 | 0.8964 |
|
| 61 |
+
| 0.48 | 2.0 | 130 | 0.2325 | 0.9369 | 0.9365 | 0.9390 | 0.9369 |
|
| 62 |
+
| 0.1783 | 3.0 | 195 | 0.2001 | 0.9505 | 0.9511 | 0.9578 | 0.9505 |
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 421031944
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17f0dbab94301771a00a8c01f542bdfd97d3aa0d6a562737a6e6a55a3b7d0fa8
|
| 3 |
size 421031944
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c7e2c9ca05318848c0a86ee350cda4342d1f874e9a7302018d754b547b812e9
|
| 3 |
size 5240
|