Update README.md
Browse files
README.md
CHANGED
|
@@ -6,4 +6,17 @@ language:
|
|
| 6 |
- en
|
| 7 |
base_model:
|
| 8 |
- google-bert/bert-base-uncased
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
- en
|
| 7 |
base_model:
|
| 8 |
- google-bert/bert-base-uncased
|
| 9 |
+
metrics:
|
| 10 |
+
- f1
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# BERT finetuned on Banking 77 Open Intent Classification Dataset
|
| 14 |
+
This is a BERT model finetuned on the [PolyAI/banking77](https://huggingface.co/datasets/PolyAI/banking77) dataset.
|
| 15 |
+
|
| 16 |
+
## Training Configuration
|
| 17 |
+
* PRETRAINED_MODEL_NAME = "bert-base-uncased"
|
| 18 |
+
* BATCH_SIZE = 128
|
| 19 |
+
* LR_PRETRAIN = 2e-5
|
| 20 |
+
* EPOCHS_PRETRAIN = 20
|
| 21 |
+
* DEVICE = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 22 |
+
* MAX_LEN = 128, to truncate long sequences down to 128 tokens, or pad short sequences up to 128 tokens
|