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

eduagarcia
/
RoBERTaLexPT-base

Fill-Mask
Transformers
PyTorch
Safetensors
Portuguese
roberta
legal
Eval Results (legacy)
Model card Files Files and versions
xet
Community
6

Instructions to use eduagarcia/RoBERTaLexPT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use eduagarcia/RoBERTaLexPT-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="eduagarcia/RoBERTaLexPT-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("eduagarcia/RoBERTaLexPT-base")
    model = AutoModelForMaskedLM.from_pretrained("eduagarcia/RoBERTaLexPT-base")
  • Notebooks
  • Google Colab
  • Kaggle
RoBERTaLexPT-base
Ctrl+K
Ctrl+K
  • 3 contributors
History: 31 commits
eduagarcia's picture
eduagarcia
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#6)
9dea308 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    10.2 kB
    Update README.md over 2 years ago
  • config.json
    642 Bytes
    Push 65k step model version over 2 years ago
  • dict.txt
    688 kB
    Push 65k step model version over 2 years ago
  • merges.txt
    522 kB
    Push 65k step model version over 2 years ago
  • model.safetensors
    499 MB
    xet
    Adding `safetensors` variant of this model (#6) about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    499 MB
    xet
    rollback to 62500 steps over 2 years ago
  • special_tokens_map.json
    772 Bytes
    Push 65k step model version over 2 years ago
  • tokenizer_config.json
    1.2 kB
    rollback to 62500 steps over 2 years ago
  • vocab.json
    964 kB
    Push 65k step model version over 2 years ago