Instructions to use lmg-anon/vntl-gemma2-27b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use lmg-anon/vntl-gemma2-27b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lmg-anon/vntl-gemma2-27b-gguf", filename="vntl-gemma2-27b-Q3_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lmg-anon/vntl-gemma2-27b-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf lmg-anon/vntl-gemma2-27b-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 lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf lmg-anon/vntl-gemma2-27b-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 lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf lmg-anon/vntl-gemma2-27b-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 lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M
Use Docker
docker model run hf.co/lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use lmg-anon/vntl-gemma2-27b-gguf with Ollama:
ollama run hf.co/lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M
- Unsloth Studio
How to use lmg-anon/vntl-gemma2-27b-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 lmg-anon/vntl-gemma2-27b-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 lmg-anon/vntl-gemma2-27b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lmg-anon/vntl-gemma2-27b-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use lmg-anon/vntl-gemma2-27b-gguf with Docker Model Runner:
docker model run hf.co/lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M
- Lemonade
How to use lmg-anon/vntl-gemma2-27b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lmg-anon/vntl-gemma2-27b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.vntl-gemma2-27b-gguf-Q4_K_M
List all available models
lemonade list
This repository contains some GGUF quantizations of the VNTL Gemma 2 27B model.
This model also includes a new "chat mode", which works mostly for Japanese grammar questions.
Translation Prompt
This is a prompt example for translation:
<<METADATA>>
[character] Name: Uryuu Sakuno (็็ ๆกไน) | Gender: Female
[character] Name: Uryuu Shingo (็็ ๆฐๅพ) | Gender: Male | Aliases: Onii-chan (ใๅ
ใกใใ)
<<TRANSLATE>>
<<JAPANESE>>
่ฒทใ็ฉใซ่กใฃใใฃใใใชใใชใๅธฐใฃใฆใใชใใจๆใฃใใใใใฃใฑใใ่ฟทๅญใซใชใฃใฆใใใใใใ
<<ENGLISH>>
I thought she was taking too long to come back from shopping, and it turns out she had gotten lost as I expected.<eos>
<<JAPANESE>>
[ๆฐๅพ]: ใใใฃใใใใใ้ป่ฉฑใใฆใฟใฆใใใฃใใ
<<ENGLISH>>
[Shingo]: "Is that so? Well, I'm glad I called you then."<eos>
<<JAPANESE>>
ๅฝผๅฅณใฏๅบๆฌ็ใซ่ฝใก็ใใ้ ญใฎใใๅญใชใใ ใใฉใ็ตๆงใช็ญ้ใฎๅ
ฅใฃใๆนๅ้ณ็ดใงใใใใ
<<ENGLISH>>
She's basically a smart and level-headed girl, but she also has a very bad sense of direction.<eos>
<<JAPANESE>>
้ ปๅบฆใใใใปใฉใงใฏใชใใใฎใฎใใฒใจใใณ่ฟทๅญใซใชใใจใใจใซใใๆดพๆใซ้ใซ่ฟทใฃใฆใใพใใ
<<ENGLISH>>
Though not very frequently, once she gets lost, she gets lost in a spectacular way.<eos>
<<JAPANESE>>
[ๆกไน]: ใโฆโฆใใใใ
<<ENGLISH>>
[Sakuno]: "... Sorry."<eos>
<<JAPANESE>>
[ๆฐๅพ]: ใใใใใใใ่จใฃใกใใชใใ ใใฉใ่ฟทๅญใงใใใฃใใใ ๆกไนใฏๅฏๆใใใใใใใใๅฟ้
ใใกใใฃใฆใใใ ใไฟบใ
<<ENGLISH>>
The generated translation for that prompt, with temperature 0, is:
[Shingo]: "No, it's fine. I'm glad you got lost, actually. You're so cute, I was worried about you."
Chat Prompt
This is a prompt example for chat:
<<CHAT>>
<<HUMAN>>
Hi! Can you break down this sentence for me? Like, what is the meaning of "ๆกไนใฏๅฏๆใใใ"?
"ใใใใใใ่จใฃใกใใชใใ ใใฉใ่ฟทๅญใงใใใฃใใใๆกไนใฏๅฏๆใใใใใใใใๅฟ้
ใใกใใฃใฆใใใ ใไฟบใ"
<<LLM>>
The generated response for that prompt, with temperature 0, is:
Certainly! Let's start with your first question. "ๆกไนใฏๅฏๆใใใ" is a phrase that consists of three parts:
1. "ๆกไน" is a proper noun, likely a person's name.
2. "ใฏ" is a particle that marks the topic of the sentence, in this case, "ๆกไน."
3. "ๅฏๆใ" is an adjective that means "cute" or "adorable."
4. "ใใ" is a conjunction that indicates a reason or cause.
So, the literal translation of "ๆกไนใฏๅฏๆใใใ" would be "Because Sakura is cute." It suggests that the speaker is about to provide a reason or explanation based on the fact that the person named Sakura is cute.
- Downloads last month
- 129
3-bit
4-bit
5-bit
6-bit
16-bit