Instructions to use dejanseo/LinkBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dejanseo/LinkBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="dejanseo/LinkBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dejanseo/LinkBERT") model = AutoModelForMaskedLM.from_pretrained("dejanseo/LinkBERT") - Notebooks
- Google Colab
- Kaggle
Upload requirements.txt
Browse files- requirements.txt +3 -0
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
streamlit
|
| 2 |
+
torch
|
| 3 |
+
transformers
|