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

pile-of-law
/
legalbert-large-1.7M-2

Fill-Mask
Transformers
PyTorch
English
bert
legal
Model card Files Files and versions
xet
Community
3

Instructions to use pile-of-law/legalbert-large-1.7M-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use pile-of-law/legalbert-large-1.7M-2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="pile-of-law/legalbert-large-1.7M-2")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("pile-of-law/legalbert-large-1.7M-2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
legalbert-large-1.7M-2
1.35 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 8 commits
breakend's picture
breakend
librarian-bot's picture
librarian-bot
Add legal tag to model metadata (#1)
d2688c8 about 3 years ago
  • .gitattributes
    1.17 kB
    initial commit about 4 years ago
  • README.md
    8.43 kB
    Add legal tag to model metadata (#1) about 3 years ago
  • config.json
    589 Bytes
    Update config.json about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.35 GB
    xet
    Add model about 4 years ago
  • tokenizer_config.json
    254 Bytes
    Update tokenizer_config.json about 4 years ago
  • vocab.txt
    238 kB
    Add model about 4 years ago