Instructions to use MohammadOthman/megatron-gpt2-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MohammadOthman/megatron-gpt2-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MohammadOthman/megatron-gpt2-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MohammadOthman/megatron-gpt2-classification") model = AutoModelForSequenceClassification.from_pretrained("MohammadOthman/megatron-gpt2-classification") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e71555ed578e0472cc3313525e34b6d45868dea407a765ac42d4cea7508f7e48
- Size of remote file:
- 996 MB
- SHA256:
- 4802901405ba585faa99de7e1bb8e3f1778bd1fd1662498efbdae95eef961581
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.