Skip to content

Commit

Permalink
feat: update Built-in default models
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Jul 10, 2024
1 parent eec0724 commit 5e3cf7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
24 changes: 1 addition & 23 deletions Easydict/Swift/Service/BuiltInAI/BuiltInAIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,11 @@ class BuiltInAIService: BaseOpenAIService {
[
// Groq free models https://console.groq.com/docs/models
"llama3-70b-8192", // 30 RPM
"gemma2-9b-it",
"mixtral-8x7b-32768",

// Google Gemini https://ai.google.dev/pricing?hl=zh-cn
"gemini-1.0-pro", // free 15 RPM
"gemini-1.5-flash", // free 15 RPM
"gemini-1.5-pro", // free 15 RPM

/**
阿里通义千问 DashScope
https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-7b-14b-72b-metering-and-billing
*/
"qwen1.5-32b-chat", // 有效期:2024-06-19,1,000,000 tokens 免费额度
"qwen-turbo", // free total 2,000,000 tokens, until 8.12
"baichuan2-13b-chat-v1", // free until 8.12, total 1,000,000 tokens
"deepseek-7b-chat", // 开通DashScope即获赠总计 1,000,000 tokens 限时免费使用额度,有效期180天。
"internlm-7b-chat", // 开通DashScope即获赠总计 1,000,000 tokens 限时免费使用额度,有效期180天。

/**
百度千帆大模型
5月21日起,百度智能云千帆大模型平台ModelBuilder中ERNIE-Speed、ERNIE-Lite、ERNIE-Tiny系列模型Tokens后付费的服务对客户免费开放使用,具体包括ERNIE-Speed-8K、ERNIE-Speed-128K、ERNIE-Speed-AppBuilder专用版、ERNIE-Lite-8K、ERNIE-Lite-8K-0922、ERNIE-Lite-128K(即将上线)、ERNIE-Tiny共计7款模型的预置服务
https://cloud.baidu.com/doc/WENXINWORKSHOP/s/wlwg8f1i3
*/
"ernie_speed", // ERNIE-Speed-8K, it has a higher RPM(300) than ERNIE-Speed-128K(RPM=60)
"ernie-lite-8k",
]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ - (void)setup {

self.eventMonitor = [EZEventMonitor shared];
[self setupEventMonitor];

[self fixedWindow];
}

- (void)setupEventMonitor {
Expand Down

0 comments on commit 5e3cf7e

Please sign in to comment.