gorkemgoknar
commited on
Commit
•
a7144a1
1
Parent(s):
e2f73f5
Update README.md
Browse fileslive demo and finetuned writer
README.md
CHANGED
@@ -46,6 +46,7 @@ Current accuracy 33 % , Perplexity : 51.88
|
|
46 |
Models are available:
|
47 |
|
48 |
* [gpt2-small-tuned-tr] (https://huggingface.co/gorkemgoknar/gpt2-small-turkish)
|
|
|
49 |
|
50 |
## Intended uses & limitations
|
51 |
|
@@ -104,8 +105,8 @@ sample_outputs = model.generate(inputs.input_ids,
|
|
104 |
|
105 |
# generated sequence
|
106 |
for i, sample_output in enumerate(sample_outputs):
|
107 |
-
print(">> Generated text {}
|
108 |
-
|
109 |
{}".format(i+1, tokenizer.decode(sample_output.tolist())))
|
110 |
|
111 |
# >> Generated text
|
@@ -127,13 +128,13 @@ Wikipedia Turkish article dump as of 28-10-2020
|
|
127 |
|
128 |
## Eval results
|
129 |
|
130 |
-
| epoch
|
131 |
| ----- | -------- |--------- | ---------- | --------- | ----- |
|
132 |
-
|0
|
133 |
-
|1
|
134 |
-
|2
|
135 |
-
|3
|
136 |
-
|4
|
137 |
|
138 |
#Epoch 0 on Tesla T4, others on V100
|
139 |
|
|
|
46 |
Models are available:
|
47 |
|
48 |
* [gpt2-small-tuned-tr] (https://huggingface.co/gorkemgoknar/gpt2-small-turkish)
|
49 |
+
* [gpt2-small-turkish-writer] (https://huggingface.co/gorkemgoknar/gpt2-turkish-writer)
|
50 |
|
51 |
## Intended uses & limitations
|
52 |
|
|
|
105 |
|
106 |
# generated sequence
|
107 |
for i, sample_output in enumerate(sample_outputs):
|
108 |
+
print(">> Generated text {}\\\\
|
109 |
+
\\\\
|
110 |
{}".format(i+1, tokenizer.decode(sample_output.tolist())))
|
111 |
|
112 |
# >> Generated text
|
|
|
128 |
|
129 |
## Eval results
|
130 |
|
131 |
+
| epoch\\\\t|train_loss\\\\t|valid_loss\\\\t|accuracy\\\\t|perplexity\\\\t|time |
|
132 |
| ----- | -------- |--------- | ---------- | --------- | ----- |
|
133 |
+
|0\\\\t|4.777015\\\\t|4.621834\\\\t|0.292547\\\\t|101.680367\\\\t|2:42:05|
|
134 |
+
|1\\\\t|4.509412\\\\t|4.403999\\\\t|0.305574\\\\t|81.777267\\\\t|1:09:38|
|
135 |
+
|2\\\\t|4.169529\\\\t|4.120755\\\\t|0.324908\\\\t|61.605747\\\\t|1:07:45|
|
136 |
+
|3\\\\t|4.293973\\\\t|4.177899\\\\t|0.317211\\\\t|65.228653\\\\t|1:07:02|
|
137 |
+
|4\\\\t|4.049848\\\\t|3.949103\\\\t|0.338347\\\\t|51.888783\\\\t|1:05:53|
|
138 |
|
139 |
#Epoch 0 on Tesla T4, others on V100
|
140 |
|