How to use hfl/english-pert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hfl/english-pert-base")
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hfl/english-pert-base") model = AutoModel.from_pretrained("hfl/english-pert-base")
Under construction...
Please visit our GitHub repo for more information: https://github.com/ymcui/PERT