Instructions to use subham8247/relation-extraction-baseline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use subham8247/relation-extraction-baseline with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, LongformerForRelationExtraction tokenizer = AutoTokenizer.from_pretrained("subham8247/relation-extraction-baseline") model = LongformerForRelationExtraction.from_pretrained("subham8247/relation-extraction-baseline", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
337bc08
1
Parent(s): 7421dec
Upload LongformerForRelationExtraction
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:62dee6d477967e17738e76b22820324477eb3cb6e17f728bdc4c12fc8f86f1dbsize 1189494421123version https://git-lfs.github.com/spec/v1oid sha256:7151e531abc9919b87bef35e0e121b51979e098d1290eb9895475e9bfc295332size 1189494421
pytorch_model.bin+1-1