Dependency parsing head for pretrained models
See original GitHub issue🚀 Feature request
Add a new classification head for pretrained models, for dependency parsing.
Motivation
Current heads, such as AutoModelForTokenClassification
, does not work well for finetuning a pretrained model for dependency parsing. There are now such heads available, so adding such would make it a lot easier to finetune models for such tasks. A PyTorch
implementation of that paper (and others) can be found in this repo.
Your contribution
I could assist with a PR, but for now I’d like to start the discussion to see if this is something that the HF team and others would be interested in.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Dependency Parsing as Head Selection - ACL Anthology
In this work, we propose a simple neural network-based model which learns to select the head for each word in a sentence without...
Read more >Dependency parsing of biomedical text with BERT
Syntactic analysis, or parsing, is a key task in natural language processing and a required component for many text mining approaches.
Read more >Dependency Parsing | Papers With Code
This paper addressed the problem of structured sentiment analysis using a bi-affine semantic dependency parser, large pre-trained language models, and publicly ...
Read more >Dependency Parsing
Usually, dependencies form a tree (single-head, connected, acyclic) ... (De Marneffe et al, 2006): Generating typed dependency parses.
Read more >Typed Dependency Parsing for English
DescriptionTyped Dependency parser, trained on the on the CONLL dataset. ... between “head” words and words, which modify those heads.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@huberemanuel Amazing, great stuff! With the internals in place, it’s hopefully doable to tweak it in (roughly) the way I did. Thanks for all the work you’re putting into it, and would love to see your code when you’re ready to share it! 😊
Thanks! I will take a look into it and see how can I contribute to your initiative.