To use this model, we highly recommend installing the OpenChat package by following the
installation guide
in our repository and using the OpenChat OpenAI-compatible API server by running the serving command from the table below. The server is optimized for high-throughput deployment using
vLLM
and can run on a consumer GPU with 24GB RAM. To enable tensor parallelism, append
--tensor-parallel-size N
to the serving command.
Once started, the server listens at
localhost:18888
for requests and is compatible with the
OpenAI ChatCompletion API specifications
. Please refer to the example request below for reference. Additionally, you can use the
OpenChat Web UI
for a user-friendly experience.
If you want to deploy the server as an online service, you can use
--api-keys sk-KEY1 sk-KEY2 ...
to specify allowed API keys and
--disable-log-requests --disable-log-stats --log-file openchat.log
for logging only to a file. For security purposes, we recommend using an
HTTPS gateway
in front of the server.
💡
Default Mode (GPT4 Correct)
: Best for coding, chat and general tasks
curl http://localhost:18888/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{ "model": "openchat_3.5", "messages": [{"role": "user", "content": "You are a large language model named OpenChat. Write a poem to describe yourself"}] }'
🧮
Mathematical Reasoning Mode
: Tailored for solving math problems
💡
Default Mode (GPT4 Correct)
: Best for coding, chat and general tasks
GPT4 Correct User: Hello<|end_of_turn|>GPT4 Correct Assistant: Hi<|end_of_turn|>GPT4 Correct User: How are you today?<|end_of_turn|>GPT4 Correct Assistant:
🧮
Mathematical Reasoning Mode
: Tailored for solving math problems
Math Correct User: 10.3 − 7988.8133=<|end_of_turn|>Math Correct Assistant:
⚠️
Notice:
Remember to set
<|end_of_turn|>
as end of generation token.
The default (GPT4 Correct) template is also available as the integrated
tokenizer.chat_template
,
which can be used instead of manually specifying the template:
We've included evaluator capabilities in this release to advance open-source models as evaluators. You can use
Default Mode (GPT4 Correct)
with the following prompt (same as
Prometheus
) to evaluate a response.
###Task Description:
An instruction (might include an Input inside it), a response to evaluate, a reference answer that gets a score of 5, and a score rubric representing a evaluation criteria are given.
1. Write a detailed feedback that assess the quality of the response strictly based on the given score rubric, not evaluating in general.
2. After writing a feedback, write a score that is an integer between 1 and 5. You should refer to the score rubric.
3. The output format should look as follows: "Feedback: (write a feedback for criteria) [RESULT] (an integer number between 1 and 5)"
4. Please do not generate any other opening, closing, and explanations.
###The instruction to evaluate:
{orig_instruction}
###Response to evaluate:
{orig_response}
###Reference Answer (Score 5):
{orig_reference_answer}
###Score Rubrics:
[{orig_criteria}]
Score 1: {orig_score1_description}
Score 2: {orig_score2_description}
Score 3: {orig_score3_description}
Score 4: {orig_score4_description}
Score 5: {orig_score5_description}
###Feedback:
^: Zephyr-β often fails to follow few-shot CoT instructions, likely because it was aligned with only chat data but not trained on few-shot data.
**: Mistral and Open-source SOTA results are taken from reported results in instruction-tuned model papers and official repositories.
All models are evaluated in chat mode (e.g. with the respective conversation template applied). All zero-shot benchmarks follow the same setting as in the AGIEval paper and Orca paper. CoT tasks use the same configuration as Chain-of-Thought Hub, HumanEval is evaluated with EvalPlus, and MT-bench is run using FastChat. To reproduce our results, follow the instructions in
our repository
.
HumanEval+
Model
Size
HumanEval+ pass@1
OpenChat-3.5-0106
7B
65.9
ChatGPT (December 12, 2023)
???B
64.6
WizardCoder-Python-34B-V1.0
34B
64.6
OpenChat 3.5 1210
7B
63.4
OpenHermes 2.5
7B
41.5
OpenChat-3.5 vs. Grok
🔥 OpenChat-3.5-0106 (7B) now outperforms Grok-0 (33B) on
all 4 benchmarks
and Grok-1 (???B) on average and
3/4 benchmarks
.
Foundation Model Limitations
Despite its advanced capabilities, OpenChat is still bound by the limitations inherent in its foundation models. These limitations may impact the model's performance in areas such as:
Complex reasoning
Mathematical and arithmetic tasks
Programming and coding challenges
Hallucination of Non-existent Information
OpenChat may sometimes generate information that does not exist or is not accurate, also known as "hallucination". Users should be aware of this possibility and verify any critical information obtained from the model.
Safety
OpenChat may sometimes generate harmful, hate speech, biased responses, or answer unsafe questions. It's crucial to apply additional AI safety measures in use cases that require safe and moderated responses.
License
Our OpenChat 3.5 code and models are distributed under the Apache License 2.0.
Citation
@article{wang2023openchat,
title={OpenChat: Advancing Open-source Language Models with Mixed-Quality Data},
author={Wang, Guan and Cheng, Sijie and Zhan, Xianyuan and Li, Xiangang and Song, Sen and Liu, Yang},
journal={arXiv preprint arXiv:2309.11235},
year={2023}
}
openchat-3.5-0106 huggingface.co is an AI model on huggingface.co that provides openchat-3.5-0106's model effect (), which can be used instantly with this vicky4s4s openchat-3.5-0106 model. huggingface.co supports a free trial of the openchat-3.5-0106 model, and also provides paid use of the openchat-3.5-0106. Support call openchat-3.5-0106 model through api, including Node.js, Python, http.
openchat-3.5-0106 huggingface.co is an online trial and call api platform, which integrates openchat-3.5-0106's modeling effects, including api services, and provides a free online trial of openchat-3.5-0106, you can try openchat-3.5-0106 online for free by clicking the link below.
vicky4s4s openchat-3.5-0106 online free url in huggingface.co:
openchat-3.5-0106 is an open source model from GitHub that offers a free installation service, and any user can find openchat-3.5-0106 on GitHub to install. At the same time, huggingface.co provides the effect of openchat-3.5-0106 install, users can directly use openchat-3.5-0106 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.