Instructions to use projecte-aina/multiner_ceil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use projecte-aina/multiner_ceil with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="projecte-aina/multiner_ceil")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("projecte-aina/multiner_ceil") model = AutoModelForTokenClassification.from_pretrained("projecte-aina/multiner_ceil") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -63,6 +63,18 @@ It has been trained with a dataset that contains 9 main types and 52 subtypes on
|
|
| 63 |
## How to use
|
| 64 |
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Limitations and bias
|
| 67 |
At the time of submission, no measures have been taken to estimate the bias embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this model card will be updated.
|
| 68 |
|
|
|
|
| 63 |
## How to use
|
| 64 |
|
| 65 |
|
| 66 |
+
from transformers import pipeline
|
| 67 |
+
|
| 68 |
+
```
|
| 69 |
+
pipe = pipeline("ner", model="projecte-aina/multiner_ceil")
|
| 70 |
+
example = "George Smith Patton fué un general del Ejército de los Estados Unidos en Europa durante la Segunda Guerra Mundial. "
|
| 71 |
+
|
| 72 |
+
ner_entity_results = pipe(example, aggregation_strategy="simple")
|
| 73 |
+
print(ner_entity_results)
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
## Limitations and bias
|
| 79 |
At the time of submission, no measures have been taken to estimate the bias embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this model card will be updated.
|
| 80 |
|