kiddothe2b
commited on
Commit
•
d100883
1
Parent(s):
e4add91
Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ import numpy as np
|
|
43 |
|
44 |
# Init text classification pipeline
|
45 |
text_cls_pipe = pipeline(task="text-classification",
|
46 |
-
model="coastalcph/danish-legal-longformer-eurlex",
|
47 |
use_auth_token='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')
|
48 |
|
49 |
# Encode and Classify document
|
@@ -64,7 +64,7 @@ import numpy as np
|
|
64 |
|
65 |
# Init feature extraction pipeline
|
66 |
feature_extraction_pipe = pipeline(task="feature-extraction",
|
67 |
-
model="coastalcph/danish-legal-longformer-eurlex",
|
68 |
use_auth_token='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')
|
69 |
|
70 |
# Encode document
|
|
|
43 |
|
44 |
# Init text classification pipeline
|
45 |
text_cls_pipe = pipeline(task="text-classification",
|
46 |
+
model="coastalcph/danish-legal-longformer-eurlex-sd",
|
47 |
use_auth_token='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')
|
48 |
|
49 |
# Encode and Classify document
|
|
|
64 |
|
65 |
# Init feature extraction pipeline
|
66 |
feature_extraction_pipe = pipeline(task="feature-extraction",
|
67 |
+
model="coastalcph/danish-legal-longformer-eurlex-sd",
|
68 |
use_auth_token='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')
|
69 |
|
70 |
# Encode document
|