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 akhooli
    /
    gpt2-small-arabic

    Text Generation
    PyTorch Arabic Wikipedia ar gpt2 lm-head causal-lm
    Model card Files and versions

      How to use from the 🤗/transformers library:

                      from transformers import AutoTokenizer, AutoModelWithLMHead
        
        tokenizer = AutoTokenizer.from_pretrained("akhooli/gpt2-small-arabic")
        
        model = AutoModelWithLMHead.from_pretrained("akhooli/gpt2-small-arabic")
                  

      Or just clone the model repo

        git lfs install
        git clone https://huggingface.co/akhooli/gpt2-small-arabic
        
      # 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
    akhooli/gpt2-small-arabic /
    History: 23 commits
    julien-c's picture
    julien-c
    Migrate model card from transformers-repo 4c23cbd 2 months ago
    • .gitattributes 345.0B initial commit 7 months ago
    • README.md 1.1KB Migrate model card from transformers-repo 2 months ago
    • config.json 666.0B Update config.json 7 months ago
    • merges.txt 1.2MB Update merges.txt 7 months ago
    • pytorch_model.bin 486.7MB Update pytorch_model.bin 7 months ago
    • special_tokens_map.json 120.0B Update special_tokens_map.json 7 months ago
    • tokenizer_config.json 30.0B Update tokenizer_config.json 7 months ago
    • vocab.json 1.5MB Update vocab.json 7 months ago