PhoGPT: Generative Pre-training for Vietnamese
Paper • 2311.02945 • Published
How to use tuantucyd/PhoGPT-4B-Chat with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M # Run inference directly in the terminal: llama cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M # Run inference directly in the terminal: llama cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M
# 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 tuantucyd/PhoGPT-4B-Chat:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M
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 tuantucyd/PhoGPT-4B-Chat:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M
docker model run hf.co/tuantucyd/PhoGPT-4B-Chat:Q4_K_M
How to use tuantucyd/PhoGPT-4B-Chat with Ollama:
ollama run hf.co/tuantucyd/PhoGPT-4B-Chat:Q4_K_M
How to use tuantucyd/PhoGPT-4B-Chat 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 tuantucyd/PhoGPT-4B-Chat 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 tuantucyd/PhoGPT-4B-Chat to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tuantucyd/PhoGPT-4B-Chat to start chatting
How to use tuantucyd/PhoGPT-4B-Chat with Docker Model Runner:
docker model run hf.co/tuantucyd/PhoGPT-4B-Chat:Q4_K_M
How to use tuantucyd/PhoGPT-4B-Chat with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tuantucyd/PhoGPT-4B-Chat:Q4_K_M
lemonade run user.PhoGPT-4B-Chat-Q4_K_M
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M# Run inference directly in the terminal:
llama cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M# 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 tuantucyd/PhoGPT-4B-Chat:Q4_K_M# Run inference directly in the terminal:
./llama-cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_Mgit 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 tuantucyd/PhoGPT-4B-Chat:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama-cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_Mdocker model run hf.co/tuantucyd/PhoGPT-4B-Chat:Q4_K_MYAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
@article{PhoGPT, title = {{PhoGPT: Generative Pre-training for Vietnamese}}, author = {Dat Quoc Nguyen and Linh The Nguyen and Chi Tran and Dung Ngoc Nguyen and Dinh Phung and Hung Bui}, journal = {arXiv preprint}, volume = {arXiv:2311.02945}, year = {2023} }
clone from https://huggingface.co/vinai/PhoGPT-4B-Chat
4-bit
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M# Run inference directly in the terminal: llama cli -hf tuantucyd/PhoGPT-4B-Chat:Q4_K_M