Hugging Face's logo Hugging Face
    • Models
    • Datasets
    • Pricing
      • Website
        • Metrics
        • Languages
        • Organizations
      • Community
        • Forum
        • Blog
        • GitHub
      • Documentation
        • Model Hub doc
        • Inference API doc
        • Transformers doc
        • Tokenizers doc
        • Datasets doc

    • Log In
    • Sign Up
    • Account
      • Log In
      • Sign Up
    • Website
      • Models
      • Datasets
      • Metrics
      • Languages
      • Organizations
      • Pricing
    • Community
      • Forum
      • Blog
    • Documentation
      • Model Hub doc
      • Inference API doc
      • Transformers doc
      • Tokenizers doc
      • Datasets doc

    's picture chrisliu298
    /
    arxiv_ai_gpt2

    Text Generation
    PyTorch https://github.com/staeiou/arxiv_archive/tree/v1.0.1 en gpt2 lm-head causal-lm arxiv transformers
    Model card Files and versions

      How to use from the 🤗/transformers library:

                      from transformers import AutoTokenizer, AutoModelWithLMHead
        
        tokenizer = AutoTokenizer.from_pretrained("chrisliu298/arxiv_ai_gpt2")
        
        model = AutoModelWithLMHead.from_pretrained("chrisliu298/arxiv_ai_gpt2")
                  

      Or just clone the model repo

        git lfs install
        git clone https://huggingface.co/chrisliu298/arxiv_ai_gpt2
        
      # if you want to clone without large files – just their pointers # prepend your git clone with the following env var:
      GIT_LFS_SKIP_SMUDGE=1
      • main
    chrisliu298/arxiv_ai_gpt2 /
    History: 8 commits
    julien-c's picture
    julien-c
    Migrate model card from transformers-repo 841935c 2 months ago
    • .gitattributes 345.0B initial commit 8 months ago
    • README.md 3.4KB Migrate model card from transformers-repo 2 months ago
    • added_tokens.json 44.0B Update added_tokens.json 8 months ago
    • config.json 765.0B Update config.json 8 months ago
    • pytorch_model.bin 2.9GB Update pytorch_model.bin 8 months ago
    • special_tokens_map.json 116.0B Update special_tokens_map.json 8 months ago
    • tokenizer_config.json 26.0B Update tokenizer_config.json 8 months ago
    • vocab.json 877.6KB Update vocab.json 8 months ago