mirror of
https://github.com/QData/TextAttack.git
synced 2021-10-13 00:05:06 +03:00
add thought vectors
This commit is contained in:
@@ -5,7 +5,7 @@ import torch.nn as nn
|
||||
from textattack.shared import utils
|
||||
|
||||
from textattack.models.helpers import GloveEmbeddingLayer
|
||||
from textattack.models.helpers.helper_utils import load_cached_state_dict
|
||||
from textattack.models.helpers.utils import load_cached_state_dict
|
||||
|
||||
class LSTMForClassification(nn.Module):
|
||||
""" A long short-term memory neural network for text classification.
|
||||
|
||||
Reference in New Issue
Block a user