-
dear all, i tried to finetune the model with local pc dataset file. please let me know the good solution. |
Beta Was this translation helpful? Give feedback.
Answered by
NJordan72
Apr 23, 2024
Replies: 2 comments
-
datasets:
- type: alpaca
ds_type: json
path: /directory/to/dataset files Obviously set the types appropriately for your files. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NanoCode012
-
Another approach that be relevant for a {"prompt": "Why is Australia the best place to live?", "completion": "Australia boasts a high quality of life, stunning landscapes, and a diverse, welcoming community, making it the best place to live."}
{"prompt": "What makes Australia a unique country?", "completion": "Australia's unique biodiversity, vibrant indigenous cultures, and world-renowned landmarks like the Great Barrier Reef set it apart from the rest of the world."}
... With keys: Would be this config: datasets:
- path: <name_of_dataset_or_path_to_datafile>
ds_type: json
# see: `UserDefinedDatasetConfig` for fields we can set in the following mapping
type:
field_instruction: prompt
field_output: completion
no_input_format: "{instruction}" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Obviously set the types appropriately for your files.