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

  • Log In
  • Sign Up

IDEA-AI4S
/
AbLingua

Fill-Mask
Transformers
PyTorch
Safetensors
bert
biology
Model card Files Files and versions
xet
Community
3

Instructions to use IDEA-AI4S/AbLingua with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use IDEA-AI4S/AbLingua with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="IDEA-AI4S/AbLingua")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("IDEA-AI4S/AbLingua")
    model = AutoModelForMaskedLM.from_pretrained("IDEA-AI4S/AbLingua")
  • Notebooks
  • Google Colab
  • Kaggle
AbLingua
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
C2C
Shengyuan Bai
Update README.md (#3)
4d1272d 20 days ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    539 Bytes
    Update README.md (#3) 20 days ago
  • config.json
    600 Bytes
    Upload 2 files almost 2 years ago
  • model.safetensors
    2.47 GB
    xet
    Adding `safetensors` variant of this model (#2) about 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    2.47 GB
    xet
    Upload 2 files almost 2 years ago