Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,8 @@ language:
|
|
5 |
base_model:
|
6 |
- GroNLP/gpt2-small-italian
|
7 |
pipeline_tag: text-generation
|
|
|
|
|
8 |
---
|
9 |
|
10 |
## Usage
|
@@ -24,4 +26,4 @@ y = model.generate(x, max_length=1024)[0]
|
|
24 |
y_dec = tokenizer.decode(y, max_length=1024, truncation=True)
|
25 |
output = y_dec.split('###[Output]:\n')[1].split('<|endoftext|>')[0].strip()
|
26 |
print(output)
|
27 |
-
```
|
|
|
5 |
base_model:
|
6 |
- GroNLP/gpt2-small-italian
|
7 |
pipeline_tag: text-generation
|
8 |
+
tags:
|
9 |
+
- legal
|
10 |
---
|
11 |
|
12 |
## Usage
|
|
|
26 |
y_dec = tokenizer.decode(y, max_length=1024, truncation=True)
|
27 |
output = y_dec.split('###[Output]:\n')[1].split('<|endoftext|>')[0].strip()
|
28 |
print(output)
|
29 |
+
```
|