Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def _clean_timex(ent: str) -> str:
|
|
| 31 |
ent = ent.replace("</s>", "").strip()
|
| 32 |
return re.sub(r"[\.]+$", "", ent)
|
| 33 |
|
| 34 |
-
# --- Identificadores de los modelos
|
| 35 |
NER_ID = "Rhulli/Roberta-ner-temporal-expresions-secondtrain"
|
| 36 |
ID2LABEL = {0: "O", 1: "B-TIMEX", 2: "I-TIMEX"}
|
| 37 |
BASE_ID = "google/gemma-2b-it"
|
|
|
|
| 31 |
ent = ent.replace("</s>", "").strip()
|
| 32 |
return re.sub(r"[\.]+$", "", ent)
|
| 33 |
|
| 34 |
+
# --- Identificadores de los modelos ----
|
| 35 |
NER_ID = "Rhulli/Roberta-ner-temporal-expresions-secondtrain"
|
| 36 |
ID2LABEL = {0: "O", 1: "B-TIMEX", 2: "I-TIMEX"}
|
| 37 |
BASE_ID = "google/gemma-2b-it"
|