# How to set wandb project name for trainer?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-set-wandb-project-name-for-trainer%2F15987%3E%5C
**Category:** 🤗Transformers\
**Created:** [March 23, 2022, 9:09am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-set-wandb-project-name-for-trainer%2F15987 "2022-03-23T09:09:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sh0416](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@sh0416](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsh0416)%5C
**Post date:** [March 23, 2022, 9:09am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-set-wandb-project-name-for-trainer%2F15987%2F1 "2022-03-23T09:09:21Z")

</div>

How to set wandb project name for trainer?  
All experiments are reported in the wandb project named “huggingface”.  
I want to change the project name.

---

<div class="post-metadata">

**Author:** ![jhonparra18](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jhonparra18/32/5918_2.png) [@jhonparra18](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjhonparra18)%5C
**Post date:** [July 13, 2022, 3:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-set-wandb-project-name-for-trainer%2F15987%2F2 "2022-07-13T15:01:25Z")

</div>

hi, this link explains what you’re looking for. Basically, all you need is to log into wandb and set the project name before using trainer

> **[How to Fine-Tune HuggingFace Transformers on a Custom Dataset](https://wandb.ai/ayush-thakur/huggingface/reports/How-to-Fine-Tune-HuggingFace-Transformers-on-a-Custom-Dataset--Vmlldzo0MzQ2MDc)**
>
> In this report, we will learn how to easily fine-tune a HuggingFace Transformer on a custom dataset with Weights & Biases. Made by Ayush Thakur using W&B

---

<div class="post-metadata">

**Author:** ![qgallouedec](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/qgallouedec/32/28782_2.png) [@qgallouedec](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fqgallouedec)%5C
**Post date:** [July 23, 2024, 7:36pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-set-wandb-project-name-for-trainer%2F15987%2F3 "2024-07-23T19:36:36Z")

</div>

via env variable

```auto
export WANDB_PROJECT=my_prpject_name

```
