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

joaogante
/
tiny-random-gpt2-with-generation-config

Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
gpt2
text-generation-inference
8-bit precision
Model card Files Files and versions
xet
Community
1

Instructions to use joaogante/tiny-random-gpt2-with-generation-config with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use joaogante/tiny-random-gpt2-with-generation-config with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("joaogante/tiny-random-gpt2-with-generation-config", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
tiny-random-gpt2-with-generation-config
15.6 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
joaogante's picture
joaogante
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
b55646a verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • config.json
    807 Bytes
    Upload 8 files almost 3 years ago
  • generation_config.json
    101 Bytes
    Create generation_config.json almost 3 years ago
  • merges.txt
    4.88 kB
    Upload 8 files almost 3 years ago
  • model.safetensors
    3.53 MB
    xet
    Adding `safetensors` variant of this model (#1) about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    3.56 MB
    xet
    Upload 8 files almost 3 years ago
  • special_tokens_map.json
    90 Bytes
    Upload 8 files almost 3 years ago
  • tf_model.h5
    8.46 MB
    xet
    Upload 8 files almost 3 years ago
  • tokenizer.json
    17.5 kB
    Upload 8 files almost 3 years ago
  • tokenizer_config.json
    236 Bytes
    Upload 8 files almost 3 years ago
  • vocab.json
    10.4 kB
    Upload 8 files almost 3 years ago