Gokul Adethya

Results 3 comments of Gokul Adethya

Without using an encoded vector, this gives me the required output: ```python import tensorflow as tf from transformers import AutoTokenizer, T5Config, TFT5ForConditionalGeneration, set_seed set_seed(0) tokenizer = AutoTokenizer.from_pretrained("t5-small", padding='max_length', truncation=True) tf_model...

@amyeroberts Thanks for replying, I tried do: ```python tf_model.lm_head(output[0]) ``` But I seem to be getting the following error: ``` AttributeError Traceback (most recent call last) [](https://localhost:8080/#) in ----> 1...

```python import tensorflow as tf from transformers import AutoTokenizer, T5Config, TFT5ForConditionalGeneration, set_seed set_seed(0) tokenizer = AutoTokenizer.from_pretrained("t5-small", padding='max_length', truncation=True) tf_model = TFT5ForConditionalGeneration.from_pretrained("t5-small") inputs = tokenizer("i got permission to begin a start...