Instructions to use Livingwithmachines/bert_1760_1850 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Livingwithmachines/bert_1760_1850 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Livingwithmachines/bert_1760_1850")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Livingwithmachines/bert_1760_1850") model = AutoModelForMaskedLM.from_pretrained("Livingwithmachines/bert_1760_1850", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Kasra Hosseini commited on
Commit ·
037eb8f
1
Parent(s): 50fd036
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Neural Language Models for Nineteenth-Century English: bert_1760_1850
|
| 2 |
+
|
| 3 |
+
## Introduction
|
| 4 |
+
|
| 5 |
+
BERT model trained on a large historical dataset of books in English, published between 1760-1850 and comprised of ~1.3 billion tokens.
|
| 6 |
+
|
| 7 |
+
Data paper: http://doi.org/10.5334/johd.48
|
| 8 |
+
Github repository: https://github.com/Living-with-machines/histLM
|
| 9 |
+
|
| 10 |
+
## License
|
| 11 |
+
|
| 12 |
+
The models are released under open license CC BY 4.0, available at https://creativecommons.org/licenses/by/4.0/legalcode.
|
| 13 |
+
|
| 14 |
+
## Funding Statement
|
| 15 |
+
|
| 16 |
+
This work was supported by Living with Machines (AHRC grant AH/S01179X/1) and The Alan Turing Institute (EPSRC grant EP/N510129/1).
|
| 17 |
+
|
| 18 |
+
## Dataset creators
|
| 19 |
+
|
| 20 |
+
Kasra Hosseini, Kaspar Beelen and Mariona Coll Ardanuy (The Alan Turing Institute) preprocessed the text, created a database, trained and fine-tuned language models as described in the accompanying paper. Giovanni Colavizza (University of Amsterdam), David Beavan (The Alan Turing Institute) and James Hetherington (University College London) helped with planning, accessing the datasets and designing the experiments.
|