tensorflow-trainer
БесплатноБез исполняемых скриптовНе проверенTensorFlow/Keras model training skill with callbacks, distributed strategies, and TensorBoard integration.
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
tensorflow-trainer
Overview
TensorFlow/Keras model training skill with callbacks, distributed strategies, TensorBoard integration, and production-ready model export capabilities.
Capabilities
- Keras model training with callbacks
- Custom training loops with tf.GradientTape
- Distribution strategy configuration (MirroredStrategy, MultiWorkerMirroredStrategy, TPUStrategy)
- TensorBoard logging and visualization
- SavedModel export for TF Serving
- TFLite conversion for edge deployment
- Mixed precision training
Target Processes
- Model Training Pipeline with Experiment Tracking
- Distributed Training Orchestration
- Model Deployment Pipeline
Tools and Libraries
- TensorFlow
- Keras
- TensorBoard
- TensorFlow Serving
- TensorFlow Lite
Input Schema
{
"type": "object",
"required": ["modelConfig", "dataConfig", "trainingConfig"],
"properties": {
"modelConfig": {
"type": "object",
"properties": {
"modelPath": { "type": "string" },
"modelType": { "type": "string", "enum": ["sequential", "functional", "subclassed"] }
}
},
"dataConfig": {
"type": "object",
"properties": {
"trainPath": { "type": "string" },
"valPath": { "type": "string" },
"batchSize": { "type": "integer" },
"prefetch": { "type": "boolean" }
}
},
"trainingConfig": {
"type": "object",
"properties": {
"epochs": { "type": "integer" },
"optimizer": { "type": "string" },
"learningRate": { "type": "number" },
"loss": { "type": "string" },
"metrics": { "type": "array", "items": { "type": "string" } },
"callbacks": { "type": "array", "items": { "type": "string" } },
"distributionStrategy": { "type": "string" }
}
},
"exportConfig": {
"type": "object",
"properties": {
"savedModelPath": { "type": "string" },
"tflitePath": { "type": "string" },
"servingSignatures": { "type": "array", "items": { "type": "string" } }
}
}
}
}
Output Schema
{
"type": "object",
"required": ["status", "metrics", "modelPath"],
"properties": {
"status": {
"type": "string",
"enum": ["success", "error", "early_stopped"]
},
"metrics": {
"type": "object",
"properties": {
"loss": { "type": "number" },
"valLoss": { "type": "number" },
"accuracy": { "type": "number" },
"valAccuracy": { "type": "number" },
"epochsTrained": { "type": "integer" }
}
},
"modelPath": {
"type": "string"
},
"savedModelPath": {
"type": "string"
},
"tensorboardLogDir": {
"type": "string"
},
"history": {
"type": "object",
"description": "Training history with all metrics per epoch"
}
}
}
Usage Example
{
kind: 'skill',
title: 'Train TensorFlow model',
skill: {
name: 'tensorflow-trainer',
context: {
modelConfig: {
modelPath: 'models/cnn_model.py',
modelType: 'functional'
},
dataConfig: {
trainPath: 'data/train',
valPath: 'data/val',
batchSize: 64,
prefetch: true
},
trainingConfig: {
epochs: 50,
optimizer: 'adam',
learningRate: 0.001,
loss: 'sparse_categorical_crossentropy',
metrics: ['accuracy'],
callbacks: ['early_stopping', 'model_checkpoint', 'tensorboard']
}
}
}
}
Установить tensorflow-trainer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashGlobGrepВложенные файлы
FAQ
Что делает скилл tensorflow-trainer?
TensorFlow/Keras model training skill with callbacks, distributed strategies, and TensorBoard integration.
Как установить скилл tensorflow-trainer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tensorflow-trainer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic