Add SetFit model
Browse files- 1_Pooling/config.json +10 -0
- README.md +261 -0
- config.json +24 -0
- config_sentence_transformers.json +10 -0
- config_setfit.json +4 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +59 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: sentence-transformers/paraphrase-mpnet-base-v2
|
3 |
+
library_name: setfit
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- setfit
|
9 |
+
- sentence-transformers
|
10 |
+
- text-classification
|
11 |
+
- generated_from_setfit_trainer
|
12 |
+
widget:
|
13 |
+
- text: troubleshooting n a test results n a trouble description generator failed
|
14 |
+
to start during blackout test transfer switch died before generator could start
|
15 |
+
transfer switch need repair asap back power need to be wired to transfer switch
|
16 |
+
history of trouble n a vendor acas problem description generator failed to start
|
17 |
+
during blackout test transfer switch died before generator could start transfer
|
18 |
+
switch need repair asap back power need to be wired to transfer switch special
|
19 |
+
access n a
|
20 |
+
- text: 1 gen with oil pressure shutdown alarm 2 genfail alarm is not showing up in
|
21 |
+
site boss requestor banaag rommel requestor email rommel banaag verizonwireless
|
22 |
+
com requestor phone 951 8342458
|
23 |
+
- text: troubleshooting triage category gen fail site id cvl02692 alarms cvl02692
|
24 |
+
rbs generator fail fieldreplaceableunit=sau 1 alarmport=12 2024 08 06 06 23 36
|
25 |
+
med generator verification yes history n a knowledge judgement sending to vendor
|
26 |
+
to check generator dispatch strategy vendor test results triage category gen fail
|
27 |
+
site id cvl02692 alarms cvl02692 rbs generator fail fieldreplaceableunit=sau 1
|
28 |
+
alarmport=12 2024 08 06 06 23 36 med generator verification yes history n a knowledge
|
29 |
+
judgement sending to vendor to check generator dispatch strategy vendor trouble
|
30 |
+
description rbs generator fail history of trouble triage category gen fail site
|
31 |
+
id cvl02692 alarms cvl02692 rbs generator fail fieldreplaceableunit=sau 1 alarmport=12
|
32 |
+
2024 08 06 06 23 36 med generator verification yes history n a knowledge judgement
|
33 |
+
sending to vendor to check generator dispatch strategy vendor vendor acas problem
|
34 |
+
description rbs generator fail special access n a
|
35 |
+
- text: troubleshooting triage category rbs generator fuel leak alarm cvl08526 cvl08526
|
36 |
+
rbs generator fuel leak fieldreplaceableunit=sau 1 alarmport=23 2024 07 10 13
|
37 |
+
07 38 cvl08526 cvl08526 rbs rbs generator fuel leak fieldreplaceableunit=sau 1
|
38 |
+
alarmport=20 2024 07 10 13 05 04 mdat oremis verification generator generac baldor
|
39 |
+
magnum sd30 manufacturer generac baldor magnum model sd30 status in use serial
|
40 |
+
3008406953 kw 30 prime power source no still on site yes engine perkins engine
|
41 |
+
co ltd 404d 22ta manufacturer perkins engine co ltd model 404d 22ta serial gr84695u9967000g
|
42 |
+
max engine kw 36 manufacturered date 2021 02 01 engine type diesel max brake hp
|
43 |
+
49 in service date 2022 07 13 fuel type ultra low sulfur diesel ulsd owner cell
|
44 |
+
no repeats open related tckt active eim intrusion knowledge judgement sending
|
45 |
+
to vendor to investigate and resolve gen rbs generator fuel leak condition dispatch
|
46 |
+
strategy vendor test results triage category generator rbs generator fuel leak
|
47 |
+
alarm cvl08526 cvl08526 rbs generator fuel leak fieldreplaceableunit=sau 1 alarmport=23
|
48 |
+
2024 07 10 13 07 38 cvl08526 cvl08526 rbs generator rbs generator fuel leak fieldreplaceableunit=sau
|
49 |
+
1 alarmport=20 2024 07 10 13 05 04 mdat oremis verification generator generac
|
50 |
+
baldor magnum sd30 manufacturer generac baldor magnum model sd30 status in use
|
51 |
+
serial 3008406953 kw 30 prime power source no still on site yes engine perkins
|
52 |
+
engine co ltd 404d 22ta manufacturer perkins engine co ltd model 404d 22ta serial
|
53 |
+
gr84695u9967000g max engine kw 36 manufacturered date 2021 02 01 engine type diesel
|
54 |
+
max brake hp 49 in service date 2022 07 13 fuel type ultra low sulfur diesel ulsd
|
55 |
+
owner cell no repeats open related tckt active eim intrusion knowledge judgement
|
56 |
+
sending to vendor to investigate and resolve gen rbs generator fuel leak condition
|
57 |
+
dispatch strategy vendor trouble description smart rbs generator fuel leak history
|
58 |
+
of trouble na vendor acas problem description smart rbs generator fuel leak special
|
59 |
+
access na
|
60 |
+
- text: troubleshooting triage category gen fail oss netcool alarms ccl05638 rbs generator
|
61 |
+
fail fieldreplaceableunit=sau 1 alarmport=10 rbs generator fail ca daly city cell
|
62 |
+
site guadalupe canyon parkway 2024 07 29 23 37 56 smart alarm y mdat verification
|
63 |
+
active generac sd030 2022 d 3012298793 fixed in compound history no repeats tab
|
64 |
+
no open related tickets in aots knowledge judgement sending to vendor to check
|
65 |
+
gen fail dispatch strategy vendor test results triage category gen fail oss netcool
|
66 |
+
alarms ccl05638 rbs generator fail fieldreplaceableunit=sau 1 alarmport=10 rbs
|
67 |
+
generator fail ca daly city cell site guadalupe canyon parkway 2024 07 29 23 37
|
68 |
+
56 smart alarm y mdat verification active generac sd030 2022 d 3012298793 fixed
|
69 |
+
in compound history no repeats tab no open related tickets in aots knowledge judgement
|
70 |
+
sending to vendor to check gen fail dispatch strategy vendor trouble description
|
71 |
+
triage category gen fail oss netcool alarms ccl05638 rbs generator fail fieldreplaceableunit=sau
|
72 |
+
1 alarmport=10 rbs generator fail ca daly city cell site guadalupe canyon parkway
|
73 |
+
2024 07 29 23 37 56 smart alarm y mdat verification active generac sd030 2022
|
74 |
+
d 3012298793 fixed in compound history no repeats tab no open related tickets
|
75 |
+
in aots knowledge judgement sending to vendor to check gen fail dispatch strategy
|
76 |
+
vendor history of trouble n a vendor acas problem description triage category
|
77 |
+
gen fail oss netcool alarms ccl05638 rbs generator fail fieldreplaceableunit=sau
|
78 |
+
1 alarmport=10 rbs generator fail ca daly city cell site guadalupe canyon parkway
|
79 |
+
2024 07 29 23 37 56 smart alarm y mdat verification active generac sd030 2022
|
80 |
+
d 3012298793 fixed in compound history no repeats tab no open related tickets
|
81 |
+
in aots knowledge judgement sending to vendor to check gen fail dispatch strategy
|
82 |
+
vendor special access n a
|
83 |
+
inference: true
|
84 |
+
model-index:
|
85 |
+
- name: SetFit with sentence-transformers/paraphrase-mpnet-base-v2
|
86 |
+
results:
|
87 |
+
- task:
|
88 |
+
type: text-classification
|
89 |
+
name: Text Classification
|
90 |
+
dataset:
|
91 |
+
name: Unknown
|
92 |
+
type: unknown
|
93 |
+
split: test
|
94 |
+
metrics:
|
95 |
+
- type: accuracy
|
96 |
+
value: 0.6666666666666666
|
97 |
+
name: Accuracy
|
98 |
+
---
|
99 |
+
|
100 |
+
# SetFit with sentence-transformers/paraphrase-mpnet-base-v2
|
101 |
+
|
102 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.
|
103 |
+
|
104 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
105 |
+
|
106 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
107 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
108 |
+
|
109 |
+
## Model Details
|
110 |
+
|
111 |
+
### Model Description
|
112 |
+
- **Model Type:** SetFit
|
113 |
+
- **Sentence Transformer body:** [sentence-transformers/paraphrase-mpnet-base-v2](https://huggingface.co/sentence-transformers/paraphrase-mpnet-base-v2)
|
114 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
115 |
+
- **Maximum Sequence Length:** 512 tokens
|
116 |
+
- **Number of Classes:** 2 classes
|
117 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
118 |
+
<!-- - **Language:** Unknown -->
|
119 |
+
<!-- - **License:** Unknown -->
|
120 |
+
|
121 |
+
### Model Sources
|
122 |
+
|
123 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
124 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
125 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
126 |
+
|
127 |
+
### Model Labels
|
128 |
+
| Label | Examples |
|
129 |
+
|:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
130 |
+
| 1 | <ul><li>'please dispatch to troubleshoot generator failure the generator failed during exercise requestor cadenhead jason requestor email jason cadenhead verizonwireless com requestor phone 903 399 6027'</li><li>'troubleshooting triage category generator shut down oss netcool alarms ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 rbs generator shut down 2024 07 04 16 31 52 smart alarm ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 2024 07 04 16 31 36 mdat oremis verification generac baldor magnum repeats open related tckt active eim intrusionknowledge judgement sending to vendor to investigate and resolve gen shut down condition dispatch strategy vendor test results triage category generator shut down oss netcool alarms ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 rbs generator shut down 2024 07 04 16 31 52 smart alarm ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 2024 07 04 16 31 36 mdat oremis verification generac baldor magnum repeats open related tckt active eim intrusionknowledge judgement sending to vendor to investigate and resolve gen shut down condition dispatch strategy vendor trouble description triage category generator shut down oss netcool alarms ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 rbs generator shut down 2024 07 04 16 31 52 smart alarm ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 2024 07 04 16 31 36 mdat oremis verification generac baldor magnum repeats open related tckt active eim intrusionknowledge judgement sending to vendor to investigate and resolve gen shut down condition dispatch strategy vendor history of trouble na vendor acas problem description triage category generator shut down oss netcool alarms ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 rbs generator shut down 2024 07 04 16 31 52 smart alarm ccl04246 rbs generator shut down fieldreplaceableunit=sau alarmport=5 2024 07 04 16 31 36 mdat oremis verification generac baldor magnum repeats open related tckt active eim intrusionknowledge judgement sending to vendor to investigate and resolve gen shut down condition dispatch strategy vendor special access na'</li><li>'troubleshooting triage category gen fail oss netcool alarms dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 04 59 30 2024 08 11 04 59 30 07 20 36 7200 56110 1091 1 30508 dxl02173 southwest central texas 0 external alarm ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail d_357_prx1 mobility pl1_259ag 61089964 0 0 2024 08 11 2 3 critical 5 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 05 01 11 2024 08 11 05 01 11 07 18 55 7200 tt000080568668 56110 1091 1 30508 dxl02173 southwest central texas 1723385658 correlated external alarm correlated ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail smart alarm dxl02173 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 2024 08 11 06 59 23 mdat verification generac baldor magnum history no repeats tab no open related tickets in aots knowledge judgement sending to vendor to check gen fail weekly scheduled exercise tu 1pm for 30 mins active rbs generator fail alarm pls send vendor to check the generator dispatch strategy vendor test results triage category gen fail oss netcool alarms dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 04 59 30 2024 08 11 04 59 30 07 20 36 7200 56110 1091 1 30508 dxl02173 southwest central texas 0 external alarm ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail d_357_prx1 mobility pl1_259ag 61089964 0 0 2024 08 11 2 3 critical 5 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 05 01 11 2024 08 11 05 01 11 07 18 55 7200 tt000080568668 56110 1091 1 30508 dxl02173 southwest central texas 1723385658 correlated external alarm correlated ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail smart alarm dxl02173 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 2024 08 11 06 59 23 mdat verification generac baldor magnum history no repeats tab no open related tickets in aots knowledge judgement sending to vendor to check gen fail weekly scheduled exercise tu 1pm for 30 mins active rbs generator fail alarm pls send vendor to check the generator dispatch strategy vendor trouble description triage category gen fail oss netcool alarms dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 04 59 30 2024 08 11 04 59 30 07 20 36 7200 56110 1091 1 30508 dxl02173 southwest central texas 0 external alarm ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail d_357_prx1 mobility pl1_259ag 61089964 0 0 2024 08 11 2 3 critical 5 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 05 01 11 2024 08 11 05 01 11 07 18 55 7200 tt000080568668 56110 1091 1 30508 dxl02173 southwest central texas 1723385658 correlated external alarm correlated ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail smart alarm dxl02173 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 2024 08 11 06 59 23 mdat verification generac baldor magnum history no repeats tab no open related tickets in aots knowledge judgement sending to vendor to check gen fail weekly scheduled exercise tu 1pm for 30 mins active rbs generator fail alarm pls send vendor to check the generator dispatch strategy vendor history of trouble na vendor acas problem description triage category gen fail oss netcool alarms dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport=13 rbs generator fail tx buffalo cell site dt buffalo 2024 08 11 04 59 30 2024 08 11 04 59 30 07 20 36 7200 56110 1091 1 30508 dxl02173 southwest central texas 0 external alarm ericsson_oss_rc dxl02173 ericsson_oss external alarm rbs generator fail d_357_prx1 mobility pl1_259ag 61089964 0 0 2024 08 11 2 3 critical 5 dxl02173 rbs generator fail fieldreplaceableunit=sau alarmport special access 24x7 access indoor site fixed generator on site portable generator can be deployed to site single phase cam loc on site will need standard length power cords crown castle 800 788 7011 txu oncor 888 313 4747 meter# 113 091 407 acct# 114949 compound combo 7011 locks 3588 lockbox 0696 lockbox is inside generator left hand side'</li></ul> |
|
131 |
+
| 0 | <ul><li>'troubleshooting triage category gen fail cli alarms rbs generator fail fieldreplaceableunit=sau alarmport=24 2024 08 06 06 34 13 mdat verification y generator generac baldor magnum sg35 3002404264 fixed history knowledge judgement sending to vendor to check generator dispatch strategy vendor test results triage category gen fail cli alarms rbs generator fail fieldreplaceableunit=sau alarmport=24 2024 08 06 06 34 13 mdat verification y generator generac baldor magnum sg35 3002404264 fixed history knowledge judgement sending to vendor to check generator dispatch strategy vendor trouble description triage category gen fail cli alarms rbs generator fail fieldreplaceableunit=sau alarmport=24 2024 08 06 06 34 13 mdat verification y generator generac baldor magnum sg35 3002404264 fixed history knowledge judgement sending to vendor to check generator dispatch strategy vendor history of trouble n a vendor acas problem description triage category gen fail cli alarms rbs generator fail fieldreplaceableunit=sau alarmport=24 2024 08 06 06 34 13 mdat verification y generator generac baldor magnum sg35 3002404264 fixed history knowledge judgement sending to vendor to check generator dispatch strategy vendor special access n a'</li><li>'troubleshooting triage category gen mj oss netcool alarms cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 rbs generator mj ca kingsburg cell site south traver rev 2024 08 19 11 39 15 2024 08 19 11 39 15 01 39 50 3600 tt000080604725 56110 1091 1 9585 cvl06141 west sacramento 0 external alarm ericsson_oss_rc cvl06141 ericsson_oss external alarm rbs generator mj smart alarm cvl06141 cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 2024 08 19 11 39 07 mdat verification generac baldor magnum history no repeats tab no open related tickets in aots knowledge judgement sending to vendor to check gen mj weekly scheduled exercise tu 06 30 active rbs generator mj alarm pls send vendor to check the generator dispatch strategy vendor test results triage category gen mj oss netcool alarms cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 rbs generator mj ca kingsburg cell site south traver rev 2024 08 19 11 39 15 2024 08 19 11 39 15 01 39 50 3600 tt000080604725 56110 1091 1 9585 cvl06141 west sacramento 0 external alarm ericsson_oss_rc cvl06141 ericsson_oss external alarm rbs generator mj smart alarm cvl06141 cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 2024 08 19 11 39 07 mdat verification generac baldor magnum history no repeats tab no open related tickets in aots knowledge judgement sending to vendor to check gen mj weekly scheduled exercise tu 06 30 active rbs generator mj alarm pls send vendor to check the generator dispatch strategy vendor trouble description triage category gen mj oss netcool alarms cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 rbs generator mj ca kingsburg cell site south traver rev 2024 08 19 11 39 15 2024 08 19 11 39 15 01 39 50 3600 tt000080604725 56110 1091 1 9585 cvl06141 west sacramento 0 external alarm ericsson_oss_rc cvl06141 ericsson_oss external alarm rbs generator mj smart alarm cvl06141 cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 2024 08 19 11 39 07 mdat verification generac baldor magnum history no repeats tab no open related tickets in aots knowledge judgement sending to vendor to check gen mj weekly scheduled exercise tu 06 30 active rbs generator mj alarm pls send vendor to check the generator dispatch strategy vendor history of trouble na vendor acas problem description triage category gen mj oss netcool alarms cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 rbs generator mj ca kingsburg cell site south traver rev 2024 08 19 11 39 15 2024 08 19 11 39 15 01 39 50 3600 tt000080604725 56110 1091 1 9585 cvl06141 west sacramento 0 external alarm ericsson_oss_rc cvl06141 ericsson_oss external alarm rbs generator mj smart alarm cvl06141 cvl06141 rbs generator mj fieldreplaceableunit=sau 1 alarmport=11 2024 08 19 11 39 07 mdat verificatio special access fixed gen on site portable can be deployed 24 7 access no notice required crown managed bu 815954 gate combo 7011 door arrow key generator 7011'</li><li>'troubleshooting while on site for generator controller survey we found 2 active alarms alarmport=28 rbs generator mj and alarmport=26 rbs generator fuel leak test results active alarms will be active until vendor changes the 2 alarms from open to close trouble description while on site for generator controller survey we found 2 active alarms alarmport=28 rbs generator mj and alarmport=26 rbs generator fuel leak we need vendor to redefine the alarms on the generator from normally open to normally closed history of trouble n a vendor acas problem description while on site for generator controller survey we found 2 active alarms alarmport=28 rbs generator mj and alarmport=26 rbs generator fuel leak special access n a'</li></ul> |
|
132 |
+
|
133 |
+
## Evaluation
|
134 |
+
|
135 |
+
### Metrics
|
136 |
+
| Label | Accuracy |
|
137 |
+
|:--------|:---------|
|
138 |
+
| **all** | 0.6667 |
|
139 |
+
|
140 |
+
## Uses
|
141 |
+
|
142 |
+
### Direct Use for Inference
|
143 |
+
|
144 |
+
First install the SetFit library:
|
145 |
+
|
146 |
+
```bash
|
147 |
+
pip install setfit
|
148 |
+
```
|
149 |
+
|
150 |
+
Then you can load this model and run inference.
|
151 |
+
|
152 |
+
```python
|
153 |
+
from setfit import SetFitModel
|
154 |
+
|
155 |
+
# Download from the 🤗 Hub
|
156 |
+
model = SetFitModel.from_pretrained("edwsiew/phantom-dispatch-01")
|
157 |
+
# Run inference
|
158 |
+
preds = model("1 gen with oil pressure shutdown alarm 2 genfail alarm is not showing up in site boss requestor banaag rommel requestor email rommel banaag verizonwireless com requestor phone 951 8342458")
|
159 |
+
```
|
160 |
+
|
161 |
+
<!--
|
162 |
+
### Downstream Use
|
163 |
+
|
164 |
+
*List how someone could finetune this model on their own dataset.*
|
165 |
+
-->
|
166 |
+
|
167 |
+
<!--
|
168 |
+
### Out-of-Scope Use
|
169 |
+
|
170 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
171 |
+
-->
|
172 |
+
|
173 |
+
<!--
|
174 |
+
## Bias, Risks and Limitations
|
175 |
+
|
176 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
177 |
+
-->
|
178 |
+
|
179 |
+
<!--
|
180 |
+
### Recommendations
|
181 |
+
|
182 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
183 |
+
-->
|
184 |
+
|
185 |
+
## Training Details
|
186 |
+
|
187 |
+
### Training Set Metrics
|
188 |
+
| Training set | Min | Median | Max |
|
189 |
+
|:-------------|:----|:---------|:----|
|
190 |
+
| Word count | 3 | 182.3273 | 915 |
|
191 |
+
|
192 |
+
| Label | Training Sample Count |
|
193 |
+
|:------|:----------------------|
|
194 |
+
| 0 | 14 |
|
195 |
+
| 1 | 41 |
|
196 |
+
|
197 |
+
### Training Hyperparameters
|
198 |
+
- batch_size: (8, 8)
|
199 |
+
- num_epochs: (1, 1)
|
200 |
+
- max_steps: -1
|
201 |
+
- sampling_strategy: oversampling
|
202 |
+
- num_iterations: 3
|
203 |
+
- body_learning_rate: (2e-05, 2e-05)
|
204 |
+
- head_learning_rate: 2e-05
|
205 |
+
- loss: CosineSimilarityLoss
|
206 |
+
- distance_metric: cosine_distance
|
207 |
+
- margin: 0.25
|
208 |
+
- end_to_end: False
|
209 |
+
- use_amp: False
|
210 |
+
- warmup_proportion: 0.1
|
211 |
+
- seed: 42
|
212 |
+
- eval_max_steps: -1
|
213 |
+
- load_best_model_at_end: False
|
214 |
+
|
215 |
+
### Training Results
|
216 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
217 |
+
|:------:|:----:|:-------------:|:---------------:|
|
218 |
+
| 0.0238 | 1 | 0.2379 | - |
|
219 |
+
|
220 |
+
### Framework Versions
|
221 |
+
- Python: 3.12.0
|
222 |
+
- SetFit: 1.0.3
|
223 |
+
- Sentence Transformers: 3.0.1
|
224 |
+
- Transformers: 4.39.0
|
225 |
+
- PyTorch: 2.4.0+cu121
|
226 |
+
- Datasets: 2.21.0
|
227 |
+
- Tokenizers: 0.15.2
|
228 |
+
|
229 |
+
## Citation
|
230 |
+
|
231 |
+
### BibTeX
|
232 |
+
```bibtex
|
233 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
234 |
+
doi = {10.48550/ARXIV.2209.11055},
|
235 |
+
url = {https://arxiv.org/abs/2209.11055},
|
236 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
237 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
238 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
239 |
+
publisher = {arXiv},
|
240 |
+
year = {2022},
|
241 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
242 |
+
}
|
243 |
+
```
|
244 |
+
|
245 |
+
<!--
|
246 |
+
## Glossary
|
247 |
+
|
248 |
+
*Clearly define terms in order to be accessible across audiences.*
|
249 |
+
-->
|
250 |
+
|
251 |
+
<!--
|
252 |
+
## Model Card Authors
|
253 |
+
|
254 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
255 |
+
-->
|
256 |
+
|
257 |
+
<!--
|
258 |
+
## Model Card Contact
|
259 |
+
|
260 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
261 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sentence-transformers/paraphrase-mpnet-base-v2",
|
3 |
+
"architectures": [
|
4 |
+
"MPNetModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"max_position_embeddings": 514,
|
16 |
+
"model_type": "mpnet",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 1,
|
20 |
+
"relative_attention_num_buckets": 32,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.39.0",
|
23 |
+
"vocab_size": 30527
|
24 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.0.1",
|
4 |
+
"transformers": "4.39.0",
|
5 |
+
"pytorch": "2.4.0+cu121"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": null
|
10 |
+
}
|
config_setfit.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"normalize_embeddings": false,
|
3 |
+
"labels": null
|
4 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b98b1065de2c8053f68a35565a1a93540ea372c509362a078094cb893543b0b9
|
3 |
+
size 437967672
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:445e32f89b92e6cb0087e0084ffada12f0a118e3d6bea4b3359b70867dd6e958
|
3 |
+
size 7007
|
modules.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
}
|
14 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "[UNK]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"104": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"30526": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"do_basic_tokenize": true,
|
48 |
+
"do_lower_case": true,
|
49 |
+
"eos_token": "</s>",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"never_split": null,
|
53 |
+
"pad_token": "<pad>",
|
54 |
+
"sep_token": "</s>",
|
55 |
+
"strip_accents": null,
|
56 |
+
"tokenize_chinese_chars": true,
|
57 |
+
"tokenizer_class": "MPNetTokenizer",
|
58 |
+
"unk_token": "[UNK]"
|
59 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|