Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- albertvillanova/legal_contracts
|
4 |
+
---
|
5 |
+
|
6 |
+
# bert-tiny-finetuned-legal-contracts-longer
|
7 |
+
|
8 |
+
This model is a fine-tuned version of [google/bert_uncased_L-4_H-512_A-8](https://huggingface.co/google/google/google/bert_uncased_L-4_H-512_A-8) on the portion of legal_contracts dataset for 1 epoch.
|
9 |
+
|
10 |
+
# Note
|
11 |
+
The model was not trained on the whole dataset which is around 9.5 GB, but only
|
12 |
+
|
13 |
+
## The first 20% of `train` + the last 5% of `train`.
|
14 |
+
|
15 |
+
```bash
|
16 |
+
datasets_train = load_dataset('albertvillanova/legal_contracts' , split='train[:20%]')
|
17 |
+
datasets_validation = load_dataset('albertvillanova/legal_contracts' , split='train[-5%:]')
|
18 |
+
```
|
19 |
+
|