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

optimum
/
legal-bert-base-uncased-neuronx

Transformers
bert
pretraining
Model card Files Files and versions
xet
Community

Instructions to use optimum/legal-bert-base-uncased-neuronx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use optimum/legal-bert-base-uncased-neuronx with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForPreTraining
    
    tokenizer = AutoTokenizer.from_pretrained("optimum/legal-bert-base-uncased-neuronx")
    model = AutoModelForPreTraining.from_pretrained("optimum/legal-bert-base-uncased-neuronx", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
legal-bert-base-uncased-neuronx
263 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Jingya's picture
Jingya HF Staff
Upload config.json with huggingface_hub
c13af38 verified over 1 year ago
  • .gitattributes
    1.53 kB
    upload model over 3 years ago
  • README.md
    772 Bytes
    Update README.md over 1 year ago
  • all_metrics.csv
    11.1 kB
    upload model over 3 years ago
  • config.json
    1.42 kB
    Upload config.json with huggingface_hub over 1 year ago
  • model.neuron
    262 MB
    xet
    Upload model.neuron with huggingface_hub over 1 year ago
  • special_tokens_map.json
    695 Bytes
    Upload special_tokens_map.json with huggingface_hub over 1 year ago
  • tokenizer.json
    702 kB
    upload model over 3 years ago
  • tokenizer_config.json
    1.27 kB
    Upload tokenizer_config.json with huggingface_hub over 1 year ago
  • vocab.txt
    222 kB
    upload model over 3 years ago