# Saving model's weights

**URL:** <https://community.wandb.ai/t/saving-models-weights/1924>\
**Category:** W&B Help\
**Created:** [February 15, 2022, 7:44am UTC](https://community.wandb.ai/t/saving-models-weights/1924 "2022-02-15T07:44:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anarhist](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anarhist](https://community.wandb.ai/u/anarhist)\
**Post date:** [February 15, 2022, 7:44am UTC](https://community.wandb.ai/t/saving-models-weights/1924/1 "2022-02-15T07:44:25Z")

</div>

Hi,  
I’m training a BERT model and I’m trying to save the weights to wandb’s files tab in the end of the training.  
How can I accomplish that?  
Also - how can I load the weights from wandb’s files tab?  
I’m using this code:  
[https://wandb.ai/cayush/bert-finetuning/reports/Sentence-classification-with-Huggingface-BERT-and-W&B–Vmlldzo4MDMwNA](https://wandb.ai/cayush/bert-finetuning/reports/Sentence-classification-with-Huggingface-BERT-and-W&B--Vmlldzo4MDMwNA)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [April 20, 2022, 6:02pm UTC](https://community.wandb.ai/t/saving-models-weights/1924/2 "2022-04-20T18:02:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
