Instructions to use chanind/frame-semantic-transformer-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chanind/frame-semantic-transformer-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("chanind/frame-semantic-transformer-base") model = AutoModelForSeq2SeqLM.from_pretrained("chanind/frame-semantic-transformer-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fine-tuned T5 base model for use as a frame semantic parser in the Frame Semantic Transformer project. This model is trained on data from FrameNet 1.7.
Usage
This is meant to be used a part of Frame Semantic Transformer. See that project for usage instructions.
Tasks
This model is trained to perform 3 tasks related to semantic frame parsing:
- Identify frame trigger locations in the text
- Classify the frame given a trigger location
- Extract frame elements in the sentence
Performance
This model is trained and evaluated using the same train/dev/test splits from FrameNet 1.7 annotated corpora as used by Open Sesame.
| Task | F1 Score (Dev) | F1 Score (Test) |
|---|---|---|
| Trigger identification | 0.78 | 0.74 |
| Frame Classification | 0.91 | 0.89 |
| Argument Extraction | 0.78 | 0.75 |
- Downloads last month
- 2,345
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support