AbdulHadi806's picture
Update README.md
067ecc6 verified

Latex to Python code

This is the tokenizer for the model:

Load model directly

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, RobertaTokenizer, T5ForConditionalGeneration

tokenizer = AutoTokenizer.from_pretrained("AbdulHadi806/codeT5-finetuned-LaTexToPythonCode-30kDataset")
model = T5ForConditionalGeneration.from_pretrained("AbdulHadi806/codeT5-finetuned-LaTexToPythonCode-30kDataset")