File size: 4,727 Bytes
d5092e7 34e5d18 d5092e7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | ---
license: odc-by
language:
- ja
tags:
- synthetic
pretty_name: sdg-nexus
size_categories:
- 1K<n<10K
---
# Function Calling Japanese Dataset(エージェント用データセット)
## 概要
本データセットは、[hypervariance/function-calling-sharegpt](https://huggingface.co/datasets/hypervariance/function-calling-sharegpt) の英語Function Callingデータセットを **日本語に翻訳** したものです。
関数定義(JSON)・関数呼び出し(`<functioncall>`)・関数応答(`function_response`)はそのまま保持し、それ以外のテキスト部分のみをDeepSeek V3.2で翻訳しています。
生成にはSDG-LOOMという合成データ生成パイプラインを用いました。([sdg-loom](https://github.com/foxn2000/sdg_loom))
## データの説明
| 項目 | 内容 |
|------|------|
| **件数** | 約7,000件 |
| **形式** | JSONL(1行1JSON) |
| **言語** | 日本語(関数定義・呼び出し・応答は英語のまま保持) |
| **ソースデータセット** | [hypervariance/function-calling-sharegpt](https://huggingface.co/datasets/hypervariance/function-calling-sharegpt) |
| **生成日** | 2026年3月 |
| **ライセンス** | odc-by ( Open Data Commons Attribution License ) |
### 翻訳ルール
| ロール | 翻訳対象 |
|---|---|
| `system` | JSON関数定義はそのまま保持、説明テキストのみ翻訳 |
| `user`(human) | 全体を翻訳 |
| `assistant`(gpt) | `<functioncall>` 部分はそのまま保持、テキスト部分のみ翻訳 |
| `tool`(function_response) | そのまま保持(翻訳しない) |
## 使用モデル
| 項目 | 詳細 |
|------|------|
| **モデル** | [DeepSeek V3.2](https://openrouter.ai/) |
| **APIモデル名** | `deepseek/deepseek-v3.2` |
| **Reasoning** | OFF |
| **Temperature** | 0.2 |
| **Max Tokens** | 16,000 |
## データ構造
### 出力スキーマ(JSONL)
各行は `_row_index` と `conversations`(JSONオブジェクト)を持ちます。
| フィールド | 型 | 説明 |
|---|---|---|
| `messages` | `array` | OpenAI messages形式の会話配列。system/user/assistant/tool を含む。 |
| `reasoning` | `string` | Reasoning設定(`"disable"`)。 |
| `generator` | `string` | 翻訳モデル名(`"deepseek/deepseek-v3.2"`)。 |
| `category` | `string` | データカテゴリ(`"function_calling"`)。 |
| `version` | `string` | データバージョン(`"v1.0"`)。 |
| `other_data` | `object` | ソースデータセット名、翻訳ステータス、セグメント数等。 |
### messages配列の構造
| role | 内容 |
|------|------|
| `system` | 利用可能な関数定義(JSON)と使用方法の説明(翻訳済み) |
| `user` | ユーザーのリクエスト(翻訳済み) |
| `assistant` | テキスト応答(翻訳済み)または `<functioncall>` による関数呼び出し(原文保持) |
| `tool` | 関数の実行結果(原文保持) |
### 出力例
```json
{
"messages": [
{"role": "system", "content": "あなたは以下の機能にアクセスできる親切なアシスタントです。\n\n{\"name\": \"convert_temperature\", \"description\": \"Convert temperature from one unit to another\", ...}"},
{"role": "user", "content": "こんにちは、摂氏温度を華氏に変換したいです。温度は摂氏30度です。"},
{"role": "assistant", "content": "<functioncall> {\"name\": \"convert_temperature\", \"arguments\": '{\"temperature\": 30, \"from_unit\": \"Celsius\", \"to_unit\": \"Fahrenheit\"}'} </functioncall>"},
{"role": "tool", "content": "{\"converted_temperature\":86}"},
{"role": "assistant", "content": "摂氏30度を華氏に変換すると、華氏86度です。"}
],
"reasoning": "disable",
"generator": "deepseek/deepseek-v3.2",
"category": "function_calling",
"version": "v1.0",
"other_data": {
"source_dataset": "hypervariance/function-calling-sharegpt",
"status": "success",
"translation_model": "deepseek/deepseek-v3.2",
"original_turn_count": 5,
"translated_segment_count": 4,
"expected_segment_count": 4
}
}
```
## 注意事項
- 本データセットは翻訳ベースの合成データです。
- `other_data.status` が `"partial"` のレコードは一部翻訳が欠落しており、原文がフォールバックとして使用されています。利用時にフィルタリングを推奨します。
- 関数定義・呼び出し・応答は英語のまま保持されています。これによりFunction Callingの構造的整合性を維持しています。
- ソースデータセットのライセンスも併せてご確認ください。 |