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

dheerajpai
/
PATENT_BERT_2

Fill-Mask
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use dheerajpai/PATENT_BERT_2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="dheerajpai/PATENT_BERT_2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("dheerajpai/PATENT_BERT_2")
    model = AutoModelForMaskedLM.from_pretrained("dheerajpai/PATENT_BERT_2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
PATENT_BERT_2
81.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
dheerajpai's picture
dheerajpai
dheerajpai/patentbert-cased-2b
5f9b49d verified over 2 years ago
  • runs
    dheerajpai/patentbert-cased-2b over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.09 kB
    dheerajpai/patentbert-cased-2b over 2 years ago
  • config.json
    631 Bytes
    dheerajpai/patentbert-cased-2b over 2 years ago
  • generation_config.json
    90 Bytes
    dheerajpai/patentbert-cased-2b over 2 years ago
  • model.safetensors
    81.1 MB
    xet
    dheerajpai/patentbert-cased-2b over 2 years ago
  • training_args.bin
    4.92 kB
    xet
    dheerajpai/patentbert-cased-2b over 2 years ago