napatswift commited on
Commit
c97c319
·
1 Parent(s): 1829286
app.py CHANGED
@@ -6,9 +6,9 @@ MAX_SEQUENCE_LENGTH = 40
6
  model = tf.keras.models.load_model('saved_model/model')
7
 
8
  eng_tokenizer = keras_nlp.tokenizers.SentencePieceTokenizer(
9
- 'spmodel/m48.model')
10
  tha_tokenizer = keras_nlp.tokenizers.SentencePieceTokenizer(
11
- 'spmodel/m48.model')
12
 
13
  def decode_sequences(input_sentences):
14
  batch_size = tf.shape(input_sentences)[0]
 
6
  model = tf.keras.models.load_model('saved_model/model')
7
 
8
  eng_tokenizer = keras_nlp.tokenizers.SentencePieceTokenizer(
9
+ 'saved_model/spmodel/m48.model')
10
  tha_tokenizer = keras_nlp.tokenizers.SentencePieceTokenizer(
11
+ 'saved_model/spmodel/m48.model')
12
 
13
  def decode_sequences(input_sentences):
14
  batch_size = tf.shape(input_sentences)[0]
{spmodel → saved_model/model/spmodel}/m48.model RENAMED
File without changes
saved_model/model/spmodel/m48.vocab ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cc8b94d8142aadd767851f831860af7ae1312c0f14308b203dd51ec8decb314
3
+ size 125663
spmodel/m48.vocab DELETED
The diff for this file is too large to render. See raw diff