Instructions to use hfl/english-pert-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hfl/english-pert-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hfl/english-pert-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hfl/english-pert-large") model = AutoModel.from_pretrained("hfl/english-pert-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
7f9a22a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0a1bb9a14ef87d2a85b63f65edf4772309915c009dd558d438b8e7d354e85f14
size 1345072182
|