foldl commited on
Commit
c565021
·
verified ·
1 Parent(s): 5570f51

Missing "python" in code segments

Browse files
Files changed (1) hide show
  1. app/src/content/chapters/sft.mdx +2 -2
app/src/content/chapters/sft.mdx CHANGED
@@ -436,7 +436,7 @@ training_args = SFTConfig(
436
 
437
  Then we can train the model like this and TRL will deal with data loading, batching, and training.
438
 
439
- ```
440
  from trl import SFTTrainer
441
 
442
  trainer = SFTTrainer(
@@ -449,6 +449,6 @@ trainer = SFTTrainer(
449
 
450
  And then we can train the model like this:
451
 
452
- ```
453
  trainer_stats = trainer.train()
454
  ```
 
436
 
437
  Then we can train the model like this and TRL will deal with data loading, batching, and training.
438
 
439
+ ```python
440
  from trl import SFTTrainer
441
 
442
  trainer = SFTTrainer(
 
449
 
450
  And then we can train the model like this:
451
 
452
+ ```python
453
  trainer_stats = trainer.train()
454
  ```