samurai9776 commited on
Commit
6f8e194
·
verified ·
1 Parent(s): fcf8b38

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ tags:
4
+ - text-classification
5
+ - conversational-ai
6
+ - thought-completion
7
+ widget:
8
+ - text: "Great. Would you like anything else? [SEP] Picking up on app order."
9
+ example_title: "Complete thought"
10
+ - text: "Your total is $15.99 [SEP] Actually, let me add"
11
+ example_title: "Incomplete thought"
12
+ ---
13
+
14
+ # Thought Completion Classifier
15
+
16
+ This model classifies whether a conversation between an AI assistant and a customer represents a complete or incomplete thought.
17
+
18
+ ## Model Description
19
+
20
+ - **Model Type:** DistilBERT fine-tuned for sequence classification
21
+ - **Task:** Binary classification (Complete/Incomplete thought)
22
+ - **Training Data:** 900+ labeled conversation examples
23
+ - **Input Format:** "AI_Utterance [SEP] CX_Utterance"
24
+
25
+ ## Usage
26
+
27
+ ```python
28
+ from transformers import pipeline
29
+
30
+ # Load the model
31
+ classifier = pipeline("text-classification", model="samurai9776/thought-classifier")
32
+
33
+ # Example usage
34
+ result = classifier("What else can I get you? [SEP] That's all for now")
35
+ print(result)
36
+ # Output: [{'label': 'COMPLETE', 'score': 0.95}]
37
+ ```
38
+
39
+ ## Training Details
40
+
41
+ - Base Model: distilbert-base-uncased
42
+ - Training epochs: 3
43
+ - Batch size: 16
44
+ - Learning rate: 2e-5
45
+
46
+ ## Limitations
47
+
48
+ - Trained on English conversations only
49
+ - Optimized for customer service/order-taking scenarios