Update requirements.txt
d44a3dd
-
1.48 kB
initial commit
-
252 Bytes
initial commit
-
3.61 kB
Upload app.py
distilbert-model1.pt
Detected Pickle imports (21)
- "torch.nn.modules.dropout.Dropout",
- "transformers.models.distilbert.modeling_distilbert.FFN",
- "torch.nn.modules.sparse.Embedding",
- "transformers.activations.GELUActivation",
- "transformers.models.distilbert.configuration_distilbert.DistilBertConfig",
- "transformers.models.distilbert.modeling_distilbert.DistilBertModel",
- "transformers.models.distilbert.modeling_distilbert.TransformerBlock",
- "__builtin__.set",
- "torch.LongStorage",
- "torch._utils._rebuild_parameter",
- "collections.OrderedDict",
- "torch.FloatStorage",
- "transformers.models.distilbert.modeling_distilbert.MultiHeadSelfAttention",
- "torch.nn.modules.linear.Linear",
- "transformers.models.distilbert.modeling_distilbert.DistilBertForSequenceClassification",
- "torch._C._nn.gelu",
- "torch._utils._rebuild_tensor_v2",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.models.distilbert.modeling_distilbert.Embeddings",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.distilbert.modeling_distilbert.Transformer"
How to fix it?
268 MB
Upload distilbert-model1.pt
-
74 Bytes
Update requirements.txt