Instructions to use lmg-anon/vntl-llama3-8b-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-llama3-8b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lmg-anon/vntl-llama3-8b-gguf", filename="vntl-llama3-8b-hf-f16.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-llama3-8b-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-llama3-8b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf lmg-anon/vntl-llama3-8b-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-llama3-8b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf lmg-anon/vntl-llama3-8b-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-llama3-8b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf lmg-anon/vntl-llama3-8b-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-llama3-8b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lmg-anon/vntl-llama3-8b-gguf:Q4_K_M
Use Docker
docker model run hf.co/lmg-anon/vntl-llama3-8b-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use lmg-anon/vntl-llama3-8b-gguf with Ollama:
ollama run hf.co/lmg-anon/vntl-llama3-8b-gguf:Q4_K_M
- Unsloth Studio
How to use lmg-anon/vntl-llama3-8b-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-llama3-8b-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-llama3-8b-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-llama3-8b-gguf to start chatting
- Docker Model Runner
How to use lmg-anon/vntl-llama3-8b-gguf with Docker Model Runner:
docker model run hf.co/lmg-anon/vntl-llama3-8b-gguf:Q4_K_M
- Lemonade
How to use lmg-anon/vntl-llama3-8b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lmg-anon/vntl-llama3-8b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.vntl-llama3-8b-gguf-Q4_K_M
List all available models
lemonade list
output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)This repository contains some GGUF quantizations of the merge of the VNTL LLaMA 3 8B qlora.
This model also includes a new "chat mode", which works mostly for Japanese grammar questions.
Translation Prompt
This is an prompt example for translation:
<<METADATA>>
[character] Name: Uryuu Shingo (ηη ζ°εΎ) | Gender: Male | Aliases: Onii-chan (γε
γ‘γγ)
[character] Name: Uryuu Sakuno (ηη ζ‘δΉ) | Gender: Female
<<TRANSLATE>>
<<JAPANESE>>
[ζ‘δΉ]: γβ¦β¦γγγγ
<<ENGLISH>>
[Sakuno]: γ... Sorry.γ<|end_of_text|>
<<JAPANESE>>
[ζ°εΎ]: γγγγγγγθ¨γ£γ‘γγͺγγ γγ©γθΏ·εγ§γγγ£γγγζ‘δΉγ―ε―ζγγγγγγγγεΏι
γγ‘γγ£γ¦γγγ γδΏΊγ
<<ENGLISH>>
The generated translation for that prompt, with temperature 0, is:
[Shingo]: γNo, I know this isn't the best way to say it, but I'm glad you got lost. You're so cute that I was worried about you.γ
Chat Prompt
This is an prompt example for chat:
<<CHAT>>
<<HUMAN>>
Hi! Can you break this down to me? Like, what is the meaning of "ζ‘δΉγ―ε―ζγγγ"?
"γγγγγγθ¨γ£γ‘γγͺγγ γγ©γθΏ·εγ§γγγ£γγγζ‘δΉγ―ε―ζγγγγγγγγεΏι
γγ‘γγ£γ¦γγγ γδΏΊγ"
<<LLM>>
The generated response for that prompt, with temperature 0, is:
Certainly! The phrase "ζ‘δΉγ―ε―ζγγγ" literally translates to "Because Sakura-no is cute." In Japanese culture, there is a strong emphasis on physical attractiveness and cuteness, especially when it comes to young girls or women. This phrase suggests that the speaker finds Sakura-no (presumably a girl) to be very attractive and endearing in appearance.
- Downloads last month
- 236
4-bit
5-bit
8-bit
16-bit
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lmg-anon/vntl-llama3-8b-gguf", filename="", )