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

  • Log In
  • Sign Up

allenai
/
specter2_base

Feature Extraction
Transformers
PyTorch
English
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
10

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

  • Libraries
  • Transformers

    How to use allenai/specter2_base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="allenai/specter2_base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("allenai/specter2_base")
    model = AutoModel.from_pretrained("allenai/specter2_base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
specter2_base
441 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 32 commits
aps6992's picture
aps6992
Update README.md
3447645 verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    9.21 kB
    Update README.md over 1 year ago
  • config.json
    754 Bytes
    Upload model about 3 years ago
  • pytorch_model.bin
    440 MB
    xet
    Upload model about 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer about 3 years ago
  • tokenizer.json
    717 kB
    Upload tokenizer about 3 years ago
  • tokenizer_config.json
    453 Bytes
    Upload tokenizer about 3 years ago
  • vocab.txt
    228 kB
    Upload tokenizer about 3 years ago