Model save
Browse files- README.md +69 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: relation_extraction_bert_base_uncased
|
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 |
+
# relation_extraction_bert_base_uncased
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.9421
|
21 |
+
- F1: 0.8613
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 64
|
42 |
+
- eval_batch_size: 64
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 10.0
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
52 |
+
| 1.2511 | 1.0 | 107 | 0.6098 | 0.7907 |
|
53 |
+
| 0.437 | 2.0 | 214 | 0.5167 | 0.8453 |
|
54 |
+
| 0.1921 | 3.0 | 321 | 0.5446 | 0.8553 |
|
55 |
+
| 0.0795 | 4.0 | 428 | 0.7041 | 0.8527 |
|
56 |
+
| 0.0334 | 5.0 | 535 | 0.7774 | 0.8568 |
|
57 |
+
| 0.0124 | 6.0 | 642 | 0.8086 | 0.8490 |
|
58 |
+
| 0.0056 | 7.0 | 749 | 0.8615 | 0.8601 |
|
59 |
+
| 0.003 | 8.0 | 856 | 0.9246 | 0.8614 |
|
60 |
+
| 0.0014 | 9.0 | 963 | 0.9300 | 0.8616 |
|
61 |
+
| 0.0011 | 10.0 | 1070 | 0.9421 | 0.8613 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.35.2
|
67 |
+
- Pytorch 2.1.0+cu121
|
68 |
+
- Datasets 2.16.0
|
69 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 435731500
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab1ed1193a2509af0f86a3cdc019cdcbf049b00da645b779409e7897c3dffe2e
|
3 |
size 435731500
|