Spaces:
Runtime error
Runtime error
Hicham Randrianarivo
commited on
Commit
·
ead4e9e
1
Parent(s):
7bae3ea
Update ner model
Browse files
app.py
CHANGED
|
@@ -105,7 +105,11 @@ class AppConfig:
|
|
| 105 |
|
| 106 |
@environ.config
|
| 107 |
class NER:
|
| 108 |
-
general = environ.var(default="Davlan/xlm-roberta-base-ner-hrl")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
recipe = environ.var(default="adamlin/recipe-tag-model")
|
| 110 |
|
| 111 |
identification: Identification = environ.group(Identification)
|
|
|
|
| 105 |
|
| 106 |
@environ.config
|
| 107 |
class NER:
|
| 108 |
+
# general = environ.var(default="Davlan/xlm-roberta-base-ner-hrl")
|
| 109 |
+
general = environ.var(
|
| 110 |
+
default="asahi417/tner-xlm-roberta-base-uncased-ontonotes5"
|
| 111 |
+
)
|
| 112 |
+
|
| 113 |
recipe = environ.var(default="adamlin/recipe-tag-model")
|
| 114 |
|
| 115 |
identification: Identification = environ.group(Identification)
|