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

danghuy1999
/
gpt2-viwiki

Transformers
PyTorch
google-tensorflow TensorFlow
Vietnamese
gpt2
gpt2-viwiki
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use danghuy1999/gpt2-viwiki with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use danghuy1999/gpt2-viwiki with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("danghuy1999/gpt2-viwiki")
    model = AutoModel.from_pretrained("danghuy1999/gpt2-viwiki", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2-viwiki
1.01 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
danghuy1999's picture
danghuy1999
[c] Change text
c1e1934 almost 5 years ago
  • .gitattributes
    737 Bytes
    initial commit almost 5 years ago
  • README.md
    3.61 kB
    [c] Change text almost 5 years ago
  • config.json
    916 Bytes
    [f] Initial commit almost 5 years ago
  • merges.txt
    431 kB
    [f] Tokenizer almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    510 MB
    xet
    [f] Initial commit almost 5 years ago
  • tf_model.h5
    498 MB
    xet
    [f] Add tensorflow compatible almost 5 years ago
  • vocab.json
    773 kB
    [f] Tokenizer almost 5 years ago