Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
triopood
/
transformer-ocr
like
0
License:
mit
Model card
Files
Files and versions
Community
main
transformer-ocr
1 contributor
History:
2 commits
This model has 1 file scanned as unsafe.
Show
files
triopood
Upload trocrnew.pth
e045eac
verified
10 months ago
.gitattributes
Safe
1.52 kB
initial commit
10 months ago
README.md
Safe
21 Bytes
initial commit
10 months ago
trocrnew.pth
Unsafe
pickle
Detected Pickle imports (38)
"transformers.models.deit.modeling_deit.DeiTEncoder"
,
"transformers.models.trocr.modeling_trocr.TrOCRDecoder"
,
"torch.nn.modules.normalization.LayerNorm"
,
"transformers.models.trocr.modeling_trocr.TrOCRForCausalLM"
,
"transformers.models.trocr.modeling_trocr.TrOCRLearnedPositionalEmbedding"
,
"transformers.models.trocr.configuration_trocr.TrOCRConfig"
,
"transformers.models.deit.modeling_deit.DeiTSelfOutput"
,
"__builtin__.getattr"
,
"torch._utils._rebuild_tensor_v2"
,
"transformers.activations.GELUActivation"
,
"__builtin__.set"
,
"transformers.models.trocr.modeling_trocr.TrOCRDecoderLayer"
,
"torch.nn.modules.activation.Tanh"
,
"torch.nn.modules.linear.Linear"
,
"transformers.models.deit.configuration_deit.DeiTConfig"
,
"transformers.models.deit.modeling_deit.DeiTModel"
,
"transformers.models.deit.modeling_deit.DeiTPatchEmbeddings"
,
"torch.nn.modules.activation.ReLU"
,
"torch.nn.modules.conv.Conv2d"
,
"transformers.models.trocr.modeling_trocr.TrOCRDecoderWrapper"
,
"collections.OrderedDict"
,
"transformers.models.deit.modeling_deit.DeiTEmbeddings"
,
"transformers.models.deit.modeling_deit.DeiTIntermediate"
,
"torch.nn.modules.sparse.Embedding"
,
"torch._utils._rebuild_parameter"
,
"transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder.VisionEncoderDecoderModel"
,
"transformers.models.deit.modeling_deit.DeiTLayer"
,
"transformers.models.deit.modeling_deit.DeiTAttention"
,
"transformers.generation.configuration_utils.GenerationConfig"
,
"torch.FloatStorage"
,
"transformers.models.trocr.modeling_trocr.TrOCRAttention"
,
"transformers.models.deit.modeling_deit.DeiTOutput"
,
"transformers.models.deit.modeling_deit.DeiTPooler"
,
"torch.nn.modules.container.ModuleList"
,
"transformers.models.deit.modeling_deit.DeiTSelfAttention"
,
"torch._C._nn.gelu"
,
"torch.nn.modules.dropout.Dropout"
,
"transformers.models.vision_encoder_decoder.configuration_vision_encoder_decoder.VisionEncoderDecoderConfig"
How to fix it?
247 MB
LFS
Upload trocrnew.pth
10 months ago