Skip to content

Commit

Permalink
fix configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Малахов Алексей Павлович committed Nov 26, 2024
1 parent 79a6a54 commit cde2fea
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/fixtures/configs/inference/classification/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"model_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "seq_cls",
"resize_token_embeddings": true,
"transformers_settings": {
},
"model_kwargs": {
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/inference/rag/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"transformers_settings": {},
"resize_token_embeddings": true,
"embeddings_initialization_strategy": {
"<RS>": "<s>",
"</RS>": "</s>",
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/inference/sft/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"model_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"resize_token_embeddings": true,
"transformers_settings": {},
"adapter_path": "tests/fixtures/models/llama2_tiny_fine_tuned_with_adapters/trainer/adapter_model"
},
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/sampling/rm.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"rm": {
"model_path": "tests/fixtures/models/gptj_tiny_for_seq_cls",
"model_type": "seq_cls",
"resize_token_embeddings": true,
"transformers_settings": {},
"model_kwargs": {
"num_labels": 1
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/sampling/rso.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"rm": {
"model_path": "tests/fixtures/models/gptj_tiny_for_seq_cls",
"model_type": "seq_cls",
"resize_token_embeddings": true,
"transformers_settings": {},
"model_kwargs": {
"num_labels": 1
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/train/rag/end2end.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"generator_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"resize_token_embeddings": true,
"transformers_settings": {},
"embeddings_initialization_strategy": {
"<RS>": "<s>",
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/train/sft/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"model_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"resize_token_embeddings": true,
"transformers_settings": {
},
"peft_settings": {
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/train/sft/prompt_tuning.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"transformers_settings": {},
"resize_token_embeddings": true,
"peft_settings": {
"task_type": "CAUSAL_LM",
"name": "PROMPT_TUNING",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"model_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"resize_token_embeddings": true,
"transformers_settings": {},
"adapter_path": "tests/fixtures/checkpoints/llama2_tiny_debug_checkpoint",
"is_trainable": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"model_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"resize_token_embeddings": true,
"transformers_settings": {
},
"peft_settings": {
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/configs/train/sft/sft_with_rm_metric.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"model_settings": {
"model_path": "tests/fixtures/models/llama2_tiny",
"model_type": "causal",
"resize_token_embeddings": true,
"transformers_settings": {
},
"peft_settings": {
Expand Down

0 comments on commit cde2fea

Please sign in to comment.