Phi4 Models for Turkish
Collection
3 items โข Updated
How to use anilguven/Phi4-TrSummarization-unsloth-GGUF with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("anilguven/Phi4-TrSummarization-unsloth-GGUF", device_map="auto")How to use anilguven/Phi4-TrSummarization-unsloth-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
docker model run hf.co/anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
How to use anilguven/Phi4-TrSummarization-unsloth-GGUF with Ollama:
ollama run hf.co/anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
How to use anilguven/Phi4-TrSummarization-unsloth-GGUF with Docker Model Runner:
docker model run hf.co/anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
How to use anilguven/Phi4-TrSummarization-unsloth-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M
lemonade run user.Phi4-TrSummarization-unsloth-GGUF-Q4_K_M
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M# Run inference directly in the terminal:
llama cli -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_Mgit clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama cli -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_Mdocker model run hf.co/anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_MThis llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
4-bit
8-bit
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M# Run inference directly in the terminal: llama cli -hf anilguven/Phi4-TrSummarization-unsloth-GGUF:Q4_K_M