Token Classification
Transformers.js
ONNX
bert
feature-extraction
coreference
multilingual
onnxruntime-web
Instructions to use cp500/infon-coref-pointer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use cp500/infon-coref-pointer with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'cp500/infon-coref-pointer');
| [ | |
| { | |
| "epoch": 0, | |
| "score": 0.8172355439678809, | |
| "ptr_acc": 0.8198198198198198, | |
| "bio_f1": 0.814651268115942, | |
| "by_lang": { | |
| "ja": { | |
| "n_docs": 220, | |
| "n_mentions": 1601, | |
| "ptr_acc": 0.8226108682073704, | |
| "bio_f1": 0.7936507936507936, | |
| "bio_p": 0.7160804020100503, | |
| "bio_r": 0.8900687070580887, | |
| "loss": 0.38474815658160616 | |
| }, | |
| "en": { | |
| "n_docs": 220, | |
| "n_mentions": 1827, | |
| "ptr_acc": 0.8051450465243569, | |
| "bio_f1": 0.8090452261306532, | |
| "bio_p": 0.8256410256410256, | |
| "bio_r": 0.7931034482758621, | |
| "loss": 0.519245349935123 | |
| }, | |
| "ko": { | |
| "n_docs": 220, | |
| "n_mentions": 1702, | |
| "ptr_acc": 0.8237367802585194, | |
| "bio_f1": 0.8140147523709167, | |
| "bio_p": 0.7378223495702005, | |
| "bio_r": 0.9077555816686251, | |
| "loss": 0.3794632341180529 | |
| }, | |
| "th": { | |
| "n_docs": 220, | |
| "n_mentions": 1495, | |
| "ptr_acc": 0.820066889632107, | |
| "bio_f1": 0.906, | |
| "bio_p": 0.9029900332225914, | |
| "bio_r": 0.9090301003344482, | |
| "loss": 0.4000086635351181 | |
| }, | |
| "zh": { | |
| "n_docs": 220, | |
| "n_mentions": 1589, | |
| "ptr_acc": 0.8294524858401511, | |
| "bio_f1": 0.8722683902739305, | |
| "bio_p": 0.8536144578313253, | |
| "bio_r": 0.8917558212712398, | |
| "loss": 0.3804965295961925 | |
| } | |
| } | |
| }, | |
| { | |
| "epoch": 1, | |
| "score": 0.6197319652511686, | |
| "ptr_acc": 0.9466764061358656, | |
| "bio_f1": 0.29278752436647165, | |
| "by_lang": { | |
| "ja": { | |
| "n_docs": 220, | |
| "n_mentions": 1601, | |
| "ptr_acc": 0.9425359150530919, | |
| "bio_f1": 0.3638616928987483, | |
| "bio_p": 0.22696351267779838, | |
| "bio_r": 0.9169269206745784, | |
| "loss": 0.23226680606603622 | |
| }, | |
| "en": { | |
| "n_docs": 220, | |
| "n_mentions": 1827, | |
| "ptr_acc": 0.9200875752599891, | |
| "bio_f1": 0.3464137780684543, | |
| "bio_p": 0.21627875323261195, | |
| "bio_r": 0.8697318007662835, | |
| "loss": 0.30715435424021315 | |
| }, | |
| "ko": { | |
| "n_docs": 220, | |
| "n_mentions": 1702, | |
| "ptr_acc": 0.9676850763807285, | |
| "bio_f1": 0.3552158273381295, | |
| "bio_p": 0.21962746733388935, | |
| "bio_r": 0.9283196239717979, | |
| "loss": 0.14565809017845563 | |
| }, | |
| "th": { | |
| "n_docs": 220, | |
| "n_mentions": 1495, | |
| "ptr_acc": 0.9438127090301003, | |
| "bio_f1": 0.42676034825110737, | |
| "bio_p": 0.2765241488519398, | |
| "bio_r": 0.934448160535117, | |
| "loss": 0.25568044079201563 | |
| }, | |
| "zh": { | |
| "n_docs": 220, | |
| "n_mentions": 1589, | |
| "ptr_acc": 0.961611076148521, | |
| "bio_f1": 0.4467312348668281, | |
| "bio_p": 0.2940824865511058, | |
| "bio_r": 0.9288860918816866, | |
| "loss": 0.17950080069048063 | |
| } | |
| } | |
| }, | |
| { | |
| "epoch": 2, | |
| "score": 0.617820551677476, | |
| "ptr_acc": 0.9779644509374239, | |
| "bio_f1": 0.25767665241752813, | |
| "by_lang": { | |
| "ja": { | |
| "n_docs": 220, | |
| "n_mentions": 1601, | |
| "ptr_acc": 0.9781386633354153, | |
| "bio_f1": 0.3317847025495751, | |
| "bio_p": 0.2026578073089701, | |
| "bio_r": 0.9144284821986258, | |
| "loss": 0.12258295315716948 | |
| }, | |
| "en": { | |
| "n_docs": 220, | |
| "n_mentions": 1827, | |
| "ptr_acc": 0.963327859879584, | |
| "bio_f1": 0.29935290256025504, | |
| "bio_p": 0.18062471706654595, | |
| "bio_r": 0.8735632183908046, | |
| "loss": 0.1912770654473986 | |
| }, | |
| "ko": { | |
| "n_docs": 220, | |
| "n_mentions": 1702, | |
| "ptr_acc": 0.9900117508813161, | |
| "bio_f1": 0.34138554857933384, | |
| "bio_p": 0.20844704353476284, | |
| "bio_r": 0.9424206815511164, | |
| "loss": 0.07944405344980103 | |
| }, | |
| "th": { | |
| "n_docs": 220, | |
| "n_mentions": 1495, | |
| "ptr_acc": 0.9785953177257525, | |
| "bio_f1": 0.371556022041459, | |
| "bio_p": 0.23110820956422393, | |
| "bio_r": 0.9471571906354515, | |
| "loss": 0.1517378357904298 | |
| }, | |
| "zh": { | |
| "n_docs": 220, | |
| "n_mentions": 1589, | |
| "ptr_acc": 0.9811202013845186, | |
| "bio_f1": 0.40227549776513616, | |
| "bio_p": 0.2562996202968588, | |
| "bio_r": 0.934550031466331, | |
| "loss": 0.12292107540581908 | |
| } | |
| } | |
| }, | |
| { | |
| "epoch": 3, | |
| "score": 0.6193377729230515, | |
| "ptr_acc": 0.9857560262965669, | |
| "bio_f1": 0.25291951954953606, | |
| "by_lang": { | |
| "ja": { | |
| "n_docs": 220, | |
| "n_mentions": 1601, | |
| "ptr_acc": 0.9862585883822611, | |
| "bio_f1": 0.3344284581397983, | |
| "bio_p": 0.204262385828951, | |
| "bio_r": 0.9219237976264835, | |
| "loss": 0.09830812817173344 | |
| }, | |
| "en": { | |
| "n_docs": 220, | |
| "n_mentions": 1827, | |
| "ptr_acc": 0.9775588396278051, | |
| "bio_f1": 0.28475236998316644, | |
| "bio_p": 0.16987315010570825, | |
| "bio_r": 0.879584017515052, | |
| "loss": 0.16656397974916867 | |
| }, | |
| "ko": { | |
| "n_docs": 220, | |
| "n_mentions": 1702, | |
| "ptr_acc": 0.9917743830787309, | |
| "bio_f1": 0.3382321618743344, | |
| "bio_p": 0.2065556711758585, | |
| "bio_r": 0.9330199764982373, | |
| "loss": 0.06697936302849225 | |
| }, | |
| "th": { | |
| "n_docs": 220, | |
| "n_mentions": 1495, | |
| "ptr_acc": 0.9859531772575251, | |
| "bio_f1": 0.3626429479034307, | |
| "bio_p": 0.22384313725490196, | |
| "bio_r": 0.954515050167224, | |
| "loss": 0.1303071228654257 | |
| }, | |
| "zh": { | |
| "n_docs": 220, | |
| "n_mentions": 1589, | |
| "ptr_acc": 0.9880427942101951, | |
| "bio_f1": 0.3973386560212907, | |
| "bio_p": 0.2519406007424907, | |
| "bio_r": 0.9395846444304594, | |
| "loss": 0.0888331016259534 | |
| } | |
| } | |
| }, | |
| { | |
| "epoch": 4, | |
| "score": 0.6200391449440437, | |
| "ptr_acc": 0.9872169466764061, | |
| "bio_f1": 0.25286134321168124, | |
| "by_lang": { | |
| "ja": { | |
| "n_docs": 220, | |
| "n_mentions": 1601, | |
| "ptr_acc": 0.9887570268582137, | |
| "bio_f1": 0.3353727622932246, | |
| "bio_p": 0.20484429065743945, | |
| "bio_r": 0.924422236102436, | |
| "loss": 0.08799184912017413 | |
| }, | |
| "en": { | |
| "n_docs": 220, | |
| "n_mentions": 1827, | |
| "ptr_acc": 0.9797482211275315, | |
| "bio_f1": 0.2814000174565768, | |
| "bio_p": 0.16739356178608514, | |
| "bio_r": 0.8823207443897099, | |
| "loss": 0.1551873819636447 | |
| }, | |
| "ko": { | |
| "n_docs": 220, | |
| "n_mentions": 1702, | |
| "ptr_acc": 0.9894242068155111, | |
| "bio_f1": 0.338742178385831, | |
| "bio_p": 0.2066778827488029, | |
| "bio_r": 0.9383078730904818, | |
| "loss": 0.062118293185319216 | |
| }, | |
| "th": { | |
| "n_docs": 220, | |
| "n_mentions": 1495, | |
| "ptr_acc": 0.9892976588628762, | |
| "bio_f1": 0.36082995951417, | |
| "bio_p": 0.222499609923545, | |
| "bio_r": 0.9538461538461539, | |
| "loss": 0.1329381898311632 | |
| }, | |
| "zh": { | |
| "n_docs": 220, | |
| "n_mentions": 1589, | |
| "ptr_acc": 0.9899307740717432, | |
| "bio_f1": 0.3984021304926764, | |
| "bio_p": 0.2526600236446546, | |
| "bio_r": 0.9414726242920075, | |
| "loss": 0.08463671563991479 | |
| } | |
| } | |
| } | |
| ] |