Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

flax-community
/
gpt2-Cosmos

Transformers
JAX
TensorBoard
gpt2
Model card Files Files and versions
xet
Metrics Training metrics Community

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:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultipleChoice
    
    tokenizer = AutoTokenizer.from_pretrained("flax-community/gpt2-Cosmos")
    model = AutoModelForMultipleChoice.from_pretrained("flax-community/gpt2-Cosmos")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2-Cosmos
1.42 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 52 commits
patrickvonplaten's picture
patrickvonplaten
Update README.md
506cafc almost 5 years ago
  • model
    Original model almost 5 years ago
  • results_tensorboard
    Saving weights of epoch 3 at step 92 almost 5 years ago
  • src
    Saving weights of epoch 1 at step 92 almost 5 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    4.33 kB
    Update README.md almost 5 years ago
  • config.json
    865 Bytes
    all files almost 5 years ago
  • flax_model.msgpack
    1.42 GB
    xet
    Saving weights of epoch 3 at step 92 almost 5 years ago