Spaces:
Sleeping
Sleeping
app modified
Browse files
app.py
CHANGED
@@ -325,7 +325,7 @@ class ModeloDataset:
|
|
325 |
tokenized_text=[self.tokenizer.tokenize(sentence) for sentence in _sentences]
|
326 |
|
327 |
ids = [self.tokenizer.convert_tokens_to_ids(x) for x in tokenized_text]
|
328 |
-
|
329 |
|
330 |
MAX_LEN=128
|
331 |
ids=pad_sequences(ids,maxlen=MAX_LEN,dtype="long",truncating="post", padding="post")
|
|
|
325 |
tokenized_text=[self.tokenizer.tokenize(sentence) for sentence in _sentences]
|
326 |
|
327 |
ids = [self.tokenizer.convert_tokens_to_ids(x) for x in tokenized_text]
|
328 |
+
|
329 |
|
330 |
MAX_LEN=128
|
331 |
ids=pad_sequences(ids,maxlen=MAX_LEN,dtype="long",truncating="post", padding="post")
|