vgarg commited on
Commit
b549341
1 Parent(s): bfbc676

Add SetFit model

Browse files
Files changed (4) hide show
  1. README.md +30 -0
  2. config_setfit.json +2 -2
  3. model.safetensors +1 -1
  4. model_head.pkl +2 -2
README.md CHANGED
@@ -20,6 +20,20 @@ widget:
20
  pipeline_tag: text-classification
21
  inference: true
22
  base_model: intfloat/multilingual-e5-large
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  ---
24
 
25
  # SetFit with intfloat/multilingual-e5-large
@@ -56,6 +70,13 @@ The model has been trained using an efficient few-shot learning technique that i
56
  | 1 | <ul><li>'Are there plans to enhance promotional activities specific to the MT to mitigate the ROI decline in 2023?'</li><li>'What are the main reasons for ROI decline in 2022 in MT compared to 2021?'</li><li>'Are there changes in consumer preferences or trends that have impacted the Lift of Zucaritas, and how does this compare to other brands like Pringles or Frutela?'</li></ul> |
57
  | 0 | <ul><li>'What type of promotions worked best for MT Walmart in 2022?'</li><li>'Which channel has the max ROI and Vol Lift when we run the Promotion for RTEC category?'</li><li>'Which sub_catg_nm have the highest ROI in 2022?'</li></ul> |
58
 
 
 
 
 
 
 
 
59
  ## Uses
60
 
61
  ### Direct Use for Inference
@@ -132,6 +153,15 @@ preds = model("Which Sku cannibalizes higher margin Skus the most for CHEDRAUI c
132
  - eval_max_steps: -1
133
  - load_best_model_at_end: False
134
 
 
 
 
 
 
 
 
 
 
135
  ### Framework Versions
136
  - Python: 3.10.12
137
  - SetFit: 1.0.3
 
20
  pipeline_tag: text-classification
21
  inference: true
22
  base_model: intfloat/multilingual-e5-large
23
+ model-index:
24
+ - name: SetFit with intfloat/multilingual-e5-large
25
+ results:
26
+ - task:
27
+ type: text-classification
28
+ name: Text Classification
29
+ dataset:
30
+ name: Unknown
31
+ type: unknown
32
+ split: test
33
+ metrics:
34
+ - type: accuracy
35
+ value: 0.9130434782608695
36
+ name: Accuracy
37
  ---
38
 
39
  # SetFit with intfloat/multilingual-e5-large
 
70
  | 1 | <ul><li>'Are there plans to enhance promotional activities specific to the MT to mitigate the ROI decline in 2023?'</li><li>'What are the main reasons for ROI decline in 2022 in MT compared to 2021?'</li><li>'Are there changes in consumer preferences or trends that have impacted the Lift of Zucaritas, and how does this compare to other brands like Pringles or Frutela?'</li></ul> |
71
  | 0 | <ul><li>'What type of promotions worked best for MT Walmart in 2022?'</li><li>'Which channel has the max ROI and Vol Lift when we run the Promotion for RTEC category?'</li><li>'Which sub_catg_nm have the highest ROI in 2022?'</li></ul> |
72
 
73
+ ## Evaluation
74
+
75
+ ### Metrics
76
+ | Label | Accuracy |
77
+ |:--------|:---------|
78
+ | **all** | 0.9130 |
79
+
80
  ## Uses
81
 
82
  ### Direct Use for Inference
 
153
  - eval_max_steps: -1
154
  - load_best_model_at_end: False
155
 
156
+ ### Training Results
157
+ | Epoch | Step | Training Loss | Validation Loss |
158
+ |:------:|:----:|:-------------:|:---------------:|
159
+ | 0.0133 | 1 | 0.3582 | - |
160
+ | 0.6667 | 50 | 0.0024 | - |
161
+ | 1.3333 | 100 | 0.0005 | - |
162
+ | 2.0 | 150 | 0.0004 | - |
163
+ | 2.6667 | 200 | 0.0002 | - |
164
+
165
  ### Framework Versions
166
  - Python: 3.10.12
167
  - SetFit: 1.0.3
config_setfit.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "normalize_embeddings": false,
3
- "labels": null
4
  }
 
1
  {
2
+ "labels": null,
3
+ "normalize_embeddings": false
4
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b97ef8b3fe70ff51008184da99b70a0df37ed377bb538a224f3951f2ed388234
3
  size 2239607176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d3bd170d8e549c5774c6f3418871cd2ccc3a6eaa23b3dab96e77e9caae2fc49
3
  size 2239607176
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:95a2349eb3f96eb70d9185b2f02af4ffabe28566b0bbeda0ad56312e9e6879cb
3
- size 324
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6f2ed167397fe8d3aa5ae40d7062ea545aba8dfb06e3495023680b2d88ab99
3
+ size 25471