Instructions to use casehold/bert-double with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use casehold/bert-double with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="casehold/bert-double")# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("casehold/bert-double") model = AutoModelForPreTraining.from_pretrained("casehold/bert-double", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Lucia Zheng commited on
Commit ·
4155559
1
Parent(s): 2916623
Add pipeline tag
Browse files
README.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
### BERT (double)
|
| 2 |
Model and tokenizer files for BERT (double) model from [When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Dataset](https://arxiv.org/abs/2104.08671).
|
| 3 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
pipeline_tag: fill-mask
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
### BERT (double)
|
| 7 |
Model and tokenizer files for BERT (double) model from [When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Dataset](https://arxiv.org/abs/2104.08671).
|
| 8 |
|