Instructions to use chenmingxuan/PatGlmSum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chenmingxuan/PatGlmSum with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="chenmingxuan/PatGlmSum", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chenmingxuan/PatGlmSum", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature0c7249d
-
Update README.md
Verified signature27ec6f0
-
Update README.md
Verified signature66c6ce1
-
Update README.md
Verified signaturebc104ab
-
Update README.md
Verified signature2b14852 -
Upload 3 files
Verified signaturea2cb852 -
Update README.md
Verified signature65aa6cc -
Update README.md
Verified signature7c2c7c0 -
Update README.md
Verified signaturedc061a4 -
Update README.md
Verified signature082c2f2 -
Update README.md
Verified signatureb39b13b -
Upload 18 files
Verified signaturea608b01
-
initial commit
Verified signature8769666