1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hi THere
I think you are seeing this error (albeit misleading) due to max_tokens=30000
The maximum value for output is 4096. try setting max_tokens=4096
See
https://docs.anthropic.com/claude/docs/models-overview#model-comparison
Also keep in mind, # of token does not equal # of characters. Every model caluclates tokens a bit differently. For Anthropic Claude v2, 100k tokens is equal to apx 75k WORDS. See https://www.anthropic.com/news/100k-context-windows
Contenuto pertinente
- AWS UFFICIALEAggiornata 4 mesi fa
- AWS UFFICIALEAggiornata 3 anni fa