Fetching metadata from the HF Docker repository...
Update requirements.txt
c2ddc59
-
1.52 kB
initial commit
-
248 Bytes
initial commit
-
614 Bytes
Rename main.py to app.py
-
20 Bytes
Update requirements.txt
saved_model.pth
Detected Pickle imports (19)
- "transformers.activations.NewGELUActivation",
- "torch.nn.modules.dropout.Dropout",
- "torch.BoolStorage",
- "transformers.models.gpt2.modeling_gpt2.GPT2MLP",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.gpt2.modeling_gpt2.GPT2Model",
- "transformers.models.gpt2.modeling_gpt2.GPT2ForSequenceClassification",
- "torch._utils._rebuild_parameter",
- "collections.OrderedDict",
- "torch._utils._rebuild_tensor_v2",
- "torch.nn.modules.linear.Linear",
- "__builtin__.set",
- "torch.nn.modules.sparse.Embedding",
- "transformers.models.gpt2.configuration_gpt2.GPT2Config",
- "torch.FloatStorage",
- "transformers.models.gpt2.modeling_gpt2.GPT2Attention",
- "transformers.pytorch_utils.Conv1D",
- "transformers.models.gpt2.modeling_gpt2.GPT2Block",
- "torch.nn.modules.normalization.LayerNorm"
How to fix it?
510 MB
Upload 3 files
tokenizer.pkl
Detected Pickle imports (4)
- "regex._regex.compile",
- "transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer",
- "tokenizers.AddedToken",
- "transformers.tokenization_utils.Trie"
How to fix it?
3.34 MB
Upload 3 files