CXCSCMU GroupWiki: Difference between revisions

From CMU -- Language Technologies Institute -- HPC Wiki
Jump to navigation Jump to search
Zichunyu (talk | contribs)
No edit summary
Zichunyu (talk | contribs)
Line 36: Line 36:


Create the folder named by your name/project name under the Google Drive [https://drive.google.com/drive/folders/1idKTArwYoInnC%20gRaag8nPZ6JEqx86Mm?usp=share%20link CXCSCMU_Group] and use Google Sheets to illustrate the numbers.
Create the folder named by your name/project name under the Google Drive [https://drive.google.com/drive/folders/1idKTArwYoInnC%20gRaag8nPZ6JEqx86Mm?usp=share%20link CXCSCMU_Group] and use Google Sheets to illustrate the numbers.
* Make sure the column/row name is clear to read about the details of the model you are actually evaluating
** ❌ Pythia
** ✅ Pythia-160M full-model fine-tuned with SST-2 for1 epoch, lr=1e-5, bs=8
* Group the model sets that can be compared fairly in the same format as the research paper

Revision as of 12:36, 24 September 2023

CXCSCMU GroupWiki

Organize your code

Create your own branch for development and regularly submit changes to your branch! Here are some development steps you may refer to:

  1. For new features/experiments, it is highly recommended to create a new branch
  2. After developing and thorough test, merge the new features to your branch
  3. If you think these features can benefit everyone in the group, merge them into the main branch by pull request (peers should do code review and test)

Organize your results

Loss curve

If you do train the model, the loss curve is vital in terms of debugging, providing insights, and reproducing your results.

It is recommended to use wandb to show your loss curve:

   # you may be asked to fill in the API key
   wandb.init(project=wandb_project, name=wandb_run_name, config=hparams, dir=out_dir)
   """
   Every logging step
   """
   wandb.log({
          "step": train_step,
          "train/loss": train_loss,
 				 "val/loss": val_loss,
          "step time": (t1 - t0),
          "lr": lr,
         })

When you are training, you can keep track of the curve online and export the reports to share at the end of the training.

Evaluation numbers

Create the folder named by your name/project name under the Google Drive CXCSCMU_Group and use Google Sheets to illustrate the numbers.

  • Make sure the column/row name is clear to read about the details of the model you are actually evaluating
    • ❌ Pythia
    • ✅ Pythia-160M full-model fine-tuned with SST-2 for1 epoch, lr=1e-5, bs=8
  • Group the model sets that can be compared fairly in the same format as the research paper