Merge pull request #1207 from zmeihui/24-8-17-dev
diff --git a/examples/trans/README.md b/examples/trans/README.md
index 708fd53..43066fa 100644
--- a/examples/trans/README.md
+++ b/examples/trans/README.md
@@ -1,3 +1,21 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
# Machine translation model using Transformer Example
This example trains a Transformer model on a machine translation task. By default, the training script uses the anki dataset, provided.
@@ -30,5 +48,5 @@
run the example
```
-python train.py --dataset cmn.txt --max-epoch 100 --batch-size 32 --lr 0.01
+python train.py --dataset cmn-2000.txt --max-epoch 100 --batch-size 32 --lr 0.01
```
diff --git a/java/pom.xml b/java/pom.xml
index 7f40b2d..82976f9 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -108,6 +108,7 @@
<exclude>examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg11.toml</exclude>
<exclude>examples/model_selection/Trails/documents/ai_db.001.jpeg</exclude>
<exclude>examples/singa_easy/examples/data/SampleQuestion.json</exclude>
+ <exclude>examples/trans/cmn-eng/cmn-2000.txt</exclude>
</excludes>
<consoleOutput>True</consoleOutput>
</configuration>