Instructions to use Linseypass/mirror-SPECTER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Linseypass/mirror-SPECTER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Linseypass/mirror-SPECTER")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Linseypass/mirror-SPECTER") model = AutoModel.from_pretrained("Linseypass/mirror-SPECTER") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Linseypass/mirror-SPECTER")
model = AutoModel.from_pretrained("Linseypass/mirror-SPECTER")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model uses an unsupervised sentence encoder proposed by Liu et al. (2021) to create better sentence representations for the SPECTER transformer model.
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Linseypass/mirror-SPECTER")