Instructions to use Rocketknight1/tiny-random-gpt2-bfloat16-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rocketknight1/tiny-random-gpt2-bfloat16-pt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Rocketknight1/tiny-random-gpt2-bfloat16-pt")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Rocketknight1/tiny-random-gpt2-bfloat16-pt") model = AutoModel.from_pretrained("Rocketknight1/tiny-random-gpt2-bfloat16-pt") - Notebooks
- Google Colab
- Kaggle