Update README.md
Browse files
README.md
CHANGED
|
@@ -36,6 +36,8 @@ Due to the modified `seq_relationship` head (246-class vs. standard 2-class NSP)
|
|
| 36 |
|
| 37 |
### You can use Helper Function as below to load BiTimeBERT
|
| 38 |
|
|
|
|
|
|
|
| 39 |
import torch
|
| 40 |
import torch.nn as nn
|
| 41 |
from transformers import BertForPreTraining, BertTokenizer, BertConfig
|
|
|
|
| 36 |
|
| 37 |
### You can use Helper Function as below to load BiTimeBERT
|
| 38 |
|
| 39 |
+
```python
|
| 40 |
+
|
| 41 |
import torch
|
| 42 |
import torch.nn as nn
|
| 43 |
from transformers import BertForPreTraining, BertTokenizer, BertConfig
|