BarraHome commited on
Commit
3affd7c
·
verified ·
1 Parent(s): 6a45692

Push model using huggingface_hub.

Browse files
Files changed (4) hide show
  1. README.md +8 -8
  2. config.json +12 -12
  3. examples.json +0 -0
  4. model.safetensors +1 -1
README.md CHANGED
@@ -17,15 +17,15 @@ You can install it with `pip install adaptive-classifier`.
17
 
18
  - Base Model: distilbert-base-uncased
19
  - Number of Classes: 3
20
- - Total Examples: 150
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
- negative: 50 examples (33.3%)
27
- neutral: 50 examples (33.3%)
28
- positive: 50 examples (33.3%)
29
  ```
30
 
31
  ## Usage
@@ -49,7 +49,7 @@ classifier.add_examples(texts, labels)
49
 
50
  ## Training Details
51
 
52
- - Training Steps: 28
53
  - Examples per Class: See distribution above
54
  - Prototype Memory: Active
55
  - Neural Adaptation: Active
@@ -57,9 +57,9 @@ classifier.add_examples(texts, labels)
57
  ## Limitations
58
 
59
  This model:
60
- - Requires at least 5 examples per class
61
- - Has a maximum of 50 examples per class
62
- - Updates prototypes every 25 examples
63
 
64
  ## Citation
65
 
 
17
 
18
  - Base Model: distilbert-base-uncased
19
  - Number of Classes: 3
20
+ - Total Examples: 600
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
+ negative: 200 examples (33.3%)
27
+ neutral: 200 examples (33.3%)
28
+ positive: 200 examples (33.3%)
29
  ```
30
 
31
  ## Usage
 
49
 
50
  ## Training Details
51
 
52
+ - Training Steps: 14
53
  - Examples per Class: See distribution above
54
  - Prototype Memory: Active
55
  - Neural Adaptation: Active
 
57
  ## Limitations
58
 
59
  This model:
60
+ - Requires at least 10 examples per class
61
+ - Has a maximum of 200 examples per class
62
+ - Updates prototypes every 50 examples
63
 
64
  ## Citation
65
 
config.json CHANGED
@@ -6,14 +6,14 @@
6
  "epochs": 10,
7
  "ewc_lambda": 100.0,
8
  "gradient_checkpointing": false,
9
- "learning_rate": 0.001,
10
- "max_examples_per_class": 50,
11
  "max_length": 128,
12
  "min_confidence": 0.1,
13
- "min_examples_per_class": 5,
14
  "neural_weight": 0.3,
15
- "num_representative_examples": 10,
16
- "prototype_update_frequency": 25,
17
  "prototype_weight": 0.7,
18
  "quantization": null,
19
  "similarity_threshold": 0.6,
@@ -21,15 +21,15 @@
21
  },
22
  "embedding_dim": 768,
23
  "id_to_label": {
24
- "0": "neutral",
25
- "1": "positive",
26
- "2": "negative"
27
  },
28
  "label_to_id": {
29
- "negative": 2,
30
- "neutral": 0,
31
- "positive": 1
32
  },
33
  "model_name": "distilbert-base-uncased",
34
- "train_steps": 28
35
  }
 
6
  "epochs": 10,
7
  "ewc_lambda": 100.0,
8
  "gradient_checkpointing": false,
9
+ "learning_rate": 0.0005,
10
+ "max_examples_per_class": 200,
11
  "max_length": 128,
12
  "min_confidence": 0.1,
13
+ "min_examples_per_class": 10,
14
  "neural_weight": 0.3,
15
+ "num_representative_examples": 20,
16
+ "prototype_update_frequency": 50,
17
  "prototype_weight": 0.7,
18
  "quantization": null,
19
  "similarity_threshold": 0.6,
 
21
  },
22
  "embedding_dim": 768,
23
  "id_to_label": {
24
+ "0": "positive",
25
+ "1": "negative",
26
+ "2": "neutral"
27
  },
28
  "label_to_id": {
29
+ "negative": 1,
30
+ "neutral": 2,
31
+ "positive": 0
32
  },
33
  "model_name": "distilbert-base-uncased",
34
+ "train_steps": 14
35
  }
examples.json CHANGED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19381b0916d2223edf789cc7d472a6fc52db77a718bac7300ef938343ecb23fc
3
  size 3558204
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c04dd75a39ee27a591fba46a79584018cb5d085cde42b558cb020059b896f392
3
  size 3558204