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:
- a508bab14340e02681ac4cf626b5c40a871975373bc5702494cf535ced79b784
- Size of remote file:
- 4.92 kB
- SHA256:
- 1a0c90ca4f81aadc9867932bf1a1dca895731865f925166dddcb26d0981a97d7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.