Similar to how you can inspect the content of a `curl | sh` script and then run it, the model is also in a clonable repo, you may just:
git clone https://huggingface.co/internlm/internlm-7b-chat
>>> from transformers import AutoTokenizer, AutoModel >>> model = AutoModel.from_pretrained("./internlm-chat-7b", device='cuda')
Similar to how you can inspect the content of a `curl | sh` script and then run it, the model is also in a clonable repo, you may just:
and: