# Local vs API access for model and data privacy

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-vs-api-access-for-model-and-data-privacy%2F115238%3E%5C
**Category:** Beginners\
**Created:** [November 2, 2024, 7:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-vs-api-access-for-model-and-data-privacy%2F115238 "2024-11-02T19:53:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![suhaibworkwiseai](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/suhaibworkwiseai/32/33865_2.png) [@suhaibworkwiseai](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsuhaibworkwiseai)%5C
**Post date:** [November 2, 2024, 7:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-vs-api-access-for-model-and-data-privacy%2F115238%2F1 "2024-11-02T19:53:37Z")

</div>

I plan to fine-tune a model using an existing custom data set using peft/Lora.  
do I need to keep the local copy of the adjusted weight for this fine-tuned model or hugging face will keep it under my account?  
I also plan to use RAG with this fine-tuned model. This RAG is for new available data for which I have not refined the model

Also during training, does hugging face retain the custom data that I use for peft/lora training or as RAG? I dont want the custom data in the public space/data center and dont want it to leave my local machine.

Thanks
