Instructions to use zai-org/WebGLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/WebGLM with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("zai-org/WebGLM", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("zai-org/WebGLM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
5f75062
-
update readme
ca0ffbd -
Merge branch 'main' of https://huggingface.co/THUDM/WebGLM into main
c445506 -
add license
d0f884b -
Update README.md
f10882b -
Create README.md
4457cc1
-
add webglm generator ckpt
ee1a6b4 -
add webglm generator ckpt
57bc85d -
add webglm generator ckpt
3c41907 -
add GLM code
39bff6f -
initial commit
e6b48ce