kietnt0603
commited on
End of training
Browse files- README.md +67 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: FacebookAI/xlm-roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: language_detector
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# language_detector
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0157
|
21 |
+
- Accuracy: 0.9986
|
22 |
+
- F1 Macro: 0.9985
|
23 |
+
- Precision Macro: 0.9988
|
24 |
+
- Recall Macro: 0.9981
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 8
|
45 |
+
- eval_batch_size: 8
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 5
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Precision Macro | Recall Macro |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:--------:|:---------------:|:------------:|
|
55 |
+
| 0.0207 | 1.0 | 3850 | 0.0094 | 0.9989 | 0.9987 | 0.9990 | 0.9985 |
|
56 |
+
| 0.007 | 2.0 | 7700 | 0.0141 | 0.9984 | 0.9982 | 0.9983 | 0.9981 |
|
57 |
+
| 0.0031 | 3.0 | 11550 | 0.0095 | 0.9993 | 0.9992 | 0.9995 | 0.999 |
|
58 |
+
| 0.0083 | 4.0 | 15400 | 0.0061 | 0.9995 | 0.9995 | 0.9997 | 0.9993 |
|
59 |
+
| 0.0013 | 5.0 | 19250 | 0.0157 | 0.9986 | 0.9985 | 0.9988 | 0.9981 |
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.42.3
|
65 |
+
- Pytorch 2.1.2
|
66 |
+
- Datasets 2.20.0
|
67 |
+
- 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 1112217312
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fdcb121c841bc93a2c0db54c06e5812ad3706db0ca749b0281a2e68d4ddb18d0
|
3 |
size 1112217312
|