File size: 371 Bytes
97e5eed 0040eab 97e5eed 07a3e99 dcaa8f7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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")
|