mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
docs
This commit is contained in:
parent
b8a1f4031e
commit
9486b58ca0
@ -1,19 +0,0 @@
|
||||
## Freely Available Large Model APIs
|
||||
|
||||
### **DeepInfra**
|
||||
|
||||
**API Endpoint** `https://api.deepinfra.com/v1/openai/chat/completions`
|
||||
|
||||
**API Key** **The API Key must be set to empty, otherwise it will result in an error.**
|
||||
|
||||
**Model** You can view the currently available models at [https://deepinfra.com/chat](https://deepinfra.com/chat). As of the time of writing this document, the freely available models are: `meta-llama/Meta-Llama-3.1-405B-Instruct` `meta-llama/Meta-Llama-3.1-70B-Instruct` `meta-llama/Meta-Llama-3.1-8B-Instruct` `mistralai/Mixtral-8x22B-Instruct-v0.1` `mistralai/Mixtral-8x7B-Instruct-v0.1` `microsoft/WizardLM-2-8x22B` `microsoft/WizardLM-2-7B` `Qwen/Qwen2.5-72B-Instruct` `Qwen/Qwen2-72B-Instruct` `Qwen/Qwen2-7B-Instruct` `microsoft/Phi-3-medium-4k-instruct` `google/gemma-2-27b-it` `openbmb/MiniCPM-Llama3-V-2_5` `mistralai/Mistral-7B-Instruct-v0.3` `lizpreciatior/lzlv_70b_fp16_hf` `openchat/openchat_3.5` `openchat/openchat-3.6-8b` `Phind/Phind-CodeLlama-34B-v2` `Gryphe/MythoMax-L2-13b` `cognitivecomputations/dolphin-2.9.1-llama-3-70b`
|
||||
|
||||
### **Cerebras**
|
||||
|
||||
**API Endpoint** `https://api.cerebras.ai/v1/chat/completions`
|
||||
|
||||
**Model** Supports `llama3.1-8b` `llama3.1-70b`
|
||||
|
||||
**API Key** After selecting a model and sending a message on [https://inference.cerebras.ai](https://inference.cerebras.ai/), you can intercept the request and check the current `Headers` -> `Request Headers` -> `Authorization` value, which is `Bearer demo-xxxxhahaha`, where `demo-xxxxhahaha` is the API Key.
|
||||
|
||||
![Cerebras API Key](https://image.lunatranslator.org/zh/damoxing/cerebras.png)
|
@ -61,6 +61,24 @@
|
||||
|
||||
Replace `{endpoint}` and `{deployName}` with your endpoint and deployName.
|
||||
|
||||
### **DeepInfra**
|
||||
|
||||
**API Endpoint** `https://api.deepinfra.com/v1/openai/chat/completions`
|
||||
|
||||
**API Key** **The API Key must be set to empty, otherwise it will result in an error.**
|
||||
|
||||
**Model** You can view the currently available models at [https://deepinfra.com/chat](https://deepinfra.com/chat). As of the time of writing this document, the freely available models are: `meta-llama/Meta-Llama-3.1-405B-Instruct` `meta-llama/Meta-Llama-3.1-70B-Instruct` `meta-llama/Meta-Llama-3.1-8B-Instruct` `mistralai/Mixtral-8x22B-Instruct-v0.1` `mistralai/Mixtral-8x7B-Instruct-v0.1` `microsoft/WizardLM-2-8x22B` `microsoft/WizardLM-2-7B` `Qwen/Qwen2.5-72B-Instruct` `Qwen/Qwen2-72B-Instruct` `Qwen/Qwen2-7B-Instruct` `microsoft/Phi-3-medium-4k-instruct` `google/gemma-2-27b-it` `openbmb/MiniCPM-Llama3-V-2_5` `mistralai/Mistral-7B-Instruct-v0.3` `lizpreciatior/lzlv_70b_fp16_hf` `openchat/openchat_3.5` `openchat/openchat-3.6-8b` `Phind/Phind-CodeLlama-34B-v2` `Gryphe/MythoMax-L2-13b` `cognitivecomputations/dolphin-2.9.1-llama-3-70b`
|
||||
|
||||
### **Cerebras**
|
||||
|
||||
**API Endpoint** `https://api.cerebras.ai/v1/chat/completions`
|
||||
|
||||
**Model** Supports `llama3.1-8b` `llama3.1-70b`
|
||||
|
||||
**API Key** After selecting a model and sending a message on [https://inference.cerebras.ai](https://inference.cerebras.ai/), you can intercept the request and check the current `Headers` -> `Request Headers` -> `Authorization` value, which is `Bearer demo-xxxxhahaha`, where `demo-xxxxhahaha` is the API Key.
|
||||
|
||||
![Cerebras API Key](https://image.lunatranslator.org/zh/damoxing/cerebras.png)
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
#### Domestic Large Model Interfaces
|
||||
|
@ -22,7 +22,6 @@
|
||||
- [Debugging browser translation](/en/tiaoshiliulanqi.md)
|
||||
- [Using Large Model API for Translation](/en/guochandamoxing.md)
|
||||
- [Using Large Model Offline Translation](/en/offlinellm.md)
|
||||
- [Other Large Model APIs](/en/baipiaojiekou.md)
|
||||
- [Text Processing & Translation Optimization](/en/textprocess.redirect)
|
||||
- [Functions and Usage of Various Text Processing Methods](/en/textprocess.md)
|
||||
- [Functions of Various Translation Optimizations](/en/transoptimi.md)
|
||||
|
@ -1,19 +0,0 @@
|
||||
## Другие API больших моделей
|
||||
|
||||
### **DeepInfra**
|
||||
|
||||
**API Точка подключения** `https://api.deepinfra.com/v1/openai/chat/completions`
|
||||
|
||||
**API Ключ** **API Ключ должен быть установлен пустым, иначе произойдет ошибка.**
|
||||
|
||||
**Модель** Вы можете посмотреть доступные модели на [https://deepinfra.com/chat](https://deepinfra.com/chat). На момент написания этого документа, доступные бесплатные модели включают: `meta-llama/Meta-Llama-3.1-405B-Instruct` `meta-llama/Meta-Llama-3.1-70B-Instruct` `meta-llama/Meta-Llama-3.1-8B-Instruct` `mistralai/Mixtral-8x22B-Instruct-v0.1` `mistralai/Mixtral-8x7B-Instruct-v0.1` `microsoft/WizardLM-2-8x22B` `microsoft/WizardLM-2-7B` `Qwen/Qwen2.5-72B-Instruct` `Qwen/Qwen2-72B-Instruct` `Qwen/Qwen2-7B-Instruct` `microsoft/Phi-3-medium-4k-instruct` `google/gemma-2-27b-it` `openbmb/MiniCPM-Llama3-V-2_5` `mistralai/Mistral-7B-Instruct-v0.3` `lizpreciatior/lzlv_70b_fp16_hf` `openchat/openchat_3.5` `openchat/openchat-3.6-8b` `Phind/Phind-CodeLlama-34B-v2` `Gryphe/MythoMax-L2-13b` `cognitivecomputations/dolphin-2.9.1-llama-3-70b`
|
||||
|
||||
### **Cerebras**
|
||||
|
||||
**API Точка подключения** `https://api.cerebras.ai/v1/chat/completions`
|
||||
|
||||
**Модель** Поддерживает `llama3.1-8b` `llama3.1-70b`
|
||||
|
||||
**API Ключ** После выбора модели и отправки сообщения на [https://inference.cerebras.ai](https://inference.cerebras.ai/), вы можете перехватить запрос и проверить текущее значение `Заголовки` -> `Заголовки запроса` -> `Authorization`, которое будет `Bearer demo-xxxxhahaha`, где `demo-xxxxhahaha` является API Ключом.
|
||||
|
||||
![Ключ API Cerebras](https://image.lunatranslator.org/zh/damoxing/cerebras.png)
|
@ -61,6 +61,24 @@
|
||||
|
||||
Замените `{endpoint}` и `{deployName}` на ваш endpoint и deployName.
|
||||
|
||||
### **DeepInfra**
|
||||
|
||||
**API Точка подключения** `https://api.deepinfra.com/v1/openai/chat/completions`
|
||||
|
||||
**API Ключ** **API Ключ должен быть установлен пустым, иначе произойдет ошибка.**
|
||||
|
||||
**Модель** Вы можете посмотреть доступные модели на [https://deepinfra.com/chat](https://deepinfra.com/chat). На момент написания этого документа, доступные бесплатные модели включают: `meta-llama/Meta-Llama-3.1-405B-Instruct` `meta-llama/Meta-Llama-3.1-70B-Instruct` `meta-llama/Meta-Llama-3.1-8B-Instruct` `mistralai/Mixtral-8x22B-Instruct-v0.1` `mistralai/Mixtral-8x7B-Instruct-v0.1` `microsoft/WizardLM-2-8x22B` `microsoft/WizardLM-2-7B` `Qwen/Qwen2.5-72B-Instruct` `Qwen/Qwen2-72B-Instruct` `Qwen/Qwen2-7B-Instruct` `microsoft/Phi-3-medium-4k-instruct` `google/gemma-2-27b-it` `openbmb/MiniCPM-Llama3-V-2_5` `mistralai/Mistral-7B-Instruct-v0.3` `lizpreciatior/lzlv_70b_fp16_hf` `openchat/openchat_3.5` `openchat/openchat-3.6-8b` `Phind/Phind-CodeLlama-34B-v2` `Gryphe/MythoMax-L2-13b` `cognitivecomputations/dolphin-2.9.1-llama-3-70b`
|
||||
|
||||
### **Cerebras**
|
||||
|
||||
**API Точка подключения** `https://api.cerebras.ai/v1/chat/completions`
|
||||
|
||||
**Модель** Поддерживает `llama3.1-8b` `llama3.1-70b`
|
||||
|
||||
**API Ключ** После выбора модели и отправки сообщения на [https://inference.cerebras.ai](https://inference.cerebras.ai/), вы можете перехватить запрос и проверить текущее значение `Заголовки` -> `Заголовки запроса` -> `Authorization`, которое будет `Bearer demo-xxxxhahaha`, где `demo-xxxxhahaha` является API Ключом.
|
||||
|
||||
![Ключ API Cerebras](https://image.lunatranslator.org/zh/damoxing/cerebras.png)
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
#### Китайские интерфейсы больших моделей
|
||||
|
@ -22,7 +22,6 @@
|
||||
- [Отладка перевода браузера](/ru/tiaoshiliulanqi.md)
|
||||
- [Использование API большой модели для перевода](/ru/guochandamoxing.md)
|
||||
- [Использование офлайн-перевода большой модели](/ru/offlinellm.md)
|
||||
- [Другие API больших моделей](/ru/baipiaojiekou.md)
|
||||
- [Обработка текста и оптимизация перевода](/ru/textprocess.redirect)
|
||||
- [Функции и использование различных методов обработки текста](/ru/textprocess.md)
|
||||
- [Функции различных оптимизаций перевода](/ru/transoptimi.md)
|
||||
|
@ -1,20 +0,0 @@
|
||||
## 其他大模型API
|
||||
|
||||
### **deepinfra**
|
||||
|
||||
**API接口地址** `https://api.deepinfra.com/v1/openai/chat/completions`
|
||||
|
||||
**API Key** **必须把API Key设为空,否则会报错**
|
||||
|
||||
**model** 可以在 [https://deepinfra.com/chat](https://deepinfra.com/chat) 查看当前可用的模型。截止到撰写文档时,可以免费使用的模型是:`meta-llama/Meta-Llama-3.1-405B-Instruct` `meta-llama/Meta-Llama-3.1-70B-Instruct` `meta-llama/Meta-Llama-3.1-8B-Instruct` `mistralai/Mixtral-8x22B-Instruct-v0.1` `mistralai/Mixtral-8x7B-Instruct-v0.1` `microsoft/WizardLM-2-8x22B` `microsoft/WizardLM-2-7B` `Qwen/Qwen2.5-72B-Instruct` `Qwen/Qwen2-72B-Instruct` `Qwen/Qwen2-7B-Instruct` `microsoft/Phi-3-medium-4k-instruct` `google/gemma-2-27b-it` `openbmb/MiniCPM-Llama3-V-2_5` `mistralai/Mistral-7B-Instruct-v0.3` `lizpreciatior/lzlv_70b_fp16_hf` `openchat/openchat_3.5` `openchat/openchat-3.6-8b` `Phind/Phind-CodeLlama-34B-v2` `Gryphe/MythoMax-L2-13b` `cognitivecomputations/dolphin-2.9.1-llama-3-70b`
|
||||
|
||||
### **cerebras**
|
||||
|
||||
|
||||
**API接口地址** `https://api.cerebras.ai/v1/chat/completions`
|
||||
|
||||
**model** 支持`llama3.1-8b` `llama3.1-70b`
|
||||
|
||||
**API Key** 在 [https://inference.cerebras.ai](https://inference.cerebras.ai/) 选择模型随意发送消息后进行抓包,查看当前 `标头` -> `请求标头` -> `Authorization` 的值,其为 `Bearer demo-xxxxhahaha` ,其中 `demo-xxxxhahaha` 即为API Key
|
||||
|
||||
![img](https://image.lunatranslator.org/zh/damoxing/cerebras.png)
|
@ -63,6 +63,24 @@
|
||||
|
||||
其中,将`{endpoint}`和`{deployName}`替换成你的endpoint和deployName
|
||||
|
||||
### **deepinfra**
|
||||
|
||||
**API接口地址** `https://api.deepinfra.com/v1/openai/chat/completions`
|
||||
|
||||
**API Key** **必须把API Key设为空,否则会报错**
|
||||
|
||||
**model** 可以在 [https://deepinfra.com/chat](https://deepinfra.com/chat) 查看当前可用的模型。截止到撰写文档时,可以免费使用的模型是:`meta-llama/Meta-Llama-3.1-405B-Instruct` `meta-llama/Meta-Llama-3.1-70B-Instruct` `meta-llama/Meta-Llama-3.1-8B-Instruct` `mistralai/Mixtral-8x22B-Instruct-v0.1` `mistralai/Mixtral-8x7B-Instruct-v0.1` `microsoft/WizardLM-2-8x22B` `microsoft/WizardLM-2-7B` `Qwen/Qwen2.5-72B-Instruct` `Qwen/Qwen2-72B-Instruct` `Qwen/Qwen2-7B-Instruct` `microsoft/Phi-3-medium-4k-instruct` `google/gemma-2-27b-it` `openbmb/MiniCPM-Llama3-V-2_5` `mistralai/Mistral-7B-Instruct-v0.3` `lizpreciatior/lzlv_70b_fp16_hf` `openchat/openchat_3.5` `openchat/openchat-3.6-8b` `Phind/Phind-CodeLlama-34B-v2` `Gryphe/MythoMax-L2-13b` `cognitivecomputations/dolphin-2.9.1-llama-3-70b`
|
||||
|
||||
### **cerebras**
|
||||
|
||||
**API接口地址** `https://api.cerebras.ai/v1/chat/completions`
|
||||
|
||||
**model** 支持`llama3.1-8b` `llama3.1-70b`
|
||||
|
||||
**API Key** 在 [https://inference.cerebras.ai](https://inference.cerebras.ai/) 选择模型随意发送消息后进行抓包,查看当前 `标头` -> `请求标头` -> `Authorization` 的值,其为 `Bearer demo-xxxxhahaha` ,其中 `demo-xxxxhahaha` 即为API Key
|
||||
|
||||
![img](https://image.lunatranslator.org/zh/damoxing/cerebras.png)
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
#### 国产大模型接口
|
||||
|
@ -22,7 +22,6 @@
|
||||
- [调试浏览器翻译](/zh/tiaoshiliulanqi.md)
|
||||
- [使用大模型API翻译](/zh/guochandamoxing.md)
|
||||
- [使用大模型离线翻译](/zh/offlinellm.md)
|
||||
- [其他大模型API](/zh/baipiaojiekou.md)
|
||||
- [文本处理&翻译优化](/zh/textprocess.redirect)
|
||||
- [各种文本处理方法的作用和用法](/zh/textprocess.md)
|
||||
- [各种翻译优化的作用](/zh/transoptimi.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user