初始化项目,由ModelHub XC社区提供模型

Model: RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-10-12 00:13:19 +08:00
commit 776b7936ad
24 changed files with 274 additions and 0 deletions

57
.gitattributes vendored Normal file
View File

@@ -0,0 +1,57 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q3_K.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q4_K.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q5_K.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
openchat-3.5-0106-gemma.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text

151
README.md Normal file
View File

@@ -0,0 +1,151 @@
Quantization made by Richard Erkhov.
[Github](https://github.com/RichardErkhov)
[Discord](https://discord.gg/pvy7H8DZMG)
[Request more models](https://github.com/RichardErkhov/quant_request)
openchat-3.5-0106-gemma - GGUF
- Model creator: https://huggingface.co/openchat/
- Original model: https://huggingface.co/openchat/openchat-3.5-0106-gemma/
| Name | Quant method | Size |
| ---- | ---- | ---- |
| [openchat-3.5-0106-gemma.Q2_K.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q2_K.gguf) | Q2_K | 3.24GB |
| [openchat-3.5-0106-gemma.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.IQ3_XS.gguf) | IQ3_XS | 3.54GB |
| [openchat-3.5-0106-gemma.IQ3_S.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.IQ3_S.gguf) | IQ3_S | 3.71GB |
| [openchat-3.5-0106-gemma.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q3_K_S.gguf) | Q3_K_S | 3.71GB |
| [openchat-3.5-0106-gemma.IQ3_M.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.IQ3_M.gguf) | IQ3_M | 3.82GB |
| [openchat-3.5-0106-gemma.Q3_K.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q3_K.gguf) | Q3_K | 4.07GB |
| [openchat-3.5-0106-gemma.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q3_K_M.gguf) | Q3_K_M | 4.07GB |
| [openchat-3.5-0106-gemma.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q3_K_L.gguf) | Q3_K_L | 4.39GB |
| [openchat-3.5-0106-gemma.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.IQ4_XS.gguf) | IQ4_XS | 4.48GB |
| [openchat-3.5-0106-gemma.Q4_0.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q4_0.gguf) | Q4_0 | 4.67GB |
| [openchat-3.5-0106-gemma.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.IQ4_NL.gguf) | IQ4_NL | 4.69GB |
| [openchat-3.5-0106-gemma.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q4_K_S.gguf) | Q4_K_S | 4.7GB |
| [openchat-3.5-0106-gemma.Q4_K.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q4_K.gguf) | Q4_K | 4.96GB |
| [openchat-3.5-0106-gemma.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q4_K_M.gguf) | Q4_K_M | 4.96GB |
| [openchat-3.5-0106-gemma.Q4_1.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q4_1.gguf) | Q4_1 | 5.12GB |
| [openchat-3.5-0106-gemma.Q5_0.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q5_0.gguf) | Q5_0 | 5.57GB |
| [openchat-3.5-0106-gemma.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q5_K_S.gguf) | Q5_K_S | 5.57GB |
| [openchat-3.5-0106-gemma.Q5_K.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q5_K.gguf) | Q5_K | 5.72GB |
| [openchat-3.5-0106-gemma.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q5_K_M.gguf) | Q5_K_M | 5.72GB |
| [openchat-3.5-0106-gemma.Q5_1.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q5_1.gguf) | Q5_1 | 6.02GB |
| [openchat-3.5-0106-gemma.Q6_K.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q6_K.gguf) | Q6_K | 6.53GB |
| [openchat-3.5-0106-gemma.Q8_0.gguf](https://huggingface.co/RichardErkhov/openchat_-_openchat-3.5-0106-gemma-gguf/blob/main/openchat-3.5-0106-gemma.Q8_0.gguf) | Q8_0 | 8.45GB |
Original model description:
---
license: other
license_name: gemma-terms-of-use
license_link: https://ai.google.dev/gemma/terms
---
<div align="center">
<a>
<img src="https://cdn-uploads.huggingface.co/production/uploads/63972847b3e2256c9ce1307b/Ez9cDw8xstbTKlFtBgbVs.png" >
</a>
</div>
## The highest performing Gemma model in the world. Trained with OpenChat's C-RLFT on openchat-3.5-0106 data. Achieving similar performance to Mistral-based openchat, and much better than Gemma-7b and Gemma-7b-it.
Please refer to [openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106) for details.
> P.S.: 6T pre-training tokens + 0.003 init std dev + C-RLFT is the secret sauce?
>
> P.P.S.: @Google team, we know your model is great, but please use an OSI-approved license like Mistral (or even Phi and Orca).
## Benchmarks
| Model | # Params | Average | MT-Bench | HumanEval | BBH MC | AGIEval | TruthfulQA | MMLU | GSM8K | BBH CoT |
|-----------------------------|----------|----------|----------|-----------|----------|----------|------------|----------|----------|----------|
| **OpenChat-3.5-0106 Gemma** | **7B** | 64.4 | 7.83 | 67.7 | **52.7** | **50.2** | 55.4 | 65.7 | **81.5** | 63.7 |
| OpenChat-3.5-0106 Mistral | **7B** | **64.5** | 7.8 | **71.3** | 51.5 | 49.1 | **61.0** | 65.8 | 77.4 | 62.2 |
| ChatGPT (March) | ???B | 61.5 | **7.94** | 48.1 | 47.6 | 47.1 | 57.7 | **67.3** | 74.9 | **70.1** |
| | | | | | | | | | | |
| Gemma-7B | 7B | - | - | 32.3 | - | 41.7 | - | 64.3 | 46.4 | - |
| Gemma-7B-it * | 7B | 25.4 | - | 28.0 | 38.4 | 32.5 | 34.1 | 26.5 | 10.8 | 7.6 |
| OpenHermes 2.5 | 7B | 59.3 | 7.54 | 48.2 | 49.4 | 46.5 | 57.5 | 63.8 | 73.5 | 59.9 |
*: `Gemma-7b-it` failed to understand and follow most few-shot templates.
## Usage
To use this model, we highly recommend installing the OpenChat package by following the [installation guide](https://github.com/imoneoi/openchat#installation) 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](https://github.com/vllm-project/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](https://platform.openai.com/docs/api-reference/chat). Please refer to the example request below for reference. Additionally, you can use the [OpenChat Web UI](https://github.com/imoneoi/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](https://fastapi.tiangolo.com/es/deployment/concepts/#security-https) in front of the server.
| Model | Size | Context | Weights | Serving |
|-------------------------|------|---------|------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
| OpenChat-3.5-0106-Gemma | 7B | 8192 | [Huggingface](https://huggingface.co/openchat/openchat-3.5-0106-gemma) | `python -m ochat.serving.openai_api_server --model openchat/openchat-3.5-0106-gemma --engine-use-ray --worker-use-ray` |
<details>
<summary>Example request (click to expand)</summary>
```bash
curl http://localhost:18888/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "openchat_3.5_gemma_new",
"messages": [{"role": "user", "content": "You are a large language model named OpenChat. Write a poem to describe yourself"}]
}'
```
</details>
## Conversation template
⚠️ **Notice:** This is different from the Mistral version. End-of-turn token is `<end_of_turn>` now (Mistral version is `<|end_of_turn|>`). Remember to set `<end_of_turn>` as end of generation token.
```
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:
```
With system message (**NOT** recommended, may degrade performance)
```
You are a helpful assistant.<end_of_turn>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:
```
## 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.
<div align="center">
<h2> License </h2>
</div>
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}
}
```
<div align="center">
<h2> 💌 Contact </h2>
</div>
**Project Lead:**
- Guan Wang [imonenext at gmail dot com]
- [Alpay Ariyak](https://github.com/alpayariyak) [aariyak at wpi dot edu]

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40ac2b07896aca8391245b30c29baa971c424c04b818eed7f2a4e745fd477d3e
size 4106071456

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:412dadeed053a70edb5b53d6b8e072b1b82e060f86a9a5e5a6c58815ff64bdc0
size 3982405024

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:875e2d4cc26582679c25a28fde8f99e27fe73db89a70aeaaea135b1776d4b9ec
size 3800739232

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a190a368a1d8efc639805e4f5adfc950d46d4b30e0435d72e9aed53104bf4ac
size 5040156064

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d19b1bf7d79cb06ae87d8f137f54c23a7ba40dbf73306a622585b8a78f0d872
size 4805012896

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60f15fb44c348d61f8949f6090864ac53bc0003abc63b7e092633ae4449eac4f
size 3481447840

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d87a11b9ae7fcd69764e4633033d73b464f0a639e554f8695e19aebc6171043
size 4369329568

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f79ccd7fca114218a546ac5b03b95668e6fb349cfc6afadb452d71bc54b1f7f
size 4709068192

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d87a11b9ae7fcd69764e4633033d73b464f0a639e554f8695e19aebc6171043
size 4369329568

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f9008a9a6b84e6f40145e9e999890836d011c4a4d07752766afd4f70f32f3dd
size 3982405024

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4f5c7a9f8b735ff56a9e60b2484a62bbae65e0e135ad0e07642a821cacb1a56
size 5011844512

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2be8a6b03f580ebac98a6d57d3caf6ce28ad58fad7c4a4a6e96b5942c08cfee
size 5496286624

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c39a4433d7ad52db5cd9fe3b4035f0e63e962d4dc873f6ea3eef7259102313c
size 5329759648

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c39a4433d7ad52db5cd9fe3b4035f0e63e962d4dc873f6ea3eef7259102313c
size 5329759648

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e46f68317dcb92c08db9120a38a3c1c61112bc2fa57abc6edef90af3903ca1a
size 5046447520

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1190e3c8615c7fbf65853385c0a86b0d1a41a5227069cc53a7091752ccaf4da7
size 5980728736

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c43cf6d95b57d1e28c126eee3102f1821b3a1a658b2c927f2266b79f17ff5021
size 6465170848

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6fb92883379296b03f3459204316d3b1d489b23db5e4edfe36f098056d268ca
size 6144503200

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6fb92883379296b03f3459204316d3b1d489b23db5e4edfe36f098056d268ca
size 6144503200

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38c42c577daa8e4ae101fc07a555e712df4870d1e8630baa011283e078533676
size 5980728736

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a9875bb7e121f0843d7b3f89284593cccaf63a5071b44932edcb7205c452619
size 7010168224

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3cd125d7656f708660597c9000116f7afcc594fd082d6ecc02a1125bf4629a31
size 9077845408