Skip to content

ELECTRA pre-trained model + RASA dataset based custom model

License

Notifications You must be signed in to change notification settings

cheesama/electrasa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eletrasa

ELECTRA pre-trained model + RASA dataset based custom model

Model Architecture

graph TD
A(Rasa format Intent & Entity Combined Utterance) --> B(KoELECTRA pretrained tokenizer)
B --> C(CLS)
B --> D(Token1)
B --> E(Token...)
B --> F(SEP)
B --> G(PAD...)
C --> H(KoELECTRA pretrained model)
D --> H
E --> H
F --> H
G --> H
H --> I(Feature 0)
H --> J(Feature 1)
H --> K(Feature ...)
H --> L(Feature ...)
H --> M(Feature n-1)
I --> N(Intent Embedding FC Layer)
J --> O(Entity Embedding FC Layer)
K --> O
L --> O
M --> O
N --> P(Predicted Intent Label)
O --> U(CRF)
U --> Q(Entity Label 0)
U --> R(Entity Label 1)
U --> S(Entity Label ...)
U --> T(Entity Label n-1)
Loading

Training & Deployment Process

Reference

KoELECTRA

pytorch-center-loss

About

ELECTRA pre-trained model + RASA dataset based custom model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages