Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

AWS Certified AI Practitioner(AIF)対策:コンテキストウィンドウ

Posted at

コンテキストウィンドウ

『モデルが一度に受け入れることができるトークンの数』

トークン数が多いほど、長いテキストを生成することができます。

トークン数の制限

生成されるテキストの長さは、トークン数の制限によって制御されます。

要約や長文の生成を行う際には、このトークン数の制限を超えると、入力の一部が無視される可能性があるため、コンテキストウィンドウのサイズを考慮して適切なモデルを選択する必要があります。

利用料金

トークンは利用料金に直結するので(入力トークン、出力トークンともに)、費用の制限に”トークン数の制限”を活用できます。

0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?