VinaLLaMA
Collection
Second Generation, Most Powerful Open-Source Vietnamese LLMs. • 8 items • Updated • 13
How to use vilm/vinallama-2.7b-chat-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="vilm/vinallama-2.7b-chat-GGUF", filename="vinallama-2.7b-chat_q5_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
How to use vilm/vinallama-2.7b-chat-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf vilm/vinallama-2.7b-chat-GGUF:Q5_0 # Run inference directly in the terminal: llama-cli -hf vilm/vinallama-2.7b-chat-GGUF:Q5_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf vilm/vinallama-2.7b-chat-GGUF:Q5_0 # Run inference directly in the terminal: llama-cli -hf vilm/vinallama-2.7b-chat-GGUF:Q5_0
# 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 vilm/vinallama-2.7b-chat-GGUF:Q5_0 # Run inference directly in the terminal: ./llama-cli -hf vilm/vinallama-2.7b-chat-GGUF:Q5_0
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 vilm/vinallama-2.7b-chat-GGUF:Q5_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf vilm/vinallama-2.7b-chat-GGUF:Q5_0
docker model run hf.co/vilm/vinallama-2.7b-chat-GGUF:Q5_0
How to use vilm/vinallama-2.7b-chat-GGUF with Ollama:
ollama run hf.co/vilm/vinallama-2.7b-chat-GGUF:Q5_0
How to use vilm/vinallama-2.7b-chat-GGUF 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 vilm/vinallama-2.7b-chat-GGUF 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 vilm/vinallama-2.7b-chat-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for vilm/vinallama-2.7b-chat-GGUF to start chatting
How to use vilm/vinallama-2.7b-chat-GGUF with Docker Model Runner:
docker model run hf.co/vilm/vinallama-2.7b-chat-GGUF:Q5_0
How to use vilm/vinallama-2.7b-chat-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vilm/vinallama-2.7b-chat-GGUF:Q5_0
lemonade run user.vinallama-2.7b-chat-GGUF-Q5_0
lemonade list
Read our Paper
Prompt Format (ChatML):
<|im_start|>system
Bạn là một trợ lí AI hữu ích. Hãy trả lời người dùng một cách chính xác.
<|im_end|>
<|im_start|>user
Hello world!<|im_end|>
<|im_start|>assistant
5-bit