Instructions to use Qilex/bart-largeEN-ME with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qilex/bart-largeEN-ME with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="Qilex/bart-largeEN-ME")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Qilex/bart-largeEN-ME") model = AutoModelForSeq2SeqLM.from_pretrained("Qilex/bart-largeEN-ME", device_map="auto") - Notebooks
- Google Colab
- Kaggle
metadata
language:
- en
- me
license: afl-3.0
tags:
- translation
datasets:
- Qilex/EN-ME
metrics:
- bleu
model-index:
- name: en-me
results:
- task:
type: translation
name: translation en-me
dataset:
type: translation
name: Qilex/EN-ME
metrics:
- type: bleu
value: 17.2
This is a BART-large model finetuned on roughly 58000 aligned sentence pairs in English and Middle English, collected from the works of Geoffrey Chaucer, John Wycliffe, and the Gawain Poet.
It includes special characters such as þ.
This model reflects the spelling inconsistencies characteristic of Middle English.
Because the model is trained largely on poetry and some prose, it is best at translating those sorts of tasks.
Performance can be improved by sentence tokenizing input data and translating sentence-by-sentence.
Removing contractions (hadn't -> had not) also boosts performance.