Token-level GED
Collection
6 items • Updated
How to use gotutiyan/token-ged-bert-large-cased-bin with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="gotutiyan/token-ged-bert-large-cased-bin") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("gotutiyan/token-ged-bert-large-cased-bin")
model = AutoModelForTokenClassification.from_pretrained("gotutiyan/token-ged-bert-large-cased-bin")Binary and multi-class grammatical error detection models.
The experiment was performed according to Yuan+ 21.
The code and the performance on GEC benchmarks are avaliable from https://github.com/gotutiyan/ged_baselines.
Trained models are distributed for research and educational purposes only.