jameskraus
jameskraus
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
Wow, just removed the --quantization line in the colab and it appears that unblocked it. I guess None is the default? Hopefully that works
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
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
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
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"
}
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
FILE_PARSE_ERROR: 'file' should be of valid safetensors type [code: 1000], quiting...
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
Passed
"target_modules": "q_proj,v_proj",
"target_modules": "q_proj,v_proj",
But still not accepted :/
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
Ah, yeah, that didn't seem to do it 😕
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
--target_modules q_proj,v_proj
--target_modules q_proj,v_proj
Apparently!
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
Thanks for following up!
9 replies
CDCloudflare Developers
Created by jameskraus on 5/13/2024 in #workers-ai
@element14 , did you ever figure this
9 replies