Rajveerx11 commited on
Commit
2ee9499
Β·
verified Β·
1 Parent(s): 522df66

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -40
README.md CHANGED
@@ -8,62 +8,45 @@ tags:
8
  - gguf
9
  - llama.cpp
10
  - phi-3
 
11
  ---
12
- # πŸ“§ Email Classifier (Phi-3 Mini GGUF)
13
 
14
  ## 🧠 Model Overview
15
 
16
- This repository contains a **GGUF quantized version** of a Phi-3 Mini model intended for email classification tasks.
17
 
18
  * **Base Model:** Phi-3 Mini 4K Instruct
19
- * **Format:** GGUF
 
20
  * **Quantization:** Q5_K_M
21
- * **Framework:** llama.cpp / compatible runtimes
22
 
23
  ---
24
 
25
- ## πŸš€ Intended Use
26
 
27
- This model is designed for:
28
 
29
- * Email classification (spam / important / categories)
30
- * Lightweight local inference
31
- * Edge or CPU-based deployments
32
 
33
  ---
34
 
35
- ## βš™οΈ Usage
36
-
37
- ### Using llama.cpp
38
 
39
- ```bash
40
- ./main -m Phi-3-mini-4k-instruct-Q5_K_M.gguf -p "Classify this email: ..."
41
- ```
42
 
43
  ---
44
 
45
- ## πŸ“¦ Files
46
-
47
- | File Name | Description |
48
- | ---------------------------------- | -------------------- |
49
- | Phi-3-mini-4k-instruct-Q5_K_M.gguf | Quantized model file |
50
-
51
- ---
52
-
53
- ## πŸ“Š Model Details
54
-
55
- * Context Length: 4K tokens
56
- * Architecture: Transformer
57
- * Quantization Type: Q5_K_M
58
- * Precision: 5-bit
59
-
60
- ---
61
 
62
- ## ⚠️ Limitations
63
 
64
- * Not fine-tuned specifically for email classification
65
- * May produce inconsistent results depending on prompt
66
- * Requires prompt engineering for best performance
67
 
68
  ---
69
 
@@ -84,22 +67,39 @@ Spam
84
 
85
  ---
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ## πŸ“Œ Notes
88
 
89
- * This is a **base model**, not a fine-tuned classifier
90
- * For production use, fine-tuning is recommended
91
 
92
  ---
93
 
94
  ## πŸ“œ License
95
 
96
- Specify the original Phi-3 license here.
97
 
98
  ---
99
 
100
  ## πŸ™Œ Acknowledgements
101
 
102
  * Microsoft for Phi-3
103
- * llama.cpp for GGUF support
 
104
 
105
- ---
 
8
  - gguf
9
  - llama.cpp
10
  - phi-3
11
+ pipeline_tag: text-classification
12
  ---
13
+ # πŸ“§ Email Classifier (Phi-3 Mini Fine-Tuned GGUF)
14
 
15
  ## 🧠 Model Overview
16
 
17
+ This model is a **fine-tuned version of Phi-3 Mini (4K Instruct)** optimized for **email classification tasks** such as spam detection and categorization.
18
 
19
  * **Base Model:** Phi-3 Mini 4K Instruct
20
+ * **Fine-tuning:** Supervised fine-tuning on email dataset
21
+ * **Format:** GGUF (for efficient local inference)
22
  * **Quantization:** Q5_K_M
 
23
 
24
  ---
25
 
26
+ ## πŸ“š Dataset
27
 
28
+ The model was trained on:
29
 
30
+ * **Dataset:** `json22322/email-classifier`
31
+ * Contains labeled email samples for classification tasks (e.g., spam vs non-spam)
 
32
 
33
  ---
34
 
35
+ ## 🎯 Task
 
 
36
 
37
+ * Email classification
38
+ * Spam detection
39
+ * Priority categorization
40
 
41
  ---
42
 
43
+ ## βš™οΈ Usage
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
+ ### Using llama.cpp
46
 
47
+ ```bash
48
+ ./main -m Phi-3-mini-4k-instruct-Q5_K_M.gguf -p "Classify this email: Subject: ... Body: ..."
49
+ ```
50
 
51
  ---
52
 
 
67
 
68
  ---
69
 
70
+ ## ⚠️ Limitations
71
+
72
+ * Performance depends on dataset quality
73
+ * May not generalize to unseen domains
74
+ * Sensitive to prompt phrasing
75
+
76
+ ---
77
+
78
+ ## πŸ“¦ Files
79
+
80
+ | File | Description |
81
+ | ------ | -------------------------- |
82
+ | *.gguf | Quantized fine-tuned model |
83
+
84
+ ---
85
+
86
  ## πŸ“Œ Notes
87
 
88
+ * Optimized for **local inference (CPU-friendly)**
89
+ * Compatible with **llama.cpp and GGUF runtimes**
90
 
91
  ---
92
 
93
  ## πŸ“œ License
94
 
95
+ Same as base model (Phi-3).
96
 
97
  ---
98
 
99
  ## πŸ™Œ Acknowledgements
100
 
101
  * Microsoft for Phi-3
102
+ * Hugging Face
103
+ * llama.cpp
104
 
105
+ ---