llm-jp/magpie-sft-v1.0
Viewer • Updated • 132k • 604 • 17
How to use azuki-digital/gemma-2-27b-it-2_lora with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("azuki-digital/gemma-2-27b-it-2_lora", dtype="auto")How to use azuki-digital/gemma-2-27b-it-2_lora with Unsloth Studio:
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 azuki-digital/gemma-2-27b-it-2_lora to start chatting
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 azuki-digital/gemma-2-27b-it-2_lora to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for azuki-digital/gemma-2-27b-it-2_lora to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="azuki-digital/gemma-2-27b-it-2_lora",
max_seq_length=2048,
)以下のデータセットを使用。
gemma-2利用にあたり、ライセンス上制約の懸念のあるデータセットは利用していない。
Loraアダプタのみ保存している。
Base model
google/gemma-2-27b