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

studio-ousia
/
luke-large

Fill-Mask
Transformers
PyTorch
English
luke
named entity recognition
entity typing
relation classification
question answering
Model card Files Files and versions
xet
Community
1

Instructions to use studio-ousia/luke-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use studio-ousia/luke-large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="studio-ousia/luke-large")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("studio-ousia/luke-large")
    model = AutoModelForMaskedLM.from_pretrained("studio-ousia/luke-large")
  • Notebooks
  • Google Colab
  • Kaggle
luke-large
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
7b335ff about 3 years ago
  • .gitattributes
    798 Bytes
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    3.73 kB
    add README.md about 5 years ago
  • added_tokens.json
    33 Bytes
    First version of the luke-large model and tokenizer. about 5 years ago
  • config.json
    839 Bytes
    add weights for LM about 4 years ago
  • entity_vocab.json
    15.3 MB
    xet
    First version of the luke-large model and tokenizer. about 5 years ago
  • merges.txt
    456 kB
    First version of the luke-large model and tokenizer. about 5 years ago
  • model.safetensors
    2.25 GB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.25 GB
    xet
    add weights for LM about 4 years ago
  • special_tokens_map.json
    1 kB
    First version of the luke-large model and tokenizer. about 5 years ago
  • tokenizer_config.json
    1.05 kB
    First version of the luke-large model and tokenizer. about 5 years ago
  • vocab.json
    899 kB
    First version of the luke-large model and tokenizer. about 5 years ago