Update README.md
Browse files
README.md
CHANGED
@@ -1,52 +1,10 @@
|
|
1 |
-
Hugging Face's logo
|
2 |
-
Hugging Face
|
3 |
-
Search models, datasets, users...
|
4 |
-
Models
|
5 |
-
Datasets
|
6 |
-
Spaces
|
7 |
-
Docs
|
8 |
-
Solutions
|
9 |
-
Pricing
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
ClassCat
|
15 |
-
/
|
16 |
-
gpt2-greek Copied
|
17 |
-
private
|
18 |
-
Text Generation
|
19 |
-
PyTorch
|
20 |
-
Transformers
|
21 |
-
|
22 |
-
cc100
|
23 |
-
Greek
|
24 |
-
gpt2
|
25 |
-
License:
|
26 |
-
cc-by-sa-4.0
|
27 |
-
Model card
|
28 |
-
Files and versions
|
29 |
-
Community
|
30 |
-
Settings
|
31 |
-
gpt2-greek
|
32 |
-
/
|
33 |
-
README.md
|
34 |
-
ClassCat's picture
|
35 |
-
ClassCat
|
36 |
-
Create README.md
|
37 |
-
0765806
|
38 |
-
less than a minute ago
|
39 |
-
raw
|
40 |
-
history
|
41 |
-
blame
|
42 |
-
edit
|
43 |
-
delete
|
44 |
-
965 Bytes
|
45 |
---
|
46 |
language: el
|
47 |
license: cc-by-sa-4.0
|
48 |
datasets:
|
49 |
- cc100
|
|
|
|
|
50 |
widget:
|
51 |
- text: "Αυτό είναι ένα"
|
52 |
- text: "Ανοιξα την"
|
@@ -54,7 +12,7 @@ widget:
|
|
54 |
- text: "Έχει πολύ καιρό που δεν έχουμε"
|
55 |
---
|
56 |
|
57 |
-
## Greek GPT2 model (Uncased)
|
58 |
|
59 |
### Prerequisites
|
60 |
|
@@ -78,6 +36,6 @@ Using BPE tokenizer with vocabulary size 50,000.
|
|
78 |
|
79 |
```python
|
80 |
from transformers import pipeline
|
81 |
-
generator = pipeline('text-generation', model='ClassCat/gpt2-greek')
|
82 |
generator("Αυτό είναι ένα", max_length=50, num_return_sequences=5)
|
83 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
language: el
|
3 |
license: cc-by-sa-4.0
|
4 |
datasets:
|
5 |
- cc100
|
6 |
+
- oscar
|
7 |
+
- wikipedia
|
8 |
widget:
|
9 |
- text: "Αυτό είναι ένα"
|
10 |
- text: "Ανοιξα την"
|
|
|
12 |
- text: "Έχει πολύ καιρό που δεν έχουμε"
|
13 |
---
|
14 |
|
15 |
+
## Greek GPT2 small model Version 2 (Uncased)
|
16 |
|
17 |
### Prerequisites
|
18 |
|
|
|
36 |
|
37 |
```python
|
38 |
from transformers import pipeline
|
39 |
+
generator = pipeline('text-generation', model='ClassCat/gpt2-small-greek-v2')
|
40 |
generator("Αυτό είναι ένα", max_length=50, num_return_sequences=5)
|
41 |
```
|