Instructions to use KotshinZ/gpt2-RMT-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KotshinZ/gpt2-RMT-2 with Transformers:
# Load model directly from transformers import RecurrentMemoryTransformer model = RecurrentMemoryTransformer.from_pretrained("KotshinZ/gpt2-RMT-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 50256, | |
| "eos_token_id": 50256, | |
| "transformers_version": "4.50.0.dev0", | |
| "use_cache": false | |
| } | |