Instructions to use zai-org/glm-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/glm-2b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="zai-org/glm-2b", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("zai-org/glm-2b", trust_remote_code=True) model = AutoModel.from_pretrained("zai-org/glm-2b", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 3a29dda10505e4c2d99f0ec7e8963e3101a7476220c712222c768c19cdbf7b73
- Size of remote file:
- 3.85 GB
- SHA256:
- 7730bf2a134867a447a7caf82e4b6962cd389afdc1f30860b9c66041938252f8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.