Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
change default model to llama3, cleanup wrangler.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pew committed Apr 23, 2024
1 parent a1440d5 commit 64ac268
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 129 deletions.
183 changes: 147 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"wrangler": "^3.47.1"
"wrangler": "^3.51.2"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
stream = false
}
if (model.includes('gpt-4') || model.includes('gpt-3')) {
model = '@cf/meta/llama-2-7b-chat-fp16'
model = '@cf/meta/llama-3-8b-instruct'
}

console.log('new model', model)
Expand Down

0 comments on commit 64ac268

Please sign in to comment.