Spaces:
Runtime error
Runtime error
Commit
Β·
5b625f6
1
Parent(s):
7453a41
syncing model with its own tokenizer
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from gliner import GLiNER
|
|
4 |
import re
|
5 |
|
6 |
# Load GLiNER-BioMed Small model
|
7 |
-
model = GLiNER.from_pretrained("Ihor/gliner-biomed-bi-small-v1.0")
|
8 |
labels = ["Population", "Intervention", "Comparison", "Outcome"]
|
9 |
|
10 |
def parse_nbib(file):
|
|
|
4 |
import re
|
5 |
|
6 |
# Load GLiNER-BioMed Small model
|
7 |
+
model = GLiNER.from_pretrained("Ihor/gliner-biomed-bi-small-v1.0", trust_remote_code=True)
|
8 |
labels = ["Population", "Intervention", "Comparison", "Outcome"]
|
9 |
|
10 |
def parse_nbib(file):
|