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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ltg
/
ltg-bert-bnc

Fill-Mask
Transformers
PyTorch
English
BERT
BNC-BERT
encoder
custom_code
Model card Files Files and versions
xet
Community
2

Instructions to use ltg/ltg-bert-bnc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ltg/ltg-bert-bnc with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ltg/ltg-bert-bnc", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForMaskedLM
    model = AutoModelForMaskedLM.from_pretrained("ltg/ltg-bert-bnc", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ltg-bert-bnc
Ctrl+K
Ctrl+K
  • 2 contributors
History: 15 commits
lgcharpe's picture
lgcharpe
Update modeling_ltgbert.py
e1a145d verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    2.09 kB
    Update README.md about 3 years ago
  • __init__.py
    0 Bytes
    Create __init__.py over 2 years ago
  • config.json
    950 Bytes
    Update config.json over 2 years ago
  • configuration_ltgbert.py
    4.04 kB
    Update configuration_ltgbert.py over 2 years ago
  • modeling_ltgbert.py
    33.9 kB
    Update modeling_ltgbert.py over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    418 MB
    xet
    Upload 8 files about 3 years ago
  • special_tokens_map.json
    157 Bytes
    Upload 8 files about 3 years ago
  • tokenizer.json
    370 kB
    Upload tokenizer.json over 2 years ago
  • tokenizer_config.json
    106 Bytes
    Upload 8 files about 3 years ago