Instructions to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mmnga/karakuri-lm-70b-chat-v0.1-gguf", filename="karakuri-lm-70b-chat-v0.1-q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
Use Docker
docker model run hf.co/mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with Ollama:
ollama run hf.co/mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
- Unsloth Studio
How to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mmnga/karakuri-lm-70b-chat-v0.1-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mmnga/karakuri-lm-70b-chat-v0.1-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mmnga/karakuri-lm-70b-chat-v0.1-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with Docker Model Runner:
docker model run hf.co/mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
- Lemonade
How to use mmnga/karakuri-lm-70b-chat-v0.1-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mmnga/karakuri-lm-70b-chat-v0.1-gguf:Q4_K_M
Run and chat with the model
lemonade run user.karakuri-lm-70b-chat-v0.1-gguf-Q4_K_M
List all available models
lemonade list
karakuri-lm-70b-chat-v0.1-gguf
karakuri-aiさんが公開しているkarakuri-lm-70b-chat-v0.1のggufフォーマット変換版です。
分割されたファイルについて
q6_kやq8_0のファイルはサイズが大きく分割されているので結合する必要があります。
他のモデル
mmnga/karakuri-lm-8x7b-chat-v0.1-gguf
mmnga/karakuri-lm-70b-chat-v0.1-gguf
cat karakuri-lm-70b-chat-v0.1-q8_0.gguf.* > karakuri-lm-70b-chat-v0.1-q8_0.gguf
Usage
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
make -j
./main -m 'karakuri-lm-70b-chat-v0.1-q4_0.gguf' -p "<s>[INST] <<SYS>> <</SYS>> 週末に日帰りで東京に遊びに行こうと思っています。日帰りなので、短時間で回れるおすすめの観光プランを教えてください。 [ATTR] helpfulness: 4 correctness: 4 coherence: 4 complexity: 4 verbosity: 4 quality: 4 toxicity: 0 humor: 0 creativity: 0 [/ATTR] [/INST] " -n 128
ライセンス
商業目的使用の場合は下記事項をご確認ください。
引用して翻訳したもの
Llama 2 は、 LLAMA 2 コミュニティ ライセンス(Copyright © Meta Platforms, Inc. All Rights Reserved) に基づいてライセンスされています。 KARAKURI LM は、クリエイティブ コモンズ 表示 - 継承 4.0 国際ライセンス ( CC BY-SA 4.0 ) に基づいてライセンスされています。このライセンスに基づいて、適切なクレジットを提供し、同じライセンスに基づいて貢献物を配布する限り、商業目的であっても、このモデルを自由に共有および改変することができます。 ただし、KARAKURI LM を商業目的で使用したい場合は、CC BY-SA 4.0 ライセンスの条項に関わらず、直接当社にご連絡いただく必要があります。規約の解釈に関してご質問がございましたら、お気軽にお問い合わせください。
- Downloads last month
- 131
2-bit
3-bit
4-bit
5-bit