buerokratt / Training-Module

MIT License
2 stars 20 forks source link

GUI for NLU model configurations #59

Open vmugra opened 1 year ago

vmugra commented 1 year ago

Acceptance Criterias:

recipe: default.v1
language: et
pipeline:
   - name: WhitespaceTokenizer
   - name: RegexFeaturizer
   - name: LexicalSyntacticFeaturizer
   - name: CountVectorsFeaturizer
   - name: CountVectorsFeaturizer
     analyzer: char_wb
     min_ngram: 1
     max_ngram: 4
   - name: DIETClassifier
     entity_recognition: False
     epochs: 60
     random_seed: 50
   - name: RegexEntityExtractor
     case_sensitive: False
     use_regexes: True
   - name: FallbackClassifier
     threshold: 0.8

policies:
   - name: MemoizationPolicy
     priority: 3
   - name: TEDPolicy
     priority: 1
     max_history: 5
     epochs: 60
   - name: RulePolicy
     priority: 6
     core_fallback_threshold: 0.8
     enable_fallback_prediction: false
recipe: default.v1
language: et
pipeline:
   - name: WhitespaceTokenizer
   - name: RegexFeaturizer
   - name: LexicalSyntacticFeaturizer
   - name: CountVectorsFeaturizer
   - name: CountVectorsFeaturizer
   - name: DIETClassifier
   - name: RegexEntityExtractor
   - name: EntitySynonymMapper
   - name: FallbackClassifier

NB! Pipeline order IS important!

Image

ceirowe commented 1 year ago

@vmugra prototype updated according to AC's. I remove "save" buttons from individual pipeline components / policies and replaced them with a switch (true/ false) because the configuration can be saved as a whole.

vmugra commented 1 year ago

Business ACs met, task marked as Done!

Prototype view:

image
vmugra commented 1 year ago

@ceirowe re-opened this task: https://github.com/buerokratt/Training-Module/blob/main/mock1/config.yml please check and add all parameters with sub parameters!

ceirowe commented 1 year ago

@vmugra Prototype updated with missing information.

vmugra commented 1 year ago

@ceirowe delete EntitySynonymMapper as it is out of scope and add another CountVectorFeaturizer

ceirowe commented 1 year ago

@vmugra Prototype updated.

vmugra commented 1 year ago
image

These in-out buttons are not working!

vmugra commented 1 year ago

Accepted based on prototype!

bartekpospiech commented 8 months ago

@KasparMinn @ExiRain this task is in review but I don't see PR for that, can you please check that?