-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add a command to init AllenNLP project like spring-boot-starter #5488
Comments
Hi @unikcc, we have a template repo for this purpose: https://github.com/allenai/allennlp-template-config-files. You could also make your own template repo if that one is not exactly what you're looking for. |
I'd just like to add that I agree with @unikcc that this kind of a thing is a great boon for beginners. CLI templater tools (create-react-app and Leiningen's Maybe it turns out this problem is better handled as a 3rd party lib than as an AllenNLP-owned functionality, but regardless I think this would be an awesome addition to the AllenNLP ecosystem. Perhaps I and anyone else who's interested could work towards implementing something like this? |
I think that's true. At least it would be easier to get up and running and faster to develop since you wouldn't have to wait for feedback from us to merge PRs. I'm happy to provide feedback / advice if you want it though. |
Is your feature request related to a problem? Please describe.
I' a newbie for AllenNLP but I've fall in love with it to handle my own NLP task.
But each time I start a new project, I have to copy the previous code of other AllenNLP project since I can't remember the file architecture.
Then there will me much old code that is redundant for the new project and I have to delete so much lines that are task-specific.
So I need a tool or just a command(e.g. allenlp init) to init a golden template project of AllenNLP, which contains some basic moduel for runing a AllenNLP code, like model, configuration, data processor and demo data folder, etc.
I think this feature will make researcher much cheerful to work with AllenNLP.
Describe the solution you'd like
Add a command to init a simplest AllenNLP project, just like spring-boot-start for java web developer.
Describe alternatives you've considered
Or provide a demo code project of AllenNLP and I can easily access for it.
Additional context
No
The text was updated successfully, but these errors were encountered: