Update app.py
5bf9261
-
1.48 kB
initial commit
-
230 Bytes
initial commit
-
1.43 kB
Update app.py
model.pt
Detected Pickle imports (29)
- "__main__.devops_model",
- "torch.nn.modules.container.ModuleList",
- "torch.nn.modules.sparse.Embedding",
- "torch.nn.modules.batchnorm.BatchNorm1d",
- "torch.nn.modules.activation.Tanh",
- "transformers.models.bert.modeling_bert.BertSelfAttention",
- "torch.nn.modules.linear.Linear",
- "torch._utils._rebuild_tensor_v2",
- "transformers.models.bert.modeling_bert.BertAttention",
- "transformers.models.bert.modeling_bert.BertOutput",
- "torch.FloatStorage",
- "torch.LongStorage",
- "torch._utils._rebuild_parameter",
- "transformers.models.bert.modeling_bert.BertPooler",
- "torch.nn.modules.activation.LogSoftmax",
- "transformers.models.bert.configuration_bert.BertConfig",
- "transformers.models.bert.modeling_bert.BertSelfOutput",
- "torch.nn.modules.dropout.Dropout",
- "transformers.models.bert.modeling_bert.BertIntermediate",
- "transformers.models.bert.modeling_bert.BertLayer",
- "transformers.models.bert.modeling_bert.BertModel",
- "collections.OrderedDict",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.models.bert.modeling_bert.BertEncoder",
- "__builtin__.set",
- "transformers.models.bert.modeling_bert.BertEmbeddings",
- "torch._C._nn.gelu",
- "torch.nn.modules.activation.ReLU",
- "torch.nn.modules.container.Sequential"
How to fix it?
440 MB
Upload model.pt
-
18 Bytes
Create requirements.txt