DilipKY commited on
Commit
f074026
·
verified ·
1 Parent(s): d685ec7

Trained for 2000 steps

Browse files
Files changed (4) hide show
  1. README.md +13 -13
  2. config.json +39 -25
  3. generation_config.json +6 -0
  4. model.safetensors +2 -2
README.md CHANGED
@@ -1,18 +1,18 @@
1
  ---
2
- title: "ESPA AI"
3
- emoji: "🤖"
4
- colorFrom: "blue"
5
- colorTo: "green"
6
- sdk: "transformers"
7
- sdk_version: "4.21.1"
8
- app_file: "app.py"
9
- license: "mit"
10
  tags:
11
- - "text-classification"
12
- - "distilbert"
13
- - "NLP"
14
- - "sentiment-analysis"
15
- short_description: "A DistilBERT-based model fine-tuned on IMDb for text classification."
16
  ---
17
  # Model Card for ESPA AI
18
 
 
1
  ---
2
+ title: ESPA AI
3
+ emoji: 🤖
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: transformers
7
+ sdk_version: 4.21.1
8
+ app_file: app.py
9
+ license: mit
10
  tags:
11
+ - text-classification
12
+ - distilbert
13
+ - NLP
14
+ - sentiment-analysis
15
+ short_description: A DistilBERT-based model fine-tuned on IMDb for text classification.
16
  ---
17
  # Model Card for ESPA AI
18
 
config.json CHANGED
@@ -1,32 +1,46 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
 
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
11
- "initializer_range": 0.02,
12
- "max_position_embeddings": 512,
13
- "model_type": "distilbert",
14
- "n_heads": 12,
15
- "n_layers": 6,
16
- "pad_token_id": 0,
17
- "qa_dropout": 0.1,
18
- "seq_classif_dropout": 0.2,
19
- "sinusoidal_pos_embds": false,
20
- "tie_weights_": true,
21
- "torch_dtype": "float32",
22
- "transformers_version": "4.48.3",
23
- "vocab_size": 30522,
24
  "id2label": {
25
- "0": "Negative",
26
- "1": "Positive"
27
  },
 
28
  "label2id": {
29
- "Negative": 0,
30
- "Positive": 1
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  }
 
1
  {
2
+ "_name_or_path": "drive/MyDrive/espa-ai-checkpoint",
3
+ "_num_labels": 1,
4
+ "activation_function": "gelu_new",
5
  "architectures": [
6
+ "GPT2LMHeadModel"
7
  ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  "id2label": {
13
+ "0": "LABEL_0"
 
14
  },
15
+ "initializer_range": 0.02,
16
  "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 6,
26
+ "n_positions": 1024,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.48.3",
44
+ "use_cache": true,
45
+ "vocab_size": 50257
46
  }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.48.3"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e313ab52dbdb8a71a3e3c361ee025df2b917827bbde6c793faab35b470f1f80
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce7a79ca5cb98764285a77f48e92a2d576c33cdd002cf3409b7c08fe13997484
3
+ size 327657928