pprokopidis
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -2,19 +2,21 @@
|
|
2 |
license: eupl-1.1
|
3 |
language:
|
4 |
- el
|
5 |
-
library_name: fasttext
|
6 |
pipeline_tag: text-classification
|
7 |
---
|
8 |
|
9 |
|
10 |
# ilsp/justice
|
11 |
|
12 |
-
|
|
|
|
|
13 |
|
14 |
```python
|
15 |
repo_id = "ilsp/justice"
|
16 |
model_path = hf_hub_download(repo_id=repo_id, filename="20241124-model.ftz")
|
17 |
-
sample_decision = hf_hub_download(repo_id=repo_id, filename="sample_data/Α2485_2023.txt")
|
18 |
model = load_model(model_path)
|
19 |
labels_map = {
|
20 |
'preamble': '__label__0', '__label__0': 'preamble',
|
|
|
2 |
license: eupl-1.1
|
3 |
language:
|
4 |
- el
|
5 |
+
library_name: fasttext, flair
|
6 |
pipeline_tag: text-classification
|
7 |
---
|
8 |
|
9 |
|
10 |
# ilsp/justice
|
11 |
|
12 |
+
- Models for processing Greek court decisions
|
13 |
+
|
14 |
+
## Paragraph classification
|
15 |
|
16 |
```python
|
17 |
repo_id = "ilsp/justice"
|
18 |
model_path = hf_hub_download(repo_id=repo_id, filename="20241124-model.ftz")
|
19 |
+
sample_decision = hf_hub_download(repo_id=repo_id, filename="sample_data/Α2485_2023.txt") # anonymized decision
|
20 |
model = load_model(model_path)
|
21 |
labels_map = {
|
22 |
'preamble': '__label__0', '__label__0': 'preamble',
|