Edit model card

The original model is RakutenAI-7B-chat.

name size
ggml-model-f16.gguf 14.7GB
ggml-model-Q4_K_M.gguf 4.46GB
ggml-model-Q5_K_M.gguf 5.23GB
ggml-model-Q5_K_S.gguf 5.1GB
ggml-model-Q6_K.gguf

Usage with llama-cpp

from llama_cpp import Llama
import ctypes

llm = Llama(model_path="/content/ggml-model-Q4_K_M.gguf", n_gpu_layers=32)

prompt="東京について教えてください。"
input_prompt = f"""
[INST] <>
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe.  Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.

If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
<>
{prompt} [/INST]
"""

output = llm(
    input_prompt,
    max_tokens=2048,
)

print(output["choices"][0]["text"])

output


はい、東京は、日本の首都です。日本最大の都市で、世界でも有数の大都市です。東京は世界有数の経済都市であり、日本経済の中心地でもあります。東京には、世界有数の観光スポット、博物館、美術館、ショッピングセンター、レストラン、劇場、娯楽施設などが数多くあります。東京は、日本の文化、歴史、伝統、芸術、科学技術の最先端を体験するのに最適な場所です。東京では、東京スカイツリー、上野公園の梅花苑、東京スカイツリー、東京国立博物館、東京タワー、六本木ヒルズ、東京スカイツリータウンなどの観光スポットが人気です。東京を訪れるなら、江戸時代の伝統文化を体験することができる浅草寺や、日本料理や和菓子の食べ物を楽しめるおすすめの場所で、東京の伝統的な文化を体験することができます。東京には、歴史的に重要で、世界的に有名な場所もあります。たとえば、東京国立博物館、江戸東京博物館、東京国立博物館、東京国立博物館、東京国立博物館などの博物館があります。東京では、東京オリンピックや、世界最大級の国際会議やイベントなど、世界的に有名なイベントが開催されることもあります。東京には、世界有数の企業や、日本の政府機関や国際機関が数多くあります。東京は世界有数のビジネス都市であり、国際的な金融センターでもあります。東京で人気の観光スポットとしては、東京スカイツリー、上野公園の梅花苑、東京スカイツリー、東京タワー、六本木ヒルズ、東京スカイツリータウンなどの施設があります。東京を訪れるなら、江戸時代の伝統文化を体験することができる浅草寺や、日本料理や和菓子の食べ物を楽しめる

Google Colab https://github.com/koji/GoogleColab/blob/main/RakutenAI_7B_chat_Quantized_model_test.ipynb

Downloads last month
95
GGUF
Model size
7.37B params
Architecture
llama
Unable to determine this model's library. Check the docs .