Spaces:
Runtime error
Runtime error
set model='elshehawy/fine-tuned-roberta-base-ner'
Browse files
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=
|
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/fine-tuned-roberta-base-ner', aggregation_strategy="first")
|
16 |
|
17 |
|
18 |
llm_model = 'gpt-3.5-turbo-0125'
|