gensen
gensen copied to clipboard
fixed Encoder(When using vocab_expansion) and GensenSingle for CPU
- GensenSingle was loading model directly to GPU instead of checking with self.cuda().
- When using vocab_expansion
- Encoder had bug with try,except where it was moving all tensors to GPU by default. Now added cuda attribute, which moves the data using self.cuda() checks.