Instructions to use thu-coai/CharacterGLM-6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-coai/CharacterGLM-6B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thu-coai/CharacterGLM-6B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "eos_token_id": 2, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.31.0" | |
| } | |