joint-disfluency-detector-and-parser
joint-disfluency-detector-and-parser copied to clipboard
Improving Disfluency Detection by Self-Training a Self-Attentive Model
When I run the parser with the default sentences in the best_models/raw_sentences.txt, it parses correctly. But when I make any change to those sentences or add any new sentence, it...
or how to train a Chinese disfluency detector ?
When I run the GPU to parse a sentence, it takes 6 seconds, and it only 40 seconds to parse 5,000 sentences. Is there any way to parse a sentence...
The error occurs in [this](https://github.com/pariajm/joint-disfluency-detector-and-parser/blob/4f38853b58d9bf5877513a67476d31301a676600/src/parse_nk.py#L13) line. ``` if use_cuda: torch_t = torch.cuda def from_numpy(ndarray): return torch.from_numpy(ndarray).pin_memory().cuda(async=True) ``` The reason for this error is that `async` has become a reserved keyword...