elshehawy commited on
Commit
3cd0fc7
·
1 Parent(s): 5a98944

set aggregation_strategy="first"

Browse files
Files changed (2) hide show
  1. .gitignore +4 -0
  2. app.py +1 -1
.gitignore CHANGED
@@ -1 +1,5 @@
1
  .ipynb_checkpoints/
 
 
 
 
 
1
  .ipynb_checkpoints/
2
+ metrics.py
3
+ Untitiled.ipynb
4
+ find_entities.py
5
+ data
app.py CHANGED
@@ -12,7 +12,7 @@ import huggingface_hub
12
  hf_token= os.environ['HF_TOKEN']
13
  huggingface_hub.login(hf_token)
14
 
15
- pipe = pipeline("token-classification", model="elshehawy/finer-ord-transformers", aggregation_strategy="simple")
16
 
17
 
18
  llm_model = 'gpt-3.5-turbo-0125'
 
12
  hf_token= os.environ['HF_TOKEN']
13
  huggingface_hub.login(hf_token)
14
 
15
+ pipe = pipeline("token-classification", model="elshehawy/finer-ord-transformers", aggregation_strategy="first")
16
 
17
 
18
  llm_model = 'gpt-3.5-turbo-0125'