Skip to content

Commit

Permalink
Updated model: llama-3.1-70b
Browse files Browse the repository at this point in the history
  • Loading branch information
meethuhu committed Aug 15, 2024
1 parent 30e5788 commit ec5580b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ curl --location 'http://你的服务器ip:8080/v1/chat/completions' \

- ~~gpt-3.5-turbo~~ duckduckGO官方已移除3.5模型的支持
- claude-3-haiku
- llama-3-70b
- llama-3.1-70b
- mixtral-8x7b
- gpt-4o-mini
## 高级设置
Expand Down
4 changes: 2 additions & 2 deletions conversion/requests/duckgo/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ func ConvertAPIRequest(api_request officialtypes.APIRequest) duckgotypes.ApiRequ
realModel = "gpt-4o-mini"
case strings.HasPrefix(modelLower, "claude-3-haiku"):
realModel = "claude-3-haiku-20240307"
case strings.HasPrefix(modelLower, "llama-3-70b"):
realModel = "meta-llama/Llama-3-70b-chat-hf"
case strings.HasPrefix(modelLower, "llama-3.1-70b"):
realModel = "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo"
case strings.HasPrefix(modelLower, "mixtral-8x7b"):
realModel = "mistralai/Mixtral-8x7B-Instruct-v0.1"
}
Expand Down

0 comments on commit ec5580b

Please sign in to comment.