TypeError Traceback (самый последний вызов — последний)
Cell В[12], строка 1
----> 1 gemma_lm.fit(data, epochs=10, patch_size=32)
Файл: 240, в предложенииpiece_tokenize_op(sp_handle , ввод, nbest_size, альфа, add_bos, add_eos, обратный, out_type, Tsplits, return_nbest, имя)
Код: Выделить всё
TypeError: Exception encountered when calling GemmaTokenizer.call().
Input 'input' of 'SentencepieceTokenizeOp' Op has type float32 that does not match expected type of string.
Arguments received by GemmaTokenizer.call():
• inputs=tf.Tensor(shape=(None,), dtype=float32)
• args=
• training=None
• kwargs=`your text`
я попробовал настроить эпохи на 10, а Batch_size на 32
Подробнее здесь: https://stackoverflow.com/questions/791 ... odel-error