Instructions to use nielsr/MS-GPT-SAFE-GPT-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/MS-GPT-SAFE-GPT-Base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("nielsr/MS-GPT-SAFE-GPT-Base") model = AutoModel.from_pretrained("nielsr/MS-GPT-SAFE-GPT-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K