Instructions to use tassadar667/ChatGLM6B-Legal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tassadar667/ChatGLM6B-Legal with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tassadar667/ChatGLM6B-Legal", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download ptuning/__pycache__/trainer_seq2seq.cpython-39.pyc from tassadar667/ChatGLM6B-Legal: direct link, hf CLI and curl.
- Browser
- Download file 8.44 kB
-
https://huggingface.co/tassadar667/ChatGLM6B-Legal/resolve/main/ptuning/__pycache__/trainer_seq2seq.cpython-39.pyc
- Command line
-
hf download hf://tassadar667/ChatGLM6B-Legal/ptuning/__pycache__/trainer_seq2seq.cpython-39.pyc
-
curl -L -o trainer_seq2seq.cpython-39.pyc https://huggingface.co/tassadar667/ChatGLM6B-Legal/resolve/main/ptuning/__pycache__/trainer_seq2seq.cpython-39.pyc
8.44 kB
This file contains binary data. It cannot be displayed, but you can still download it.