Skip to content

Commit f4ebd9c

Browse files
committed
update
1 parent 0b8db77 commit f4ebd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-foundry/how-to/fine-tuning-cost-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is the one-time, fixed cost associated with teaching a base model your spec
2626
It's straightforward to estimate the costs for SFT & DPO: you are charged based on the number of tokens in your training file, and the number of epochs for your training job.
2727

2828
$$
29-
\text{price} = \# \text{training tokens} \times \# \text{epochs} \times \text{price per token}
29+
\text{price} = \text{\# training tokens} \times \text{\# epochs} \times \text{price per token}
3030
$$
3131

3232
In general, smaller models and more recent models have lower prices per token than larger, older models. To estimate the number of tokens in your file, you can use the tiktoken library – or, for a less precise estimate, one word is roughly equivalent to four tokens.

0 commit comments

Comments
 (0)