Instructions to use thu-coai/LongLM-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-coai/LongLM-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("thu-coai/LongLM-base") model = AutoModelForSeq2SeqLM.from_pretrained("thu-coai/LongLM-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from thu-coai/LongLM-base: direct link, hf CLI and curl.
- Browser
- Download file 892 MB
-
https://huggingface.co/thu-coai/LongLM-base/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://thu-coai/LongLM-base/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/thu-coai/LongLM-base/resolve/main/pytorch_model.bin
892 MB
- Xet hash:
- bf0ced26c7151d1e2fcbc135e394f7a7c7aa1c38d5954ad4cfc6cc5d082c2726
- Size of remote file:
- 892 MB
- SHA256:
- f88c5551a14c5188707632504a5601cf75ec27a70c18246e32df621f97968b29
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.