You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-2
Original file line number
Diff line number
Diff line change
@@ -99,14 +99,35 @@ This project explores two kinds of input for commit message completion task: dif
99
99
2. Choose one of available model configs or add your own.
100
100
3. Note that you have to define missing parameters from [`InputConfig`](conf/data/input_config.py). You can do it via CLI or just rewrite them. Below is the example how to define parameters via CLI.
101
101
102
-
To launch training of model defined as `XXXModelConfig` and registered via `ConfigStore.store(name="XXX", group="model", node=XXXModelConfig)`, run the following command:
102
+
To launch training of model defined as `XXXModelConfig` and registered via `ConfigStore.store(name="XXX", group="model", node=XXXModelConfig)`, run the following command (with actual values instead of X's):
> :construction: Experiments with RACE model require slightly different procedure. It will be described in this section.
109
+
Experiments with RACE model require a slightly different procedure.
110
+
111
+
1. Fine-tune CodeT5 model. Refer to the instruction above for details.
112
+
113
+
2. Use encoder from fine-tuned CodeT5 checkpoint to perform retrieval.
114
+
115
+
Define configuration in [`conf/retrieval_config.py`](conf/retrieval_config.py). You have to either provide a local path to checkpoint in `ckpt_path` or use W&B artifact.
116
+
In the latter case, artifact name will be inferred from model configuration.
0 commit comments