From 3e9fb19d666ddc880dcb7931f4db0b7fb78a8e44 Mon Sep 17 00:00:00 2001 From: inter Date: Thu, 4 Sep 2025 14:09:21 +0800 Subject: [PATCH] Add File --- .../dromara/easyai/transFormer/WordIds.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main/java/org/dromara/easyai/transFormer/WordIds.java diff --git a/src/main/java/org/dromara/easyai/transFormer/WordIds.java b/src/main/java/org/dromara/easyai/transFormer/WordIds.java new file mode 100644 index 0000000..0f3126b --- /dev/null +++ b/src/main/java/org/dromara/easyai/transFormer/WordIds.java @@ -0,0 +1,21 @@ +package org.dromara.easyai.transFormer; + +import java.util.ArrayList; +import java.util.List; + +/** + * @author lidapeng + * @time 2025/3/29 18:43 + */ +public class WordIds { + private final List encoder = new ArrayList<>(); + private final List decoder = new ArrayList<>(); + + public List getEncoder() { + return encoder; + } + + public List getDecoder() { + return decoder; + } +}