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") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
514e2d1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:78cbfed892cfa069c9d5843c4896bcece79cc888a3ee710954948a5160b3eda9
size 541074789
|