Instructions to use allenai/specter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/specter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="allenai/specter")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("allenai/specter") model = AutoModel.from_pretrained("allenai/specter") - Inference
- Notebooks
- Google Colab
- Kaggle
TensorFlow weights
#1
by christopher - opened
Hello and thank you so much for a great model!
Is there any chance we could also have TensorFlow weights? I'd be happy to do the conversion myself and submit a PR.
Thank you for the prompt reply!
Excited for my first PR on the Hugging Face Hub.
@armanc Done! It's here if you'd like to take a look: https://huggingface.co/allenai/specter/discussions/2
christopher changed discussion status to closed