Instructions to use toiquangle1234/comment_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use toiquangle1234/comment_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="toiquangle1234/comment_classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("toiquangle1234/comment_classification") model = AutoModelForSequenceClassification.from_pretrained("toiquangle1234/comment_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
|
@@ -14,10 +14,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 14 |
|
| 15 |
# comment_classification
|
| 16 |
|
| 17 |
-
This model is a fine-tuned version of [
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 0.
|
| 20 |
-
- Accuracy:
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
@@ -46,17 +46,17 @@ The following hyperparameters were used during training:
|
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
-
| Training Loss | Epoch | Step
|
| 50 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 51 |
-
|
|
| 52 |
-
|
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
| 0.
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
| 59 |
|
| 60 |
-
- Transformers 4.41.
|
| 61 |
- Pytorch 2.3.0+cu121
|
| 62 |
- Tokenizers 0.19.1
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: vinai/phobert-base-v2
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
|
|
|
| 14 |
|
| 15 |
# comment_classification
|
| 16 |
|
| 17 |
+
This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.4387
|
| 20 |
+
- Accuracy: 0.9228
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 50 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
| 51 |
+
| 0.2831 | 1.0 | 18435 | 0.2946 | 0.9082 |
|
| 52 |
+
| 0.2315 | 2.0 | 36870 | 0.3132 | 0.9182 |
|
| 53 |
+
| 0.1888 | 3.0 | 55305 | 0.3513 | 0.9235 |
|
| 54 |
+
| 0.1483 | 4.0 | 73740 | 0.3971 | 0.9209 |
|
| 55 |
+
| 0.0997 | 5.0 | 92175 | 0.4387 | 0.9228 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
| 59 |
|
| 60 |
+
- Transformers 4.41.1
|
| 61 |
- Pytorch 2.3.0+cu121
|
| 62 |
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 540023384
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ef036fec7a6944b17d0f3aba735b917065632975d1d5f12442887a696dd0ae3
|
| 3 |
size 540023384
|
runs/May23_01-56-10_51afddb73ce8/events.out.tfevents.1716429373.51afddb73ce8.565.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f00717e695522050bac32443242c6a30f51edafc8a263cfd93f7238aa3132dfb
|
| 3 |
+
size 46459
|