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 3 at step 92
2b1655b -
Saving weights of epoch 2 at step 92
460de92 -
Saving weights of epoch 1 at step 92
fa13e7b -
Saving weights of epoch 3 at step 92
12c1dac -
Saving weights of epoch 2 at step 92
97833b2 -
Saving weights of epoch 1 at step 92
20e5a90 -
Saving weights of epoch 3 at step 92
202989c -
Saving weights of epoch 2 at step 92
5b28b30 -
Saving weights of epoch 1 at step 92
bced834 -
Saving weights of epoch 3 at step 92
4892952 -
Saving weights of epoch 2 at step 92
7c919d3 -
Saving weights of epoch 1 at step 92
a25072c
-
all files
0a267ec