knkarthick
commited on
Commit
•
2867ed3
1
Parent(s):
ad0db6c
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
tags:
|
4 |
+
- distilbert
|
5 |
+
- seq2seq
|
6 |
+
- text-classification
|
7 |
+
license: apache-2.0
|
8 |
+
datasets:
|
9 |
+
- Custom
|
10 |
+
metrics:
|
11 |
+
- Accuracy
|
12 |
+
- Precision
|
13 |
+
- Recall
|
14 |
+
widget:
|
15 |
+
- text: |-
|
16 |
+
Let's start the project as soon as possible as we are running out of deadline.
|
17 |
+
model-index:
|
18 |
+
- name: Action_Decisions
|
19 |
+
results:
|
20 |
+
- task:
|
21 |
+
name: Action Decisions Classification
|
22 |
+
type: text-classification
|
23 |
+
dataset:
|
24 |
+
name: Custom
|
25 |
+
type: custom
|
26 |
+
|
27 |
+
metrics:
|
28 |
+
- name: Validation Accuracy
|
29 |
+
type: accuracy
|
30 |
+
value:
|
31 |
+
- name: Validation Precision
|
32 |
+
type: precision
|
33 |
+
value:
|
34 |
+
- name: Validation Recall
|
35 |
+
type: recall
|
36 |
+
value:
|
37 |
+
- name: Test Accuracy
|
38 |
+
type: accuracy
|
39 |
+
value:
|
40 |
+
- name: Test Precision
|
41 |
+
type: precision
|
42 |
+
value:
|
43 |
+
- name: Test Recall
|
44 |
+
type: recall
|
45 |
+
value:
|
46 |
+
---
|
47 |
+
Model obtained by Fine Tuning 'distilbert' using Custom Dataset!
|
48 |
+
|
49 |
+
LABEL_0 - Not an Action Decision
|
50 |
+
|
51 |
+
LABEL_1 - Action Item
|
52 |
+
|
53 |
+
## Usage
|
54 |
+
# Example 1
|
55 |
+
```python
|
56 |
+
from transformers import pipeline
|
57 |
+
summarizer = pipeline("text-classification", model="knkarthick/Action_Decisions")
|
58 |
+
text = '''
|
59 |
+
Customer portion will have the dependency of , you know , fifty five probably has to be on XGEVA before we can start that track , but we can at least start the enablement track for sales and CSM who are as important as customers because they're the top of our funnel , especially sales.
|
60 |
+
'''
|
61 |
+
summarizer(text)
|
62 |
+
```
|
63 |
+
# Example 2
|
64 |
+
```python
|
65 |
+
from transformers import pipeline
|
66 |
+
summarizer = pipeline("text-classification", model="knkarthick/Action_Decisions")
|
67 |
+
text = '''
|
68 |
+
India, officially the Republic of India, is a country in South Asia.
|
69 |
+
'''
|
70 |
+
summarizer(text)
|
71 |
+
```
|
72 |
+
|
73 |
+
# Example 3
|
74 |
+
```python
|
75 |
+
from transformers import pipeline
|
76 |
+
summarizer = pipeline("text-classification", model="knkarthick/Action_Decisions")
|
77 |
+
text = '''
|
78 |
+
We have been running the business successfully for over a decade now.
|
79 |
+
'''
|
80 |
+
summarizer(text)
|
81 |
+
```
|