Divyasreepat commited on
Commit
4f0fbd7
1 Parent(s): b804d9e

Update README.md with new model card content

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -92,7 +92,7 @@ gpt2_lm.generate(prompt)
92
  Call `fit()` on a single batch.
93
  ```python
94
  features = ["The quick brown fox jumped.", "I forgot my homework."]
95
- gpt2_lm = keras_hub.models.GPT2CausalLM.from_preset("gpt2_base_en")
96
  gpt2_lm.fit(x=features, batch_size=2)
97
  ```
98
 
@@ -158,7 +158,7 @@ gpt2_lm.generate(prompt)
158
  Call `fit()` on a single batch.
159
  ```python
160
  features = ["The quick brown fox jumped.", "I forgot my homework."]
161
- gpt2_lm = keras_hub.models.GPT2CausalLM.from_preset("gpt2_base_en")
162
  gpt2_lm.fit(x=features, batch_size=2)
163
  ```
164
 
 
92
  Call `fit()` on a single batch.
93
  ```python
94
  features = ["The quick brown fox jumped.", "I forgot my homework."]
95
+ gpt2_lm = keras_hub.models.GPT2CausalLM.from_preset("gpt2_base_en_cnn_dailymail")
96
  gpt2_lm.fit(x=features, batch_size=2)
97
  ```
98
 
 
158
  Call `fit()` on a single batch.
159
  ```python
160
  features = ["The quick brown fox jumped.", "I forgot my homework."]
161
+ gpt2_lm = keras_hub.models.GPT2CausalLM.from_preset("hf://keras/gpt2_base_en_cnn_dailymail")
162
  gpt2_lm.fit(x=features, batch_size=2)
163
  ```
164