Instructions to use yali98/xsum_lineared_lambda5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yali98/xsum_lineared_lambda5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("yali98/xsum_lineared_lambda5") model = AutoModel.from_pretrained("yali98/xsum_lineared_lambda5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from yali98/xsum_lineared_lambda5: direct link, hf CLI and curl.
- Browser
- Download file 75 Bytes
-
https://huggingface.co/yali98/xsum_lineared_lambda5/resolve/main/added_tokens.json
- Command line
-
hf download hf://yali98/xsum_lineared_lambda5/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/yali98/xsum_lineared_lambda5/resolve/main/added_tokens.json
75 Bytes
| { | |
| "</s>": 2, | |
| "<mask>": 50264, | |
| "<pad>": 1, | |
| "<s>": 0, | |
| "<unk>": 3 | |
| } | |