Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
LemonWiki共筆
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
LLMs Usage FAQ in Mandarin
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 我想產生更長的文章內容 == 📝 問題: 我想要使用 LLMs 產生 5000~6000 字的文章,但是每次只能產生 1000~1500 字的文章。 💬 原因: LLMs 模型有上下文 (context window) 的長度限制,每次請求的輸入與輸出加起來的 token 數量有固定限制。因此每次產生的結果都會遇到 1000~1500 字的上限。建議的解決方式(workaround)是將預定輸出的文章進行結構拆解,分章節逐步輸出內容。 解決方案: 如果無法一次產生 5000~6000 字的文章,可以在輸入指示中事先規劃五個章節架構,再依照章節順序逐次產生內容,最終達到 5000~6000 字文章的產出目標。 {{Tip | tip= 以 [https://platform.openai.com/docs/models/o3 OpenAI o3] 模型為例:(1) Context Window (200,000):輸入 + 輸出的總額度、(2) Max Output Tokens (100,000):單次回答上限。實際輸入空間:200,000 - 預計輸出長度}}
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki共筆:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)