@element14 , did you ever figure this

@element14 , did you ever figure this out? I'm getting this same FILE_PARSE_ERROR with my autotrained finetune
1 Reply
jameskraus
jameskrausOP•8mo ago
Oh, duh, literally just needed to scroll: https://discord.com/channels/595317990191398933/1105477009964027914/1238457484642091069 Thanks for following up!
--target_modules q_proj,v_proj
--target_modules q_proj,v_proj
Apparently! Ah, yeah, that didn't seem to do it 😕 Passed
"target_modules": "q_proj,v_proj",
"target_modules": "q_proj,v_proj",
But still not accepted :/
FILE_PARSE_ERROR: 'file' should be of valid safetensors type [code: 1000], quiting...
Adapter config:
{
"alpha_pattern": {},
"auto_mapping": null,
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
"bias": "none",
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 32,
"lora_dropout": 0.05,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"peft_type": "LORA",
"r": 8,
"rank_pattern": {},
"revision": null,
"target_modules": [
"q_proj",
"v_proj"
],
"task_type": "CAUSAL_LM",
"use_dora": false,
"use_rslora": false,
"model_type": "mistral"
}
{
"alpha_pattern": {},
"auto_mapping": null,
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
"bias": "none",
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 32,
"lora_dropout": 0.05,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"peft_type": "LORA",
"r": 8,
"rank_pattern": {},
"revision": null,
"target_modules": [
"q_proj",
"v_proj"
],
"task_type": "CAUSAL_LM",
"use_dora": false,
"use_rslora": false,
"model_type": "mistral"
}
Currently using huggingface autotrain, since when I use the collab notebook I get this error:
autotrain <command> [<args>] llm: error: argument --quantization/--quantization: invalid choice: 'None' (choose from 'int4', 'int8', None)
autotrain <command> [<args>] llm: error: argument --quantization/--quantization: invalid choice: 'None' (choose from 'int4', 'int8', None)
(Not sure what's going wrong there, but it doesn't seem like it's compatible with the finetuning instructions Wow, just removed the --quantization line in the colab and it appears that unblocked it. I guess None is the default? Hopefully that works
Want results from more Discord servers?
Add your server