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

  • Log In
  • Sign Up

danlou
/
synbert

Fill-Mask
Transformers
PyTorch
bert
Model card Files Files and versions
xet
Community
1

Instructions to use danlou/synbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use danlou/synbert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="danlou/synbert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("danlou/synbert")
    model = AutoModelForMaskedLM.from_pretrained("danlou/synbert")
  • Notebooks
  • Google Colab
  • Kaggle
synbert
1.82 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
danlou's picture
danlou
add tokenizer
50f3f2a over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago
  • added_tokens.json
    3.64 MB
    add tokenizer over 3 years ago
  • config.json
    856 Bytes
    add model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.82 GB
    xet
    add model over 3 years ago
  • special_tokens_map.json
    112 Bytes
    add tokenizer over 3 years ago
  • tokenizer_config.json
    565 Bytes
    add tokenizer over 3 years ago
  • vocab.txt
    213 kB
    add tokenizer over 3 years ago