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)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sharpbai/chatglm2-6b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
b4179e9
-
Upload folder using huggingface_hub
0dc124f -
Upload README.md with huggingface_hub
173078f -
Upload tokenizer
2a31522 -
Upload ChatGLMForConditionalGeneration
2f377aa -
Upload tokenizer
bfc6299 -
Delete tokenizer_config.json
162eaff -
Upload tokenizer
c146be0 -
Delete tokenizer_config.json
139c438 -
Upload tokenizer
15a7df7 -
Upload tokenizer
112ada3 -
Upload tokenizer
4378692 -
Upload tokenizer
721abce -
Upload tokenizer
65a30a9 -
Upload ChatGLMForConditionalGeneration
53ed1c6 -
initial commit
2da0a19