mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-10 11:40:48 +08:00
fixed bpe issue
This commit is contained in:
@@ -8,7 +8,7 @@ from collections import Counter
|
||||
from tensorflow.python import debug as tf_debug
|
||||
from tensorflow.python.ops import math_ops
|
||||
from tensorflow.python.ops import embedding_ops
|
||||
import generator.ctrl.model.fastBPE as fastBPE
|
||||
import fastBPE
|
||||
|
||||
pos_action_starts = ["You attack", "You tell", "You use", "You go"]
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ curl https://sdk.cloud.google.com | bash
|
||||
exec -l $SHELL
|
||||
gcloud init
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
cd ..
|
||||
|
||||
# Download the 512-length model if specified, 256-length otherwise
|
||||
#if [ "$1" = "512" ]
|
||||
|
||||
Reference in New Issue
Block a user