Skip to content

Commit bae75d2

Browse files
authored
Update finetune.md
Signed-off-by: Swati Allabadi <[email protected]>
1 parent e757ab8 commit bae75d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/finetune.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ def get_custom_dataset(dataset_config, tokenizer, split, context_length=None):
9292

9393
# define prompt
9494
# call apply_prompt_template() for each data point:
95-
# data = data.map(apply_prompt_template ,<other args>)
95+
# dataset = dataset.map(apply_prompt_template ,<other args>)
9696
# call tokenize() for each data point:
97-
# data = data.map(tokenize, <other args>)
97+
# dataset = dataset.map(tokenize, <other args>)
9898

9999
return dataset
100-
```
100+
```

0 commit comments

Comments
 (0)