본문으로 건너뛰기
cccskills
무료GitHub에 공개

deep-ctr-torch

Use DeepCTR-Torch for PyTorch CTR/recommender feature columns, single-task models, DIN/DIEN sequence models, and multi-task learning workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(29)

  • SKILL.md4.5 KB
  • references/repo-provenance.md2.6 KB
  • references/repo-routing-metadata.json331 B
  • references/training-api-and-persistence.md5.1 KB
  • references/troubleshooting.md4.3 KB
  • scripts/check_deepctr_torch_env.py6.6 KB
  • sub-skills/feature-column-inputs/references/data-preprocessing.md6.0 KB
  • sub-skills/feature-column-inputs/references/feature-columns-and-inputs.md8.8 KB
  • sub-skills/feature-column-inputs/references/troubleshooting.md7.2 KB
  • sub-skills/feature-column-inputs/scripts/validate_feature_input.py23.2 KB
  • sub-skills/feature-column-inputs/SKILL.md3.0 KB
  • sub-skills/multitask-modeling/references/api-reference.md7.0 KB
  • sub-skills/multitask-modeling/references/mtl-models-and-training.md6.6 KB
  • sub-skills/multitask-modeling/references/troubleshooting.md6.0 KB
  • sub-skills/multitask-modeling/scripts/mmoe_multitask_smoke.py5.6 KB
  • sub-skills/multitask-modeling/SKILL.md2.3 KB
  • sub-skills/sequence-and-interest-models/references/api-reference.md6.0 KB
  • sub-skills/sequence-and-interest-models/references/din-dien-workflows.md6.5 KB
  • sub-skills/sequence-and-interest-models/references/sequence-feature-shapes.md5.1 KB
  • sub-skills/sequence-and-interest-models/references/troubleshooting.md6.3 KB
  • sub-skills/sequence-and-interest-models/scripts/din_sequence_smoke.py6.0 KB
  • sub-skills/sequence-and-interest-models/scripts/varlen_feature_smoke.py5.0 KB
  • sub-skills/sequence-and-interest-models/SKILL.md2.5 KB
  • sub-skills/single-task-modeling/references/api-reference.md9.3 KB
  • sub-skills/single-task-modeling/references/model-catalog.md6.3 KB
  • sub-skills/single-task-modeling/references/training-and-prediction.md8.6 KB
  • sub-skills/single-task-modeling/references/troubleshooting.md7.6 KB
  • sub-skills/single-task-modeling/scripts/deepfm_binary_smoke.py6.4 KB
  • sub-skills/single-task-modeling/SKILL.md2.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DeepCTR-Torch

Use this repo skill when a task names DeepCTR-Torch, deepctr_torch, deepctr-torch, PyTorch CTR prediction, recommender ranking models, SparseFeat/DenseFeat, DeepFM-style models, DIN/DIEN behavior histories, or SharedBottom/ESMM/MMOE/PLE multi-task CTR workflows.

DeepCTR-Torch is a PyTorch package for deep-learning based CTR and recommender models. It exposes feature-column classes, model constructors, and Keras-like compile/fit/predict/evaluate methods.

Install and import

Prefer an isolated Python environment. Minimal package install:

python -m pip install -U deepctr-torch
python - <<'PY'
import deepctr_torch
from deepctr_torch.inputs import SparseFeat, DenseFeat, VarLenSparseFeat, get_feature_names
from deepctr_torch.models import DeepFM
print(deepctr_torch.__version__)
PY

If import deepctr_torch fails with ModuleNotFoundError: requests, install requests explicitly; the package imports it for a best-effort version check even though the distribution metadata may not declare it.

Run the bundled environment checker when starting from an unfamiliar environment:

python scripts/check_deepctr_torch_env.py --quick

Route map

User taskLoad
Build SparseFeat, DenseFeat, VarLenSparseFeat, feature_names, or model_input dictionaries from tabular datafeature-column-inputs
Validate sparse ids, dense vector widths, sequence padding, length_name, shared embedding_name, or batch sizesfeature-column-inputs
Train or predict with DeepFM, WDL, xDeepFM, AFM, AFN, AutoInt, DCN, DCNMix, FiBiNET, IFM, DIFM, MLR, NFM, ONN, PNN, or CCPMsingle-task-modeling
Convert a binary CTR example to regression, choose losses/metrics, use callbacks, save/load weights, or debug single-target trainingsingle-task-modeling and training API
Build DIN/DIEN behavior-history models, align hist_* features, share embeddings, set seq_length, or use DIEN negative samplingsequence-and-interest-models
Use pooled multi-value inputs such as genre lists without DIN/DIEN attentionfeature-column-inputs, then sequence-and-interest-models if sequence-specific behavior is needed
Train SharedBottom, ESMM, MMOE, or PLE with multiple targetsmultitask-modeling
Troubleshoot install/import, offline version checks, GPU selection, data shapes, callbacks, metrics, or PyTorch compatibilitytroubleshooting
Check whether this skill matches a repository checkout or package versionrepo provenance

Common operating pattern

  1. Build and validate feature columns in feature-column-inputs.
  2. Choose the model route: single-task, sequence-interest, or multi-task.
  3. Compile with supported optimizer/loss/metric strings from training API.
  4. Fit on a model_input dictionary whose keys exactly match get_feature_names(...).
  5. Predict and evaluate by task type; for multi-task outputs, evaluate each prediction column against the matching task_names entry.
  6. Use bundled smoke scripts from the owning sub-skill to verify installation or reproduce a minimal pattern before scaling to real data.

Backend notes

DeepCTR-Torch supports CPU workflows and optional PyTorch CUDA devices via device='cuda:0' and, for DataParallel, gpus=[0, 1]. The generated skill was verified for CPU package inspection and tiny CPU training/prediction smokes. Treat GPU and multi-GPU execution as optional unless a user explicitly requests backend verification.

Boundaries

This skill teaches package use, not model-quality benchmarking or recommender-system theory. It does not replace feature engineering, data leakage checks, calibration, or production serving validation. It does not cover arbitrary custom multi-task graph architectures beyond the four package classes.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고