How to use from the
Use from the
Transformers library
# 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")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Neural Language Models for Nineteenth-Century English: bert_1760_1850

Introduction

BERT model trained on a large historical dataset of books in English, published between 1760-1850 and comprised of ~1.3 billion tokens.

License

The models are released under open license CC BY 4.0, available at https://creativecommons.org/licenses/by/4.0/legalcode.

Funding Statement

This work was supported by Living with Machines (AHRC grant AH/S01179X/1) and The Alan Turing Institute (EPSRC grant EP/N510129/1).

Dataset creators

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.

Downloads last month
22
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support