Add config explicitly
Browse files
clone_sentdex_model_tokenizer.py
CHANGED
@@ -7,7 +7,7 @@ tokenizer = AutoTokenizer.from_pretrained("Sentdex/GPyT")
|
|
7 |
tf_model = TFAutoModelForCausalLM.from_pretrained("Sentdex/GPyT")
|
8 |
pytorch_model = AutoModelForCausalLM.from_pretrained("Sentdex/GPyT")
|
9 |
|
10 |
-
config.save_pretrained(
|
11 |
tokenizer.save_pretrained(save_directory='./')
|
12 |
tf_model.save_pretrained(save_directory='./', saved_model=True)
|
13 |
pytorch_model.save_pretrained(save_directory='./')
|
|
|
7 |
tf_model = TFAutoModelForCausalLM.from_pretrained("Sentdex/GPyT")
|
8 |
pytorch_model = AutoModelForCausalLM.from_pretrained("Sentdex/GPyT")
|
9 |
|
10 |
+
config.save_pretrained('./')
|
11 |
tokenizer.save_pretrained(save_directory='./')
|
12 |
tf_model.save_pretrained(save_directory='./', saved_model=True)
|
13 |
pytorch_model.save_pretrained(save_directory='./')
|
saved_model/1/saved_model.pb
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03765ec4ecb5bcbed0ec071118ef815b974bd8a839fe8d85f599be0d3be09eb5
|
3 |
+
size 5079982
|
saved_model/1/variables/variables.data-00000-of-00001
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f15a448e5e1f628c72125fdea5f237108f819089bff446d926a0c4e4911ad756
|
3 |
+
size 503191134
|
saved_model/1/variables/variables.index
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22d7a68eb8f7716ed1fbcee0043264d75273abeae9769edc7ff99837800b1b07
|
3 |
+
size 8900
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 503289416
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75fe927364de6df570148dffffdfa9f9eaa6489c03d992d89e7b8d83148df7e0
|
3 |
size 503289416
|