Update app.py
Browse files
app.py
CHANGED
@@ -36,3 +36,8 @@ from datasets import load_dataset
|
|
36 |
|
37 |
# Login using e.g. `huggingface-cli login` to access this dataset
|
38 |
ds = load_dataset("KadamParth/NCERT_Chemistry_11th")
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
# Login using e.g. `huggingface-cli login` to access this dataset
|
38 |
ds = load_dataset("KadamParth/NCERT_Chemistry_11th")
|
39 |
+
|
40 |
+
from transformers import OpenAIGPTTokenizer, TFOpenAIGPTModel
|
41 |
+
|
42 |
+
tokenizer = OpenAIGPTTokenizer.from_pretrained("openai-community/openai-gpt")
|
43 |
+
model = TFOpenAIGPTModel.from_pretrained("openai-community/openai-gpt")
|