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

jiachenjiang
/
standard-GPT2

Transformers
PyTorch
gpt2
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use jiachenjiang/standard-GPT2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jiachenjiang/standard-GPT2 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, MultiExitGPT2
    
    tokenizer = AutoTokenizer.from_pretrained("jiachenjiang/standard-GPT2")
    model = MultiExitGPT2.from_pretrained("jiachenjiang/standard-GPT2")
  • Notebooks
  • Google Colab
  • Kaggle
standard-GPT2
501 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
jiachenjiang's picture
jiachenjiang
Upload tokenizer
9a2e4fc verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • config.json
    1.15 kB
    Upload MultiExitGPT2 about 2 years ago
  • generation_config.json
    119 Bytes
    Upload MultiExitGPT2 about 2 years ago
  • merges.txt
    456 kB
    Upload tokenizer about 2 years ago
  • pytorch_model.bin
    498 MB
    xet
    Upload MultiExitGPT2 about 2 years ago
  • special_tokens_map.json
    131 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    265 Bytes
    Upload tokenizer about 2 years ago
  • vocab.json
    798 kB
    Upload tokenizer about 2 years ago