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
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (4eb064e59288d015938f87cd1a599739a6de2c51) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>766e367
-
Update README.md
61670f0
-
Upload pytorch_model.bin with git-lfs
Guanfadb937 -
Create README.md
Guan8aefe9e -
Upload tokenizer_config.json
Guan4c41a4d -
Upload spiece.model with git-lfs
Guanaa11db8 -
Upload special_tokens_map.json
Guan834161f -
Upload config.json
Guanc3929ad -
initial commit
307dd6a