latishab commited on
Commit
a3a8c25
·
verified ·
1 Parent(s): 782be6c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -43
README.md CHANGED
@@ -1,50 +1,30 @@
1
  ---
2
- {}
 
 
 
 
 
3
  ---
4
- ---
5
- language: en
6
- tags:
7
- - text-classification
8
- - eou-detection
9
- - conversation
10
- pipeline_tag: text-classification
11
- inference: true
12
- ---
13
-
14
- # Turnsense: Turn-Detector Model
15
-
16
- A lightweight end-of-utterance (EOU) detection model fine-tuned on SmolLM2-135M, optimized for Raspberry Pi and low-power devices.
17
-
18
- ## Model Details
19
- - **Task:** Text Classification (End-of-User-Turn Detection)
20
- - **Type:** llama
21
- - **Last Updated:** 2025-03-13 04:24:17
22
- - **Updated By:** latishab
23
 
24
- ## Usage
25
 
26
- ### With Transformers Pipeline
27
- ```python
28
- from transformers import pipeline
 
 
29
 
30
- # Example 1: Basic usage
31
- classifier = pipeline("text-classification", model="latishab/turnsense")
32
- text = "Hello, how are you?"
33
- result = classifier(text)
34
- print(result)
35
 
36
- # Example 2: Using with messages format
37
- messages = [
38
- {'role': 'user', 'content': 'Who are you?'},
39
- ]
40
- result = classifier(messages)
41
- print(result)
42
 
43
- # Example 3: Batch processing
44
- texts = [
45
- "Hello, how are you?",
46
- "I'm doing great, thanks for asking!",
47
- ]
48
- results = classifier(texts)
49
- print(results)
50
-
 
1
  ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - HuggingFaceTB/SmolLM2-135M-Instruct
7
+ pipeline_tag: text-classification
8
  ---
9
+ # Turnsense: Turn-Detector Model
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
+ A lightweight end-of-utterance (EOU) detection model fine-tuned on SmolLM2-135M, optimized for Raspberry Pi and low-power devices.
12
 
13
+ ## Model Details
14
+ - **Task:** Text Classification (End-of-User-Turn Detection)
15
+ - **Type:** llama
16
+ - **Last Updated:** 2025-03-13 04:24:17
17
+ - **Updated By:** latishab
18
 
19
+ ## Usage
 
 
 
 
20
 
21
+ ### With Transformers Pipeline
22
+ ```python
23
+ from transformers import pipeline
 
 
 
24
 
25
+ # Example 1: Basic usage
26
+ classifier = pipeline("text-classification", model="latishab/turnsense")
27
+ text = "Hello, how are you?"
28
+ result = classifier(text)
29
+ print(result)
30
+ ```