Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
abhishekkrthakur committed Sep 28, 2023
1 parent 4ef5f41 commit 6928c10
Showing 4 changed files with 42 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
41 changes: 41 additions & 0 deletions m7b-guanaco/training_params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"model": "mistralai/Mistral-7B-Instruct-v0.1",
"data_path": "timdettmers/openassistant-guanaco",
"project_name": "m7b-guanaco",
"train_split": "train",
"valid_split": null,
"text_column": "text",
"token": "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",
"lr": 0.0002,
"epochs": 1,
"batch_size": 4,
"warmup_ratio": 0.1,
"gradient_accumulation": 1,
"optimizer": "adamw_torch",
"scheduler": "linear",
"weight_decay": 0.0,
"max_grad_norm": 1.0,
"seed": 42,
"add_eos_token": false,
"block_size": -1,
"use_peft": true,
"lora_r": 16,
"lora_alpha": 32,
"lora_dropout": 0.05,
"logging_steps": -1,
"evaluation_strategy": "epoch",
"save_total_limit": 1,
"save_strategy": "epoch",
"auto_find_batch_size": false,
"fp16": false,
"push_to_hub": false,
"use_int8": false,
"model_max_length": 1024,
"repo_id": null,
"use_int4": true,
"trainer": "sft",
"target_modules": "q_proj,v_proj",
"merge_adapter": false,
"username": "abhishek",
"use_flash_attention_2": false
}
2 changes: 1 addition & 1 deletion src/autotrain/backend.py
Original file line number Diff line number Diff line change
@@ -327,7 +327,7 @@ def _create_space(self):
repo_type="space",
)

_dockerfile = "FROM huggingface/autotrain-advanced:latest\nCMD autotrain api --port 7860 --host 0.0.0.0"
_dockerfile = "FROM huggingface/autotrain-advanced:latest\nCMD autotrain setup\nCMD autotrain api --port 7860 --host 0.0.0.0"
_dockerfile = io.BytesIO(_dockerfile.encode())
api.upload_file(
path_or_fileobj=_dockerfile,

0 comments on commit 6928c10

Please sign in to comment.