asadnaqvi commited on
Commit
602fbc6
1 Parent(s): 8f09b03

Add SetFit ABSA model

Browse files
Files changed (5) hide show
  1. README.md +27 -26
  2. config.json +1 -1
  3. config_setfit.json +2 -2
  4. model.safetensors +1 -1
  5. model_head.pkl +1 -1
README.md CHANGED
@@ -10,22 +10,22 @@ base_model: BAAI/bge-small-en-v1.5
10
  metrics:
11
  - accuracy
12
  widget:
13
- - text: People:Based partly on Chinese military journals, internal speeches by senior
14
- People's Liberation Army (PLA) officers, and patent data, the paper charts more
15
- than 50 years of the PLA navy's often-glacial nuclear submarine development.
16
- - text: Qingdao:Chinese Navy's nuclear-powered submarine Long March 11 takes part
17
- in a naval parade off the eastern port city of Qingdao to mark the 70th anniversary
18
- of the founding of the Chinese People's Liberation Army Navy.
19
- - text: warfare drills:Anti-submarine warfare drills are increasing, as are deployments
20
- of sub-hunting P-8 Poseidon aircraft around Southeast Asia and the Indian Ocean.
21
- - text: devices:The research also details potential breakthroughs in specific areas,
22
- including pump-jet propulsion and internal quieting devices, based on 'imitative
23
- innovation' of Russian technology.
24
- - text: axe 73,800 jobs:State-run miner Coal India Limited (CIL), which has the biggest
25
- workforce among listed government undertakings, is likely to axe 73,800 jobs by
26
- 2050 as India pledges to move from fossil fuels to green power, according to a
27
- research report released by the US-based think tank Global Energy Monitor (GEM)
28
- on October 10.
29
  pipeline_tag: text-classification
30
  inference: false
31
  model-index:
@@ -40,7 +40,7 @@ model-index:
40
  split: test
41
  metrics:
42
  - type: accuracy
43
- value: 0.7874720357941835
44
  name: Accuracy
45
  ---
46
 
@@ -91,7 +91,7 @@ This model was trained within the context of a larger system for ABSA, which loo
91
  ### Metrics
92
  | Label | Accuracy |
93
  |:--------|:---------|
94
- | **all** | 0.7875 |
95
 
96
  ## Uses
97
 
@@ -174,14 +174,15 @@ preds = model("The food was great, but the venue is just way too busy.")
174
  | Epoch | Step | Training Loss | Validation Loss |
175
  |:----------:|:-------:|:-------------:|:---------------:|
176
  | 0.0018 | 1 | 0.2598 | - |
177
- | 0.0893 | 50 | 0.2458 | 0.2552 |
178
- | 0.1786 | 100 | 0.2418 | 0.2527 |
179
- | **0.2679** | **150** | **0.2427** | **0.2459** |
180
- | 0.3571 | 200 | 0.1272 | 0.2566 |
181
- | 0.4464 | 250 | 0.0075 | 0.3028 |
182
- | 0.5357 | 300 | 0.0023 | 0.3251 |
183
- | 0.625 | 350 | 0.0021 | 0.328 |
184
- | 0.7143 | 400 | 0.0037 | 0.355 |
 
185
 
186
  * The bold row denotes the saved checkpoint.
187
  ### Framework Versions
 
10
  metrics:
11
  - accuracy
12
  widget:
13
+ - text: closures:Runa Sarkar, a professor at the Indian Institute of Management Calcutta,
14
+ said the coal mining region most affected by mine closures is West Bengal.
15
+ - text: comment:Neither the Russian nor the Chinese defence ministries responded to
16
+ Reuters' requests for comment.
17
+ - text: 'Canada:The statements made in Canada''s parliament were finally an acknowledgement
18
+ of the reality that young Sikhs like me have lived through for decades: Sikh dissidents
19
+ expressing their support for an independent state may face the risk of imminent
20
+ harm, even in the diaspora.'
21
+ - text: France:The Paris Agreement, a legally binding international treaty on climate
22
+ change adopted by 196 parties at the UN Climate Change Conference (COP21) in Paris,
23
+ France in December 2015, aims to hold the increase in the global average temperature
24
+ to well below 2°C above pre-industrial levels.
25
+ - text: 'risk:The statements made in Canada''s parliament were finally an acknowledgement
26
+ of the reality that young Sikhs like me have lived through for decades: Sikh dissidents
27
+ expressing their support for an independent state may face the risk of imminent
28
+ harm, even in the diaspora.'
29
  pipeline_tag: text-classification
30
  inference: false
31
  model-index:
 
40
  split: test
41
  metrics:
42
  - type: accuracy
43
+ value: 0.7630057803468208
44
  name: Accuracy
45
  ---
46
 
 
91
  ### Metrics
92
  | Label | Accuracy |
93
  |:--------|:---------|
94
+ | **all** | 0.7630 |
95
 
96
  ## Uses
97
 
 
174
  | Epoch | Step | Training Loss | Validation Loss |
175
  |:----------:|:-------:|:-------------:|:---------------:|
176
  | 0.0018 | 1 | 0.2598 | - |
177
+ | 0.0893 | 50 | 0.2458 | 0.2547 |
178
+ | 0.1786 | 100 | 0.2418 | 0.2522 |
179
+ | 0.2679 | 150 | 0.2427 | 0.2452 |
180
+ | **0.3571** | **200** | **0.1272** | **0.2419** |
181
+ | 0.4464 | 250 | 0.0075 | 0.2853 |
182
+ | 0.5357 | 300 | 0.0023 | 0.3134 |
183
+ | 0.625 | 350 | 0.0021 | 0.3138 |
184
+ | 0.7143 | 400 | 0.0037 | 0.3502 |
185
+ | 0.8036 | 450 | 0.011 | 0.3437 |
186
 
187
  * The bold row denotes the saved checkpoint.
188
  ### Framework Versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "models/step_150",
3
  "architectures": [
4
  "BertModel"
5
  ],
 
1
  {
2
+ "_name_or_path": "models/step_200",
3
  "architectures": [
4
  "BertModel"
5
  ],
config_setfit.json CHANGED
@@ -3,7 +3,7 @@
3
  "no aspect",
4
  "aspect"
5
  ],
6
- "spacy_model": "en_core_web_lg",
7
  "normalize_embeddings": false,
8
- "span_context": 0
 
9
  }
 
3
  "no aspect",
4
  "aspect"
5
  ],
 
6
  "normalize_embeddings": false,
7
+ "span_context": 0,
8
+ "spacy_model": "en_core_web_lg"
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:632ad8463ed94b5d6918d13be6dc388d1cfe583a2fe3d469f84c6312a9855aca
3
  size 133462128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f561bf1872dee4ee28bf0dce9928b671ec79f80f4d59898c3c89d4d9c3e1220a
3
  size 133462128
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:376562608e572c6d4e3f76ac297b53f1c85ce31b41fc9e965a607eb8394dfb3d
3
  size 3919
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:361558fdb7f6f2124a2dca2ef02494aa04c0358f23442e8a804dc898c16b30df
3
  size 3919