mohammedAyesh25 commited on
Commit
5b625f6
Β·
1 Parent(s): 7453a41

syncing model with its own tokenizer

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):