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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Adding `safetensors` variant of this model

#10 opened over 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#9 opened over 1 year ago by
SFconvertbot

Adding `safetensors` variant of this model

#8 opened over 2 years ago by
SFconvertbot

Adding `safetensors` variant of this model

#7 opened over 2 years ago by
SFconvertbot

Adding `safetensors` variant of this model

#6 opened over 2 years ago by
SFconvertbot

Adding `safetensors` variant of this model

#5 opened almost 3 years ago by
SFconvertbot

Adding `safetensors` variant of this model

#4 opened almost 3 years ago by
SFconvertbot

How to generate one token after the other with Specter 2?

#3 opened almost 3 years ago by
junoriosity

Is using SciBERT as a basis still a good idea?

👍 1
2
#2 opened about 3 years ago by
cormak

Adding `safetensors` variant of this model

#1 opened about 3 years ago by
SFconvertbot
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs