Instructions to use fusing/gpt2_optimus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fusing/gpt2_optimus with Transformers:
# Load model directly from transformers import AutoTokenizer, GPT2OptimusForLatentConnector tokenizer = AutoTokenizer.from_pretrained("fusing/gpt2_optimus") model = GPT2OptimusForLatentConnector.from_pretrained("fusing/gpt2_optimus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 220 Bytes
c009356 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"bos_token": "<BOS>",
"eos_token": "<EOS>",
"pad_token": "<PAD>",
"unk_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
}
}
|