Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python wrapper.py #40

Open
motuomumu opened this issue Dec 7, 2022 · 2 comments
Open

python wrapper.py #40

motuomumu opened this issue Dec 7, 2022 · 2 comments

Comments

@motuomumu
Copy link

hi ,I'm puzzled when running wrapper.py, the following appears which I can't understand
NAME
wrapper.py

SYNOPSIS
wrapper.py GROUP | COMMAND

GROUPS
GROUP is one of the following:

 json
   JSON (JavaScript Object Notation) <http://json.org> is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format.

 os
   OS routines for NT or Posix depending on what system we're on.

 shutil
   Utility functions for copying and archiving files and directory trees.

 sys
   This module provides access to some objects used or maintained by the interpreter and to functions that interact strongly with the interpreter.

 List
   The central part of internal API.

 Tuple
   Tuple type; Tuple[X, Y] is the cross-product type of X and Y.

 Optional
   Internal indicator of special typing constructs. See _doc instance attribute for specific docs.

COMMANDS
COMMAND is one of the following:

 Namespace
   Simple object for storing attributes.

 Path
   PurePath subclass that can make system calls.

 train_model
   Trains the model specified in the given [`Params`](../common/params.md#params) object, using the data and training parameters also specified in that object, and saves the results in `serialization_dir`
@chiayewken
Copy link
Owner

Hi, can you try the training command here?

python aste/wrapper.py run_train_many \
--save_dir_template "outputs/14lap/seed_{}" \
--random_seeds [0,1,2,3,4] \
--path_train data/triplet_data/14lap/train.txt \
--path_dev data/triplet_data/14lap/dev.txt

@motuomumu
Copy link
Author

嗨,你能在这里试试训练命令吗?

python aste/wrapper.py run_train_many \
--save_dir_template "outputs/14lap/seed_{}" \
--random_seeds [0,1,2,3,4] \
--path_train data/triplet_data/14lap/train.txt \
--path_dev data/triplet_data/14lap/dev.txt

hi,I have executed these training commands and output the results without errors,but,there is a problem when executing the wrapper.py ,I just don't get it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants