updated results
Browse files
README.md
CHANGED
|
@@ -63,7 +63,20 @@ def predict_scibert_labels(sentence):
|
|
| 63 |
|
| 64 |
return list(zip(final_tokens, final_labels))
|
| 65 |
```
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
# Model Card for Model ID
|
| 68 |
|
| 69 |
This model is a fine-tuned version of `allenai/scibert_scivocab_uncased` for scientific terms/phrases detection in text. It is trained on a custom dataset [JonyC/ScienceGlossary-NER_fit](https://huggingface.co/JonyC/ScienceGlossary-NER_fit) for Named Entity Recognition (NER), aiming to identify scientific terms in a variety of academic and technical texts.
|
|
@@ -96,11 +109,13 @@ result = pipe(sentence)
|
|
| 96 |
result
|
| 97 |
```
|
| 98 |
results:
|
|
|
|
| 99 |
[{'entity': 'B-Scns', 'score': 0.9897461, 'index': 1, 'word': 'crispr', 'start': 0, 'end': 6},
|
| 100 |
{'entity': 'I-Scns', 'score': 0.9474513, 'index': 2, 'word': '-', 'start': 6, 'end': 7},
|
| 101 |
{'entity': 'I-Scns', 'score': 0.97595257, 'index': 3, 'word': 'cas', 'start': 7, 'end': 10},
|
| 102 |
{'entity': 'I-Scns', 'score': 0.9894609, 'index': 4, 'word': '##9', 'start': 10, 'end': 11},
|
| 103 |
{'entity': 'B-Scns', 'score': 0.999246, 'index': 10, 'word': 'genome', 'start': 35, 'end': 41}]
|
|
|
|
| 104 |
|
| 105 |
### Out-of-Scope Use
|
| 106 |
|
|
|
|
| 63 |
|
| 64 |
return list(zip(final_tokens, final_labels))
|
| 65 |
```
|
| 66 |
+
output:
|
| 67 |
+
```
|
| 68 |
+
CRISPR -> B-Scns
|
| 69 |
+
- -> I-Scns
|
| 70 |
+
Cas9 -> I-Scns
|
| 71 |
+
is -> O
|
| 72 |
+
a -> O
|
| 73 |
+
powerful -> O
|
| 74 |
+
tool -> O
|
| 75 |
+
for -> O
|
| 76 |
+
genome -> B-Scns
|
| 77 |
+
editing -> O
|
| 78 |
+
. -> O
|
| 79 |
+
```
|
| 80 |
# Model Card for Model ID
|
| 81 |
|
| 82 |
This model is a fine-tuned version of `allenai/scibert_scivocab_uncased` for scientific terms/phrases detection in text. It is trained on a custom dataset [JonyC/ScienceGlossary-NER_fit](https://huggingface.co/JonyC/ScienceGlossary-NER_fit) for Named Entity Recognition (NER), aiming to identify scientific terms in a variety of academic and technical texts.
|
|
|
|
| 109 |
result
|
| 110 |
```
|
| 111 |
results:
|
| 112 |
+
```
|
| 113 |
[{'entity': 'B-Scns', 'score': 0.9897461, 'index': 1, 'word': 'crispr', 'start': 0, 'end': 6},
|
| 114 |
{'entity': 'I-Scns', 'score': 0.9474513, 'index': 2, 'word': '-', 'start': 6, 'end': 7},
|
| 115 |
{'entity': 'I-Scns', 'score': 0.97595257, 'index': 3, 'word': 'cas', 'start': 7, 'end': 10},
|
| 116 |
{'entity': 'I-Scns', 'score': 0.9894609, 'index': 4, 'word': '##9', 'start': 10, 'end': 11},
|
| 117 |
{'entity': 'B-Scns', 'score': 0.999246, 'index': 10, 'word': 'genome', 'start': 35, 'end': 41}]
|
| 118 |
+
```
|
| 119 |
|
| 120 |
### Out-of-Scope Use
|
| 121 |
|