Guines / app.py
Bagda's picture
Update app.py
263e873 verified
raw
history blame
371 Bytes
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")