Update app.py
fe33dd6
-
1.48 kB
initial commit
-
3.21 kB
Update README.md
-
9.7 kB
Update app.py
model.pt
Detected Pickle imports (26)
- "torch.nn.modules.sparse.Embedding",
- "torch.FloatStorage",
- "torch.nn.modules.activation.Tanh",
- "transformers.models.bert.modeling_bert.BertEncoder",
- "collections.OrderedDict",
- "transformers.models.bert.modeling_bert.BertAttention",
- "torch._utils._rebuild_tensor_v2",
- "torch._C._nn.gelu",
- "transformers.models.bert.modeling_bert.BertForSequenceClassification",
- "torch._utils._rebuild_parameter",
- "transformers.models.bert.modeling_bert.BertEmbeddings",
- "torch.LongStorage",
- "transformers.models.bert.modeling_bert.BertIntermediate",
- "transformers.models.bert.modeling_bert.BertPooler",
- "__builtin__.set",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.bert.modeling_bert.BertModel",
- "transformers.models.bert.modeling_bert.BertLayer",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.activations.GELUActivation",
- "transformers.models.bert.modeling_bert.BertOutput",
- "transformers.models.bert.modeling_bert.BertSelfOutput",
- "transformers.models.bert.modeling_bert.BertSelfAttention",
- "torch.nn.modules.dropout.Dropout",
- "torch.nn.modules.linear.Linear",
- "transformers.models.bert.configuration_bert.BertConfig"
How to fix it?
438 MB
si
-
64 Bytes
Update requirements.txt