Research Article
Enhancement of Target-Oriented Opinion Words Extraction with Multiview-Trained Machine Reading Comprehension Model
Algorithm 2
Algorithm for MRC-MVT framework.
| | Input: | | | Classification function and parameter ; | | | Learning rate for fine-tuning; | | | Output: | | (1) | Initialize with pre-trained BERT; | | (2) | Multi-view training with Algorithm 1; | | (3) | while not done do | | (4) | Sample a batch of datapoints from ; | | (5) | Update model parameters with: ; | | (6) | end while | | (7) | return The final model for TOWE with parameter . |
|