Spaces:
Running
Running
Commit
·
3cb3466
1
Parent(s):
4a8a120
change to llama380b
Browse files- public/esltool.js +2 -2
- public/model.js +1 -1
public/esltool.js
CHANGED
|
@@ -3,7 +3,7 @@ import { view } from "./view.js";
|
|
| 3 |
|
| 4 |
|
| 5 |
let config = {
|
| 6 |
-
first_language: '
|
| 7 |
second_language: 'English'
|
| 8 |
}
|
| 9 |
|
|
@@ -81,7 +81,7 @@ function ask(prompt) {
|
|
| 81 |
utils.displayMarkdown(prompt+'...');
|
| 82 |
utils.AIComplete(prompt,{
|
| 83 |
url: '/openai/v1/chat/completions',
|
| 84 |
-
model: 'llama3-
|
| 85 |
max_tokens:8000,
|
| 86 |
});
|
| 87 |
}
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
let config = {
|
| 6 |
+
first_language: 'にほんご,中文',
|
| 7 |
second_language: 'English'
|
| 8 |
}
|
| 9 |
|
|
|
|
| 81 |
utils.displayMarkdown(prompt+'...');
|
| 82 |
utils.AIComplete(prompt,{
|
| 83 |
url: '/openai/v1/chat/completions',
|
| 84 |
+
model: 'llama3-70b-8192',
|
| 85 |
max_tokens:8000,
|
| 86 |
});
|
| 87 |
}
|
public/model.js
CHANGED
|
@@ -12,7 +12,7 @@ const appModel = {
|
|
| 12 |
isRecording: false,
|
| 13 |
llm_model_info: {
|
| 14 |
url: '/openai/v1/chat/completions',
|
| 15 |
-
model: 'llama3-
|
| 16 |
max_tokens:8000,
|
| 17 |
},
|
| 18 |
|
|
|
|
| 12 |
isRecording: false,
|
| 13 |
llm_model_info: {
|
| 14 |
url: '/openai/v1/chat/completions',
|
| 15 |
+
model: 'llama3-70b-8192',
|
| 16 |
max_tokens:8000,
|
| 17 |
},
|
| 18 |
|