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

adsabs
/
astroBERT

Fill-Mask
Transformers
PyTorch
Safetensors
English
bert
pretraining
Model card Files Files and versions
xet
Community
2

Instructions to use adsabs/astroBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use adsabs/astroBERT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="adsabs/astroBERT")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForPreTraining
    
    tokenizer = AutoTokenizer.from_pretrained("adsabs/astroBERT")
    model = AutoModelForPreTraining.from_pretrained("adsabs/astroBERT")
  • Notebooks
  • Google Colab
  • Kaggle
astroBERT / Tutorials
62.7 kB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
fgrezes's picture
fgrezes
updated tutorial 0-Embeddings
0503677 1 day ago
  • 0_Embeddings.ipynb
    21 kB
    updated tutorial 0-Embeddings 1 day ago
  • 1_Fill-Mask.ipynb
    15.7 kB
    added ner tuto and removed auth check over 3 years ago
  • 2_NER_DEAL.ipynb
    11.8 kB
    added ner tuto and removed auth check over 3 years ago
  • 3_SciX_Categorizer.ipynb
    14.2 kB
    SciX Categorizer tutorial and updated readme about 3 years ago