Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

studio-ousia
/
luke-base

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

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="studio-ousia/luke-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("studio-ousia/luke-base")
    model = AutoModelForMaskedLM.from_pretrained("studio-ousia/luke-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
luke-base
1.12 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
ryo0634's picture
ryo0634
include weights for LM
7438924 about 4 years ago
  • .gitattributes
    744 Bytes
    First version of the luke-base model and tokenizer. about 5 years ago
  • README.md
    3.72 kB
    add README.md about 5 years ago
  • added_tokens.json
    33 Bytes
    First version of the luke-base model and tokenizer. about 5 years ago
  • config.json
    836 Bytes
    include weights for LM about 4 years ago
  • entity_vocab.json
    15.3 MB
    xet
    First version of the luke-base model and tokenizer. about 5 years ago
  • merges.txt
    456 kB
    First version of the luke-base model and tokenizer. about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

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