61141608c3529645ef0895d38c72c0346797d692,pliers/extractors/text.py,BertLMExtractor,_postprocess,#BertLMExtractor#Any#Any#Any#Any#Any#Any#,717

Before Change


        if self.return_input:
            data += [stims.name]
            feat += ["sequence"]
        ons, dur = map(lambda x: listify(x[self.mask_pos]), [ons, dur])
        return data, feat, ons, dur

    def _return_masked_word(self, preds, feat, data):
        if self.mask_token in self.tokenizer.vocab:

After Change


        if self.return_input:
            data += [stims.name]
            feat += ["sequence"]
        mask_ons = listify(stims.elements[self.mask_pos].onset)
        mask_dur = listify(stims.elements[self.mask_pos].duration)
        return data, feat, mask_ons, mask_dur
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: tyarkoni/pliers
Commit Name: 61141608c3529645ef0895d38c72c0346797d692
Time: 2020-05-22
Author: rbrrcc@gmail.com
File Name: pliers/extractors/text.py
Class Name: BertLMExtractor
Method Name: _postprocess


Project Name: tyarkoni/pliers
Commit Name: b7e24c60f401f7796795d8b8192e1b01422308b8
Time: 2017-09-29
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/audio.py
Class Name: LibrosaFeatureExtractor
Method Name: _extract


Project Name: dpressel/mead-baseline
Commit Name: 158446254fd1ef8a1b63e7ffd1b3e9be0e1283fb
Time: 2018-05-09
Author: dpressel@gmail.com
File Name: python/xpctl/core.py
Class Name: MongoRepo
Method Name: task_summary


Project Name: dpressel/mead-baseline
Commit Name: 158446254fd1ef8a1b63e7ffd1b3e9be0e1283fb
Time: 2018-05-09
Author: dpressel@gmail.com
File Name: python/xpctl/core.py
Class Name: MongoRepo
Method Name: nbest_by_metric