Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Rishi-19
/
GPT-2_Profanity_Detector
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
GPT-2_Profanity_Detector
1 contributor
History:
19 commits
Rishi-19
Rename tokenizer (2).pkl to tokenizer.pkl
7e7f2e2
over 1 year ago
.gitattributes
Safe
1.52 kB
initial commit
over 1 year ago
README.md
Safe
248 Bytes
initial commit
over 1 year ago
app.py
Safe
614 Bytes
Rename main.py to app.py
over 1 year ago
requirements.txt
Safe
20 Bytes
Update requirements.txt
over 1 year ago
saved_model.pth
pickle
Detected Pickle imports (19)
"transformers.models.gpt2.modeling_gpt2.GPT2MLP"
,
"torch._utils._rebuild_parameter"
,
"transformers.models.gpt2.modeling_gpt2.GPT2ForSequenceClassification"
,
"__builtin__.set"
,
"torch.nn.modules.dropout.Dropout"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Attention"
,
"torch._utils._rebuild_tensor_v2"
,
"torch.BoolStorage"
,
"torch.nn.modules.sparse.Embedding"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Model"
,
"torch.FloatStorage"
,
"torch.nn.modules.linear.Linear"
,
"torch.nn.modules.container.ModuleList"
,
"transformers.pytorch_utils.Conv1D"
,
"transformers.activations.NewGELUActivation"
,
"collections.OrderedDict"
,
"torch.nn.modules.normalization.LayerNorm"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Block"
,
"transformers.models.gpt2.configuration_gpt2.GPT2Config"
How to fix it?
510 MB
LFS
Rename saved_model (3).pth to saved_model.pth
over 1 year ago
tokenizer.pkl
pickle
Detected Pickle imports (4)
"regex._regex.compile"
,
"transformers.models.gpt2.tokenization_gpt2.GPT2Tokenizer"
,
"transformers.tokenization_utils.Trie"
,
"tokenizers.AddedToken"
How to fix it?
3.34 MB
LFS
Rename tokenizer (2).pkl to tokenizer.pkl
over 1 year ago