# Why is my .pkl flagged as unsafe?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-my-pkl-flagged-as-unsafe%2F28971%3E%5C
**Category:** Beginners\
**Created:** [January 5, 2023, 9:27am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-my-pkl-flagged-as-unsafe%2F28971 "2023-01-05T09:27:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![starbotica](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@starbotica](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fstarbotica)%5C
**Post date:** [January 5, 2023, 9:27am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-my-pkl-flagged-as-unsafe%2F28971%2F1 "2023-01-05T09:27:12Z")

</div>

Hi, everyone! I hope you can help me.

This is the space:  
[starbotica/llamaoalpaca at main (huggingface.co)](https://huggingface.co/spaces/starbotica/llamaoalpaca/tree/main)

It works and the model has been trained by me, so I am positive that it has no malicious code. It is an innocent test to learn along fastai course, it is made with the example of birds and forests but with llamas and alpacas. However, the .pkl file has been flagged as unsafe.

What is the reason and what can I do to fix it? TIA.

---

<div class="post-metadata">

**Author:** ![brooksjordan](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/brooksjordan/32/12395_2.png) [@brooksjordan](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbrooksjordan)%5C
**Post date:** [February 12, 2023, 9:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-my-pkl-flagged-as-unsafe%2F28971%2F2 "2023-02-12T21:45:12Z")

</div>

Yes. same question.

The .pkl file is also flagged for one of the main tutorials in lesson 3 for fast.ai:

> **[jph00/pets at main](https://huggingface.co/spaces/jph00/pets/tree/main)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Is there a way to add a .pkl file so it doesn’t get flagged?

---

<div class="post-metadata">

**Author:** ![Kswize451](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Kswize451](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FKswize451)%5C
**Post date:** [March 16, 2023, 10:35pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhy-is-my-pkl-flagged-as-unsafe%2F28971%2F3 "2023-03-16T22:35:51Z")

</div>

i have also run into this issue. it looks like they deprecated importing pkl files
