From e397d7cf5968e301ee43a1df02547fbceff27f39 Mon Sep 17 00:00:00 2001 From: Moaz Reyad Date: Tue, 13 Aug 2024 08:10:43 +0000 Subject: [PATCH] Add the running script for the Transformer example --- examples/trans/run.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/trans/run.sh diff --git a/examples/trans/run.sh b/examples/trans/run.sh new file mode 100644 index 000000000..3e7e11bc0 --- /dev/null +++ b/examples/trans/run.sh @@ -0,0 +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. +# + +# run this example +python train.py --dataset cmn-2000.txt --max-epoch 300 --batch-size 32 --lr 0.01 \ No newline at end of file