This repo contains a
4-bit precision version of
artindnr/tea
, a full fine-tune of
microsoft/phi-4
for question answering and long, multi-turn assistant conversations, with fine-tuning focused on Farsi (Persian) conversational ability.
Unlike GGUF quants, this is a
safetensors
checkpoint quantized to 4-bit precision with
Unsloth
(bitsandbytes nf4 backend), meant to be loaded directly with 🤗 Transformers or Unsloth — not with llama.cpp.
Looking for GGUF quants for llama.cpp / Ollama / LM Studio instead? See
artindnr/tea-gguf
(F16, Q8_0, Q5_K_M, Q4_K_M).
Model Details
Base model:
artindnr/tea
(full fine-tune of
microsoft/phi-4
, 14B parameters)
Unsloth also lets you use this checkpoint as a starting point for further QLoRA fine-tuning if you want to adapt tea further while keeping it in 4-bit.
Intended Use
Same as
artindnr/tea
: Farsi-first conversational assistance, question answering, and long multi-turn assistant deployments — this repo specifically targets
lower-VRAM GPU inference and fine-tuning
via Transformers/Unsloth, as an alternative to the GGUF quants for CPU/llama.cpp-based deployment.
Limitations
4-bit quantization trades off some accuracy for memory footprint; expect some quality degradation versus the full-precision
artindnr/tea
, particularly on nuanced or long-context Farsi generation.
This checkpoint requires a CUDA GPU and
bitsandbytes
— it is not intended for CPU inference or llama.cpp; use
artindnr/tea-gguf
for that.
Inherits all limitations of the base
artindnr/tea
model and the underlying
microsoft/phi-4
checkpoint, including possible hallucinated facts.
No formal safety fine-tuning beyond what is inherited from the base model has been applied; use appropriate safeguards in production settings.
License
This model is released under the
MIT License
, consistent with
artindnr/tea
and the base
microsoft/phi-4
model.
Citation
If you use tea in your work, please cite:
@misc{tea,
title = {tea: A Farsi-Focused, Full Fine-tune of Phi-4 for QA and Long-form Assistance},
author = {artindnr},
year = {2026},
url = {https://huggingface.co/artindnr/tea}
}
tea-4bit huggingface.co is an AI model on huggingface.co that provides tea-4bit's model effect (), which can be used instantly with this artindnr tea-4bit model. huggingface.co supports a free trial of the tea-4bit model, and also provides paid use of the tea-4bit. Support call tea-4bit model through api, including Node.js, Python, http.
tea-4bit huggingface.co is an online trial and call api platform, which integrates tea-4bit's modeling effects, including api services, and provides a free online trial of tea-4bit, you can try tea-4bit online for free by clicking the link below.
artindnr tea-4bit online free url in huggingface.co:
tea-4bit is an open source model from GitHub that offers a free installation service, and any user can find tea-4bit on GitHub to install. At the same time, huggingface.co provides the effect of tea-4bit install, users can directly use tea-4bit installed effect in huggingface.co for debugging and trial. It also supports api for free installation.