first version of wiki-sentence-alignment fine-tuned BERT model and the tokenizer e188626
Chao Jiang commited on
How to use chaojiang06/wiki-sentence-alignment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="chaojiang06/wiki-sentence-alignment") # Load model directly
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained("chaojiang06/wiki-sentence-alignment", dtype="auto")