Instructions to use Rajveerx11/email-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Rajveerx11/email-classifier with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Rajveerx11/email-classifier:Q5_K_M # Run inference directly in the terminal: llama cli -hf Rajveerx11/email-classifier:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Rajveerx11/email-classifier:Q5_K_M # Run inference directly in the terminal: llama cli -hf Rajveerx11/email-classifier:Q5_K_M
Build from source code
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 Rajveerx11/email-classifier:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Rajveerx11/email-classifier:Q5_K_M
Use Docker
docker model run hf.co/Rajveerx11/email-classifier:Q5_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Rajveerx11/email-classifier with Ollama:
ollama run hf.co/Rajveerx11/email-classifier:Q5_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Rajveerx11/email-classifier with Docker Model Runner:
docker model run hf.co/Rajveerx11/email-classifier:Q5_K_M
- Lemonade
How to use Rajveerx11/email-classifier with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Rajveerx11/email-classifier:Q5_K_M
Run and chat with the model
lemonade run user.email-classifier-Q5_K_M
List all available models
lemonade list
- Atomic Chat
How to use from
llama.cppInstall from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Rajveerx11/email-classifier:Q5_K_M# Run inference directly in the terminal:
llama cli -hf Rajveerx11/email-classifier:Q5_K_MBuild from source code
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 Rajveerx11/email-classifier:Q5_K_M# Run inference directly in the terminal:
./build/bin/llama cli -hf Rajveerx11/email-classifier:Q5_K_MUse Docker
docker model run hf.co/Rajveerx11/email-classifier:Q5_K_MQuick Links
π§ Email Classifier (Phi-3 Mini Fine-Tuned GGUF)
π§ Model Overview
This model is a fine-tuned version of Phi-3 Mini (4K Instruct) optimized for email classification tasks such as spam detection and categorization.
- Base Model: Phi-3 Mini 4K Instruct
- Fine-tuning: Supervised fine-tuning on email dataset
- Format: GGUF (for efficient local inference)
- Quantization: Q5_K_M
π Dataset
The model was trained on:
- Dataset:
json22322/email-classifier - Contains labeled email samples for classification tasks (e.g., spam vs non-spam)
π― Task
- Email classification
- Spam detection
- Priority categorization
βοΈ Usage
Using llama.cpp
./main -m Phi-3-mini-4k-instruct-Q5_K_M.gguf -p "Classify this email: Subject: ... Body: ..."
π§ͺ Example
Input:
Subject: Win a free iPhone now!!!
Body: Click here to claim your reward.
Output:
Spam
β οΈ Limitations
- Performance depends on dataset quality
- May not generalize to unseen domains
- Sensitive to prompt phrasing
π¦ Files
| File | Description |
|---|---|
| *.gguf | Quantized fine-tuned model |
π Notes
- Optimized for local inference (CPU-friendly)
- Compatible with llama.cpp and GGUF runtimes
π License
Same as base model (Phi-3).
π Acknowledgements
- Microsoft for Phi-3
- Hugging Face
- llama.cpp
- Downloads last month
- 27
Hardware compatibility
Log In to add your hardware
5-bit
Model tree for Rajveerx11/email-classifier
Base model
microsoft/Phi-3-mini-4k-instruct
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf Rajveerx11/email-classifier:Q5_K_M# Run inference directly in the terminal: llama cli -hf Rajveerx11/email-classifier:Q5_K_M