Update app.py
b58d194
-
1.48 kB
initial commit
-
252 Bytes
initial commit
-
4.88 kB
Update app.py
-
104 Bytes
Upload decode_target (1).json
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
model.pt
Detected Pickle imports (21)
- "__main__.DistillBERTClass",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.distilbert.modeling_distilbert.DistilBertModel",
- "torch._C._nn.gelu",
- "transformers.models.distilbert.configuration_distilbert.DistilBertConfig",
- "transformers.models.distilbert.modeling_distilbert.MultiHeadSelfAttention",
- "torch._utils._rebuild_parameter",
- "transformers.models.distilbert.modeling_distilbert.Transformer",
- "torch.nn.modules.linear.Linear",
- "transformers.models.distilbert.modeling_distilbert.Embeddings",
- "transformers.activations.GELUActivation",
- "torch.nn.modules.sparse.Embedding",
- "torch.LongStorage",
- "collections.OrderedDict",
- "__builtin__.set",
- "torch.nn.modules.dropout.Dropout",
- "transformers.models.distilbert.modeling_distilbert.TransformerBlock",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.models.distilbert.modeling_distilbert.FFN",
- "torch._utils._rebuild_tensor_v2",
- "torch.FloatStorage"
How to fix it?
268 MB
Upload model.pt
pytorch_distilbert_news (1).bin
Detected Pickle imports (21)
- "transformers.models.distilbert.modeling_distilbert.Embeddings",
- "torch._utils._rebuild_tensor_v2",
- "torch._C._nn.gelu",
- "torch.FloatStorage",
- "collections.OrderedDict",
- "transformers.models.distilbert.modeling_distilbert.DistilBertModel",
- "transformers.models.distilbert.modeling_distilbert.TransformerBlock",
- "torch._utils._rebuild_parameter",
- "torch.LongStorage",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.models.distilbert.modeling_distilbert.MultiHeadSelfAttention",
- "torch.nn.modules.linear.Linear",
- "transformers.activations.GELUActivation",
- "transformers.models.distilbert.modeling_distilbert.Transformer",
- "transformers.models.distilbert.modeling_distilbert.FFN",
- "torch.nn.modules.dropout.Dropout",
- "__main__.DistillBERTClass",
- "transformers.models.distilbert.configuration_distilbert.DistilBertConfig",
- "torch.nn.modules.sparse.Embedding",
- "__builtin__.set",
- "torch.nn.modules.container.ModuleList"
How to fix it?
268 MB
Upload pytorch_distilbert_news (1).bin
-
268 MB
Upload 2 files
pytorch_distilbert_news.bin
Detected Pickle imports (21)
- "torch.nn.modules.dropout.Dropout",
- "transformers.models.distilbert.modeling_distilbert.FFN",
- "torch.FloatStorage",
- "collections.OrderedDict",
- "torch.LongStorage",
- "__main__.DistillBERTClass",
- "torch._utils._rebuild_parameter",
- "torch._utils._rebuild_tensor_v2",
- "transformers.models.distilbert.modeling_distilbert.MultiHeadSelfAttention",
- "torch._C._nn.gelu",
- "transformers.models.distilbert.modeling_distilbert.Embeddings",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.distilbert.modeling_distilbert.TransformerBlock",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.models.distilbert.modeling_distilbert.Transformer",
- "torch.nn.modules.linear.Linear",
- "transformers.models.distilbert.modeling_distilbert.DistilBertModel",
- "__builtin__.set",
- "torch.nn.modules.sparse.Embedding",
- "transformers.activations.GELUActivation",
- "transformers.models.distilbert.configuration_distilbert.DistilBertConfig"
How to fix it?
268 MB
Upload pytorch_distilbert_news.bin
-
74 Bytes
Update requirements.txt
-
200 Bytes
Upload 2 files
-
213 kB
Upload vocab_distilbert_news (1).bin