Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ WhisperNER supports open-type NER, enabling recognition of diverse and evolving
|
|
26 |
---------
|
27 |
|
28 |
## Training Details
|
29 |
-
`aiola/whisper-ner-v1` was
|
30 |
The model was trained and evaluated only on English data. Check out the [paper](https://arxiv.org/abs/2409.08107) for full details.
|
31 |
|
32 |
---------
|
@@ -39,7 +39,7 @@ Inference can be done using the following code (for inference code and more deta
|
|
39 |
import torch
|
40 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
41 |
|
42 |
-
model_path = "aiola/whisper-ner-v1"
|
43 |
audio_file_path = "path/to/audio/file"
|
44 |
prompt = "person, company, location" # comma separated entity tags
|
45 |
apply_entity_mask = False # change to True for entity masking
|
|
|
26 |
---------
|
27 |
|
28 |
## Training Details
|
29 |
+
`aiola/whisper-ner-tag-and-mask-v1` was finetuned from `aiola/whisper-ner-v1` using the NuNER dataset to perform joint audio transcription and NER tagging or NER masking.
|
30 |
The model was trained and evaluated only on English data. Check out the [paper](https://arxiv.org/abs/2409.08107) for full details.
|
31 |
|
32 |
---------
|
|
|
39 |
import torch
|
40 |
from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
41 |
|
42 |
+
model_path = "aiola/whisper-ner-tag-and-mask-v1"
|
43 |
audio_file_path = "path/to/audio/file"
|
44 |
prompt = "person, company, location" # comma separated entity tags
|
45 |
apply_entity_mask = False # change to True for entity masking
|