mirror of https://github.com/hpcaitech/ColossalAI
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
814 B
34 lines
814 B
1 year ago
|
{
|
||
|
"model": [
|
||
|
{
|
||
|
"name": "model name",
|
||
|
"model_class": "HuggingFaceCausalLM",
|
||
|
"parameters": {
|
||
|
"path": "path to model",
|
||
|
"model_max_length": 4096,
|
||
|
"tokenizer_path": "",
|
||
|
"tokenizer_kwargs": {
|
||
|
"trust_remote_code": true
|
||
|
},
|
||
|
"peft_path": null,
|
||
|
"model_kwargs": {
|
||
|
"torch_dtype": "torch.float32",
|
||
|
"trust_remote_code": true
|
||
|
},
|
||
|
"prompt_template": "plain",
|
||
|
"batch_size": 4
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"dataset": [
|
||
|
{
|
||
|
"name": "colossal",
|
||
|
"dataset_class": "ColossalDataset",
|
||
|
"debug": false,
|
||
|
"few_shot": false,
|
||
|
"path": "../../configs/gpt_evaluation/data/eval_en_examples.json",
|
||
|
"save_path": "path to save converted dataset (inference_data/colossal.json)"
|
||
|
}
|
||
|
]
|
||
|
}
|