from datasets import load_dataset | |
# Login using e.g. `huggingface-cli login` to access this dataset | |
ds = load_dataset("KadamParth/NCERT_Chemistry_11th") | |
from transformers import OpenAIGPTTokenizer, TFOpenAIGPTModel | |
tokenizer = OpenAIGPTTokenizer.from_pretrained("openai-community/openai-gpt") | |
model = TFOpenAIGPTModel.from_pretrained("openai-community/openai-gpt") | |