Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

vinai
/
bertweet-base

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
roberta
Model card Files Files and versions
xet
Community
6

Instructions to use vinai/bertweet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use vinai/bertweet-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="vinai/bertweet-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("vinai/bertweet-base")
    model = AutoModelForMaskedLM.from_pretrained("vinai/bertweet-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bertweet-base
1.83 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 25 commits
dqnguyen's picture
dqnguyen
Update README.md
b349c12 verified over 1 year ago
  • .gitattributes
    391 Bytes
    allow flax almost 5 years ago
  • README.md
    1.91 kB
    Update README.md over 1 year ago
  • __init__.py
    0 Bytes
    Create new file over 3 years ago
  • bpe.codes
    1.08 MB
    Update bpe.codes almost 6 years ago
  • config.json
    558 Bytes
    Update config.json over 3 years ago
  • flax_model.msgpack
    540 MB
    xet
    upload flax model almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    543 MB
    xet
    Update pytorch_model.bin over 5 years ago
  • tf_model.h5
    740 MB
    xet
    Update tf_model.h5 over 5 years ago
  • tokenization_bertweet.py
    28.4 kB
    Upload 3 files over 3 years ago
  • tokenization_bertweet_fast.py
    12.3 kB
    Upload 3 files over 3 years ago
  • tokenizer.json
    2.91 MB
    Upload tokenizer.json almost 4 years ago
  • vocab.txt
    843 kB
    Update vocab.txt almost 6 years ago