Skip to content

Commit

Permalink
[refactor] the config.yaml to make the model setting looks more logical
Browse files Browse the repository at this point in the history
  • Loading branch information
lanbitou-tech committed Jan 26, 2024
1 parent 7d7e4f2 commit e1df753
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 45 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ English | [简体中文](docs/README_zh-CN.md)


## Latest Progress 🎉

- \[January 2024\] refactor the config-template.yaml to control the backend and the frontend settings at the same time, [click](https://github.com/InternLM/OpenAOE/blob/main/docs/tech-report/config-template.md) to find more introduction about the `config-template.yaml`
- \[January 2024\] Add internlm2-chat-7b model
- \[January 2024\] Released version v0.0.1, officially open source!
______________________________________________________________________

Expand Down
Empty file.
6 changes: 4 additions & 2 deletions docs/todo/TODO.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### TODO

- [x] set the workers to 3
- [ ] add Gemini model
- [x] refacotor the config.yaml to make the model setting looks more logical
- [x] add internlm2-chat-7b model as default
- [ ] add Gemini model as default
- [x] refactor the config.yaml to make the model setting looks more logical
- [ ] dynamic add new model by editing external python files and the config.yaml
- [ ] build frontend project when OpenAOE start up
2 changes: 1 addition & 1 deletion openaoe/backend/service/service_internlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def chat_completion_v1(request, body: InternlmChatCompletionBody):
"top_p": body.top_p,
"n": body.n,
"max_tokens": body.max_tokens,
"stop": False,
"stop": "false",
"stream": body.stream,
"presence_penalty": body.presence_penalty,
"frequency_penalty": body.frequency_penalty,
Expand Down
1 change: 0 additions & 1 deletion openaoe/frontend/dist/assets/claude-bd5f04f1.svg

This file was deleted.

8 changes: 8 additions & 0 deletions openaoe/frontend/dist/assets/index-cf574748.js

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions openaoe/frontend/dist/assets/index-d0401642.js

This file was deleted.

27 changes: 0 additions & 27 deletions openaoe/frontend/dist/assets/internlm-7cc58d2e.svg

This file was deleted.

Binary file removed openaoe/frontend/dist/assets/minimax-6a0e4e4d.png
Binary file not shown.
1 change: 0 additions & 1 deletion openaoe/frontend/dist/assets/openai-6f4a287b.svg

This file was deleted.

3 changes: 0 additions & 3 deletions openaoe/frontend/dist/assets/spark-7fb32fd7.svg

This file was deleted.

4 changes: 2 additions & 2 deletions openaoe/frontend/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
}
}
</style>
<script type="module" crossorigin src="./assets/index-e351f658.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vendor-98eade59.js">
<script type="module" crossorigin src="./assets/index-cf574748.js"></script>
<link rel="modulepreload" crossorigin href="./assets/vendor-0b33134f.js">
<link rel="stylesheet" href="./assets/index-d5c224e8.css">
</head>
<body>
Expand Down

0 comments on commit e1df753

Please sign in to comment.