Skip to content

Commit

Permalink
due to impossibility to compute token number don't limit tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
aeltorio committed Oct 4, 2024
1 parent e500e3c commit 5c06638
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/aipane/aipane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function groqRequest(
],
model: model.id,
temperature: 1,
max_tokens: model.max_tokens,
//max_tokens: model.max_tokens,
top_p: 1,
stream: true,
stop: null,
Expand Down
4 changes: 2 additions & 2 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"id": "Meta-Llama-3.1-405B-Instruct",
"name": "Llama 3.1 (405B) - Instruct",
"default": false,
"max_tokens": 512
"max_tokens": 4096
},
{
"id": "Meta-Llama-3.1-8B-Instruct",
"name": "Llama 3.1 (8B) - Instant",
"default": true,
"max_tokens": 512
"max_tokens": 8192
}
]
}
Expand Down

0 comments on commit 5c06638

Please sign in to comment.