salesforce / CodeTF

CodeTF: One-stop Transformer Library for State-of-the-art Code LLM
Apache License 2.0
1.45k stars 100 forks source link

I want to fine tuning codetf to generate json rule code. #38

Open CharellKing opened 1 year ago

CharellKing commented 1 year ago

How can I customize my dataset? this is the snippet of json.

{ "type": "page", "body": { "type": "collapse-group", "activeKey": [ "1" ], "body": [ { "type": "collapse", "key": "1", "header": "title 1", "body": "this is content 1" }, { "type": "collapse", "key": "2", "header": "title 2", "body": "this is content 2" }, { "type": "collapse", "key": "3", "header": "title 3", "body": "this is content 3" } ] } }

bdqnghi commented 1 year ago

i'm not very sure, can your dataset be converted into some sequence format?