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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

commaai
/
commavq-gpt2m

Unconditional Image Generation
Transformers
PyTorch
ONNX
gpt2
text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
2

Instructions to use commaai/commavq-gpt2m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use commaai/commavq-gpt2m with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("commaai/commavq-gpt2m")
    model = AutoModelForCausalLM.from_pretrained("commaai/commavq-gpt2m", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
commavq-gpt2m
3.51 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
Yassine's picture
Yassine
Update README.md
bda53e0 verified about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • README.md
    609 Bytes
    Update README.md about 2 months ago
  • config.json
    1.97 kB
    Upload config.json about 3 years ago
  • decoder.onnx
    171 MB
    xet
    add onnx files about 3 years ago
  • decoder_pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    171 MB
    xet
    add vqvae state dicts over 2 years ago
  • encoder.onnx
    120 MB
    xet
    add onnx files about 3 years ago
  • encoder_pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    119 MB
    xet
    add vqvae state dicts over 2 years ago
  • gpt2m.onnx
    614 MB
    xet
    add onnx files about 3 years ago
  • gpt2m_share_buffer.onnx
    614 MB
    xet
    add gpt2m with past present share buffer option over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.BoolStorage"

    What is a pickle import?

    1.39 GB
    xet
    Rename gpt2m.pt to pytorch_model.bin about 3 years ago
  • temporal_decoder.onnx
    310 MB
    xet
    add onnx files about 3 years ago