(example)
| 115 | datasets = Dataset.from_pandas(df) |
| 116 | |
| 117 | def combine_function(example): |
| 118 | example['text'] = example['description'] |
| 119 | example['labels'] = example['label'] - 1 |
| 120 | return example |
| 121 | |
| 122 | datasets = datasets.map(combine_function, |
| 123 | batched=False, |
nothing calls this directly
no outgoing calls
no test coverage detected