How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="mmnga/RakutenAI-7B-instruct-gguf",
	filename="",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

RakutenAI-7B-instruct-gguf

Rakutenさんが公開しているRakutenAI-7B-instructのggufフォーマット変換版です。 こちらはベースモデルになります。

他のモデル

mmnga/RakutenAI-7B-instruct-gguf
mmnga/RakutenAI-7B-chat-gguf
mmnga/RakutenAI-7B-gguf

Usage

git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
make -j
./main -m 'RakutenAI-7B-instruct-q4_0.gguf' -p "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: 「馬が合う」はどう言う意味ですか ASSISTANT: " -n 128 
Downloads last month
75
GGUF
Model size
7B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support