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