Update incorrect model ID
Browse files
README.md
CHANGED
@@ -182,7 +182,7 @@ This is a [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) model trained
|
|
182 |
from span_marker import SpanMarkerModel
|
183 |
|
184 |
# Download from the 🤗 Hub
|
185 |
-
model = SpanMarkerModel.from_pretrained("tomaarsen/span-
|
186 |
# Run inference
|
187 |
entities = model.predict("Adaptive filtering for noise reduction in hue saturation intensity color space Even though the hue saturation intensity -LRB- HSI -RRB- color model has been widely used in color image processing and analysis , the conversion formulas from the RGB color model to HSI are nonlinear and complicated in comparison with the conversion formulas of other color models . When an RGB image is degraded by random Gaussian noise , this nonlinearity leads to a nonuniform noise distribution in HSI , making accurate image analysis more difficult . We have analyzed the noise characteristics of the HSI color model and developed an adaptive spatial filtering method to reduce the magnitude of noise and the nonuniformity of noise variance in the HSI color space . With this adaptive filtering method , the filter kernel for each pixel is dynamically adjusted , depending on the values of intensity and saturation . In our experiments we have filtered the saturation and hue components and generated edge maps from color gradients . We have found that by using the adaptive filtering method , the minimum error rate in edge detection improves by approximately 15 %")
|
188 |
```
|
@@ -196,7 +196,7 @@ You can finetune this model on your own dataset.
|
|
196 |
from span_marker import SpanMarkerModel, Trainer
|
197 |
|
198 |
# Download from the 🤗 Hub
|
199 |
-
model = SpanMarkerModel.from_pretrained("tomaarsen/span-
|
200 |
|
201 |
# Specify a Dataset with "tokens" and "ner_tag" columns
|
202 |
dataset = load_dataset("conll2003") # For example CoNLL2003
|
@@ -208,7 +208,7 @@ trainer = Trainer(
|
|
208 |
eval_dataset=dataset["validation"],
|
209 |
)
|
210 |
trainer.train()
|
211 |
-
trainer.save_model("tomaarsen/span-
|
212 |
```
|
213 |
</details>
|
214 |
|
|
|
182 |
from span_marker import SpanMarkerModel
|
183 |
|
184 |
# Download from the 🤗 Hub
|
185 |
+
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-base-uncased-keyphrase-inspec")
|
186 |
# Run inference
|
187 |
entities = model.predict("Adaptive filtering for noise reduction in hue saturation intensity color space Even though the hue saturation intensity -LRB- HSI -RRB- color model has been widely used in color image processing and analysis , the conversion formulas from the RGB color model to HSI are nonlinear and complicated in comparison with the conversion formulas of other color models . When an RGB image is degraded by random Gaussian noise , this nonlinearity leads to a nonuniform noise distribution in HSI , making accurate image analysis more difficult . We have analyzed the noise characteristics of the HSI color model and developed an adaptive spatial filtering method to reduce the magnitude of noise and the nonuniformity of noise variance in the HSI color space . With this adaptive filtering method , the filter kernel for each pixel is dynamically adjusted , depending on the values of intensity and saturation . In our experiments we have filtered the saturation and hue components and generated edge maps from color gradients . We have found that by using the adaptive filtering method , the minimum error rate in edge detection improves by approximately 15 %")
|
188 |
```
|
|
|
196 |
from span_marker import SpanMarkerModel, Trainer
|
197 |
|
198 |
# Download from the 🤗 Hub
|
199 |
+
model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-bert-base-uncased-keyphrase-inspec")
|
200 |
|
201 |
# Specify a Dataset with "tokens" and "ner_tag" columns
|
202 |
dataset = load_dataset("conll2003") # For example CoNLL2003
|
|
|
208 |
eval_dataset=dataset["validation"],
|
209 |
)
|
210 |
trainer.train()
|
211 |
+
trainer.save_model("tomaarsen/span-marker-bert-base-uncased-keyphrase-inspec-finetuned")
|
212 |
```
|
213 |
</details>
|
214 |
|