Update README.md
Browse files
README.md
CHANGED
|
@@ -11,18 +11,27 @@ pinned: false
|
|
| 11 |
|
| 12 |
<br>
|
| 13 |
|
| 14 |
-
<p>
|
| 15 |
-
|
| 16 |
Hosting models and datasets for <a href="https://github.com/asahi417/tner">T-NER</a>, which is a python tool for language model fine-tuning on named-entity-recognition (NER) implemented in pytorch, available via [pip](https://pypi.org/project/tner/).
|
| 17 |
|
| 18 |
-
|
| 19 |
-
- Paper: <a href="https://aclanthology.org/2021.eacl-demos.7/">https://aclanthology.org/2021.eacl-demos.7/</a>
|
| 20 |
-
- HuggingFace: <a href="https://huggingface.co/tner">https://huggingface.co/tner</a>
|
| 21 |
-
- PyPI: <a href="https://pypi.org/project/tner">https://pypi.org/project/tner</a>
|
| 22 |
-
|
| 23 |
<pre class="line-numbers">
|
| 24 |
<code class="language-python">
|
| 25 |
pip install tner
|
| 26 |
</code>
|
| 27 |
</pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
<br>
|
| 13 |
|
|
|
|
|
|
|
| 14 |
Hosting models and datasets for <a href="https://github.com/asahi417/tner">T-NER</a>, which is a python tool for language model fine-tuning on named-entity-recognition (NER) implemented in pytorch, available via [pip](https://pypi.org/project/tner/).
|
| 15 |
|
| 16 |
+
Install tner via pip,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
<pre class="line-numbers">
|
| 18 |
<code class="language-python">
|
| 19 |
pip install tner
|
| 20 |
</code>
|
| 21 |
</pre>
|
| 22 |
+
and play with NER models.
|
| 23 |
+
<pre class="line-numbers">
|
| 24 |
+
<code class="language-python">
|
| 25 |
+
from tner import TransformersNER
|
| 26 |
+
model = TransformersNER('tner/roberta-large-conll2003')
|
| 27 |
+
output = model.prediction(["Jacob Collier is a Grammy awarded English artist from London"])
|
| 28 |
+
</code>
|
| 29 |
+
</pre>
|
| 30 |
|
| 31 |
+
See more information bellow.
|
| 32 |
+
<ul>
|
| 33 |
+
<li> - GitHub: <a href="https://github.com/asahi417/tner">https://github.com/asahi417/tner</a></li>
|
| 34 |
+
<li> - Paper: <a href="https://aclanthology.org/2021.eacl-demos.7/">https://aclanthology.org/2021.eacl-demos.7/</a></li>
|
| 35 |
+
<li> - HuggingFace: <a href="https://huggingface.co/tner">https://huggingface.co/tner</a></li>
|
| 36 |
+
<li> - PyPI: <a href="https://pypi.org/project/tner">https://pypi.org/project/tner</a></li>
|
| 37 |
+
</ul>
|