
# `rinna/nekomata-7b-gguf`

![rinna-icon](./rinna.png)

# Overview
The model is the GGUF version of [`rinna/nekomata-7b`](https://huggingface.co/rinna/nekomata-7b). It can be used with [llama.cpp](https://github.com/ggerganov/llama.cpp) for lightweight inference.

Quantization of this model may cause stability issue in GPTQ, AWQ and GGUF q4_0. We recommend **GGUF q4_K_M** for 4-bit quantization.

See [`rinna/nekomata-7b`](https://huggingface.co/rinna/nekomata-7b) for details about model architecture and data.

* **Authors**

    - [Toshiaki Wakatsuki](https://huggingface.co/t-w)
    - [Tianyu Zhao](https://huggingface.co/tianyuz)
    - [Kei Sawada](https://huggingface.co/keisawada)
    
---

# How to use the model

See [llama.cpp](https://github.com/ggerganov/llama.cpp) for more usage details.

~~~~bash
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
make

MODEL_PATH=/path/to/nekomata-7b-gguf/nekomata-7b.Q4_K_M.gguf
MAX_N_TOKENS=128
PROMPT="西田幾多郎は、"

./main -m ${MODEL_PATH} -n ${MAX_N_TOKENS} -p "${PROMPT}"
~~~~

---

# Tokenization
Please refer to [`rinna/nekomata-7b`](https://huggingface.co/rinna/nekomata-7b) for tokenization details.

---

# How to cite
~~~
@misc{RinnaNekomata7bGGUF, 
    url={https://huggingface.co/rinna/nekomata-7b-gguf}, 
    title={rinna/nekomata-7b-gguf}, 
    author={Wakatsuki, Toshiaki and Zhao, Tianyu and Sawada, Kei}
}
~~~
---

# License
[Tongyi Qianwen LICENSE AGREEMENT](https://github.com/QwenLM/Qwen/blob/main/Tongyi%20Qianwen%20LICENSE%20AGREEMENT)
{"language": ["ja", "en"], "tags": ["qwen"], "thumbnail": "https://github.com/rinnakk/japanese-pretrained-models/blob/master/rinna.png", "inference": false}
gguf qwen ja en region:us