Instructions to use thu-coai/LongLM-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-coai/LongLM-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("thu-coai/LongLM-small") model = AutoModelForSeq2SeqLM.from_pretrained("thu-coai/LongLM-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (32d50766e8a09e5a9184dbf335115c04c7558215) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>ac77ce0
-
Update README.md
3d12946
-
Update README.md
Guanefadc09 -
add param
Guanbfa3430 -
Upload pytorch_model.bin with git-lfs
Guane694529 -
Upload tokenizer_config.json
Guan0f40c33 -
Upload spiece.model with git-lfs
Guan118bf34 -
Upload special_tokens_map.json
Guan96103e9 -
Upload config.json
Guan5728def -
add contributers
Guan4999d1d -
change metadata
Guan05c7b0e -
change lang
Guana026f11 -
Create README.md
Guan7bdf0a2 -
initial commit
5087b96