Instructions to use flax-community/gpt2-Cosmos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flax-community/gpt2-Cosmos with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("flax-community/gpt2-Cosmos") model = AutoModelForMultipleChoice.from_pretrained("flax-community/gpt2-Cosmos", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Saving weights of epoch 1 at step 92
fa13e7b -
final draft
a63e06d -
delete the test files
a5159cb -
updated 50 train files
f8dd798 -
Saving weights of epoch 1 at step 92
a25072c -
uploaded prediction
3adb47c
-
train py files
a3ead9a -
training_files
d6d566d -
training files
88eff4f