Instructions to use sharpbai/chatglm2-6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sharpbai/chatglm2-6b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sharpbai/chatglm2-6b", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sharpbai/chatglm2-6b", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 1.52 kB
- 7.99 kB
- 1.14 kB
- 2.06 kB
- 90 Bytes
- 47.1 kB
- 537 Bytes xet
- 533 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 408 MB xet
- 533 MB xet
- 20.4 kB
- 14.7 kB
- 3 Bytes
- 9.29 kB
- 1.02 MB xet
- 324 Bytes