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

ccdv
/
lsg-albert-base-v2-4096

Fill-Mask
Transformers
PyTorch
English
albert
long context
custom_code
Model card Files Files and versions
xet
Community

Instructions to use ccdv/lsg-albert-base-v2-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ccdv/lsg-albert-base-v2-4096 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ccdv/lsg-albert-base-v2-4096", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-albert-base-v2-4096", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("ccdv/lsg-albert-base-v2-4096", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
lsg-albert-base-v2-4096
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
ccdv's picture
ccdv
small fix
137cdc2 over 2 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    6.16 kB
    small fix over 2 years ago
  • attn.png
    50.1 kB
    first almost 4 years ago
  • config.json
    1.74 kB
    first almost 4 years ago
  • modeling_lsg_albert.py
    38.4 kB
    small fix over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    47.3 MB
    xet
    first almost 4 years ago
  • special_tokens_map.json
    286 Bytes
    first almost 4 years ago
  • spiece.model
    760 kB
    xet
    first almost 4 years ago
  • tokenizer.json
    2.27 MB
    first almost 4 years ago
  • tokenizer_config.json
    527 Bytes
    first almost 4 years ago