Text Classification
Transformers
Safetensors
English
sequence-classification
roma2025 commited on
Commit
94a6c25
·
verified ·
1 Parent(s): b1070c8

Update config.json

Browse files

Updated configuration for SequenceClassification

Files changed (1) hide show
  1. config.json +2 -1
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "/data1/rsaparkh/saved_models/llama3-8b/",
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
@@ -27,6 +27,7 @@
27
  "num_attention_heads": 32,
28
  "num_hidden_layers": 32,
29
  "num_key_value_heads": 8,
 
30
  "pretraining_tp": 1,
31
  "quantization_config": {
32
  "_load_in_4bit": false,
 
1
  {
2
  "_name_or_path": "/data1/rsaparkh/saved_models/llama3-8b/",
3
  "architectures": [
4
+ "LlamaForSequenceClassification"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
 
27
  "num_attention_heads": 32,
28
  "num_hidden_layers": 32,
29
  "num_key_value_heads": 8,
30
+ "num_labels": 3, // Added number of labels for classification
31
  "pretraining_tp": 1,
32
  "quantization_config": {
33
  "_load_in_4bit": false,