Skip to content

Running pythonLanguagemodel.py #24

@suhagba

Description

@suhagba

Can you provide a a sample run time command for Train, test and pre-process ? i am having trouble running the program.
this is my progress till now :
data_path=/home/suhag/Desktop/Sick-Beard_normalised
train=True
list_file=train_files.txt
vocab_file=mapping.map
output_file=/home/suhag/Desktop/output_file
seq_length=100
batch_size=100
num_partitions=1
oov_threshold=10
epochs=50
attention=None
attention_variant=None
init_scale=0.1
max_grad_norm=5
num_layers=1
hidden_size=200
keep_prob=0.9
num_samples=100
status_iterations=1000
max_attention=10
learning_rate=1.0
lr_decay=0.9
model_path=None
lambda_type=state
save_path=./out/model
checkpoint_path=./out/checkpoint
events_path=./out/save
data_pattern=all_{-type-}_data.dat
embedding_path=None
embedding_trainable=True

Tensorflow version: 0.12.1
Running train

Vocab size: 34
No partitions found for train data, exiting...
An exception has occurred, use %tb to see the full traceback.

SystemExit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions