task_categories:text-generation language:en license:cc-by-4.0 size_categories:10K<n<100K format:parquet modality:text library:datasets library:pandas library:mlcroissant library:polars region:us
---
license: cc-by-4.0
task_categories:
- text-generation
language:
- en
arxiv: 2406.18518
configs:
- config_name: xlam-function-calling-60k
  data_files: "xlam-function-calling-60k.parquet"
  default: true
---

# [PARSED] APIGen Function-Calling Datasets (xLAM)

This dataset contains the _**full**_ data from the original [Salesforce/xlam-function-calling-60k](https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k)

| Subset name               | multi-turn | parallel | multiple definition | Last turn type | number of dataset |
| ------------------------- | ---------- | -------- | ------------------- | -------------- | ----------------- |
| xlam-function-calling-60k | no         | yes      | yes                 | tool_calls     | 60000             |

This is a re-parsing formatting dataset for the xLAM official dataset.

## Load the dataset

```python
from datasets import load_dataset

ds = load_dataset("minpeter/xlam-function-calling-60k-parsed")
print(ds)

# DatasetDict({
#     train: Dataset({
#         features: ['messages', 'tools', 'extra'],
#         num_rows: 60000
#     })
# })
```