Views
No views yet
rinna/nekomata-14b-instruction-gguf
rinna/nekomata-14b-instruction. It can be used with llama.cpp for lightweight inference.rinna/nekomata-14b-instruction for details about model architecture and data.1git clone https://github.com/ggerganov/llama.cpp
2cd llama.cpp
3make
4
5MODEL_PATH=/path/to/nekomata-14b-instruction-gguf/nekomata-14b-instruction.Q4_K_M.gguf
6MAX_N_TOKENS=512
7PROMPT_INSTRUCTION="次の日本語を英語に翻訳してください。"
8PROMPT_INPUT="大規模言語モデル(だいきぼげんごモデル、英: large language model、LLM)は、多数のパラメータ(数千万から数十億)を持つ人工ニューラルネットワークで構成されるコンピュータ言語モデルで、膨大なラベルなしテキストを使用して自己教師あり学習または半教師あり学習によって訓練が行われる。"
9PROMPT="以下は、タスクを説明する指示と、文脈のある入力の組み合わせです。要求を適切に満たす応答を書きなさい。\n\n### 指示:\n${PROMPT_INSTRUCTION}\n\n### 入力:\n${PROMPT_INPUT}\n\n### 応答:\n"
10
11./main -m ${MODEL_PATH} -n ${MAX_N_TOKENS} -p "${PROMPT}"rinna/nekomata-14b for tokenization details.1@misc{rinna-nekomata-14b-instruction-gguf,
2 title = {rinna/nekomata-14b-instruction-gguf},
3 author = {Wakatsuki, Toshiaki and Zhao, Tianyu and Sawada, Kei},
4 url = {https://huggingface.co/rinna/nekomata-14b-instruction-gguf}
5}
6
7@inproceedings{sawada2024release,
8 title = {Release of Pre-Trained Models for the {J}apanese Language},
9 author = {Sawada, Kei and Zhao, Tianyu and Shing, Makoto and Mitsui, Kentaro and Kaga, Akio and Hono, Yukiya and Wakatsuki, Toshiaki and Mitsuda, Koh},
10 booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
11 month = {5},
12 year = {2024},
13 pages = {13898--13905},
14 url = {https://aclanthology.org/2024.lrec-main.1213},
15 note = {\url{https://arxiv.org/abs/2404.01657}}
16}