[Proposal] Add allennlp integration
See original GitHub issueIt would be nice to integrate with allennlp lib.
Motivation
Allennlp is a NLP library that is used in NLP researchers/practitioners including me.
There is allentune, which is the library of parameter optimization for allennlp.
By using allentune, users can search hyperparameters by random search.
However, optuna
provides some features which are not implemented in allentune (e.g. pruning).
I think it would be useful that allennlp users can use optuna to search for hyperparameters.
Description
To support allennlp in optuna, I think we have to implement:
-
Custom MetricTracker compatible with allennlp’s Trainer
- http://docs.allennlp.org/master/api/training/metric_tracker/#metrictracker
- MetricTracker performs early stopping
-
Custom Trainer that inherits allennlp’s Trainer
- latest allennlp doesn’t provide a way to use custom callback (https://github.com/allenai/allennlp/issues/3519)
- (this topic is under discussion, so it could change an approach
- So we may implement custom trainer inherits
allennlp.training.Trainer
- latest allennlp doesn’t provide a way to use custom callback (https://github.com/allenai/allennlp/issues/3519)
I want to discuss this in detail. Thanks,
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
[Contribution] DeepSpeed Integration - allenai/allennlp - GitHub
Proposal. It seems like a natural fit to have a way to use this with AllenNLP for use with large, distributed experiments.
Read more >AllenNLP v2.10.1
An Apache 2.0 NLP research library, built on PyTorch, for developing state-of-the-art deep learning models on a wide variety of linguistic tasks. ......
Read more >A Framework for Explaining Predictions of NLP Models
AllenNLP Interpret: A Framework for Explaining Predictions of NLP Models ; specific code is a simple function called predictions to labeled ...
Read more >Tweets with replies by Iz Beltagy (@i_beltagy) / Twitter
AllenNLP · @ai2_allennlp. ·. Sep 16, 2021. We are taking applications for research internships! For summer 2022, please apply by Oct. 15 --....
Read more >Model Zoo - Deep learning code and pretrained models for ...
ModelZoo curates and provides a platform for deep learning researchers to easily find code and pre-trained models for a variety of platforms and...
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 FreeTop 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
Top GitHub Comments
I working on this in #1399.
This issue has not seen any recent activity.