Instructions to use grapevine-AI/Llama-3.1-70B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use grapevine-AI/Llama-3.1-70B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="grapevine-AI/Llama-3.1-70B-Instruct-GGUF", filename="Meta-Llama-3.1-70B-Instruct-BF16-00001-of-00003.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use grapevine-AI/Llama-3.1-70B-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16 # Run inference directly in the terminal: llama-cli -hf grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16 # Run inference directly in the terminal: llama-cli -hf grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
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 grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
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 grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
Use Docker
docker model run hf.co/grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
- LM Studio
- Jan
- Ollama
How to use grapevine-AI/Llama-3.1-70B-Instruct-GGUF with Ollama:
ollama run hf.co/grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
- Unsloth Studio
How to use grapevine-AI/Llama-3.1-70B-Instruct-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 grapevine-AI/Llama-3.1-70B-Instruct-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 grapevine-AI/Llama-3.1-70B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for grapevine-AI/Llama-3.1-70B-Instruct-GGUF to start chatting
- Docker Model Runner
How to use grapevine-AI/Llama-3.1-70B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
- Lemonade
How to use grapevine-AI/Llama-3.1-70B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull grapevine-AI/Llama-3.1-70B-Instruct-GGUF:BF16
Run and chat with the model
lemonade run user.Llama-3.1-70B-Instruct-GGUF-BF16
List all available models
lemonade list
What is this?
Meta社の最新言語モデルMeta-Llama-3.1-70B-InstructをGGUFフォーマットに変換したものです。
Llama3.1のトークナイザ修正のコミット(Upload tokenizer (#12)、special_tokens_map.jsonおよびtokenizer.jsonの修正)を反映させております。
また、llama.cppのLlama3.1の特殊なRoPE Embedding対応アップデート(#8676)についても反映したモデルとなっています。
imatrix dataset
日本語能力を重視し、日本語が多量に含まれるTFMC/imatrix-dataset-for-japanese-llmデータセットを使用しました。
なお、計算リソースの関係上imatrixの算出においてはQ8_0量子化モデルを使用しました。
Chat template
<|start_header_id|>system<|end_header_id|>\n\nここにsystemプロンプトを書きます<|eot_id|><|start_header_id|>user<|end_header_id|>\n\nここにMessageを書きます<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n
Environment
Windows版llama.cpp-b3472および同時リリースのconvert_hf_to_gguf.pyを使用して量子化作業を実施しました。
License
llama3.1 License
Developer
Meta
Credit
Built with Llama
- Downloads last month
- 6
4-bit
16-bit