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');
| { | |
| "name": "@cp500/infon-coref", | |
| "version": "0.1.0-alpha.0", | |
| "description": "Multilingual coreference resolution in the browser or Node, via ONNX. Backbone is a multilingual MiniLM-L12 distilled from XLM-R; pointer-net + BIO span head are fine-tuned on synthetic Bedrock-generated data across English, Japanese, Korean, Thai, and Chinese.", | |
| "type": "module", | |
| "main": "./dist/cjs/index.js", | |
| "module": "./dist/esm/index.js", | |
| "types": "./dist/types/index.d.ts", | |
| "exports": { | |
| ".": { | |
| "types": "./dist/types/index.d.ts", | |
| "import": "./dist/esm/index.js", | |
| "require": "./dist/cjs/index.js" | |
| } | |
| }, | |
| "files": [ | |
| "dist/", | |
| "README.md", | |
| "LICENSE" | |
| ], | |
| "scripts": { | |
| "build": "npm run build:esm && npm run build:cjs && npm run build:types", | |
| "build:esm": "tsc -p tsconfig.esm.json", | |
| "build:cjs": "tsc -p tsconfig.cjs.json", | |
| "build:types": "tsc -p tsconfig.types.json", | |
| "clean": "rm -rf dist", | |
| "test": "node --test --import tsx test/**/*.test.ts" | |
| }, | |
| "keywords": [ | |
| "coreference", | |
| "nlp", | |
| "multilingual", | |
| "onnx", | |
| "onnxruntime-web", | |
| "browser", | |
| "transformers.js-alternative" | |
| ], | |
| "license": "Apache-2.0", | |
| "author": "cp500", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/cp500/infon-coref-js" | |
| }, | |
| "homepage": "https://huggingface.co/cp500/infon-coref-pointer", | |
| "peerDependencies": { | |
| "onnxruntime-web": "^1.20.0", | |
| "onnxruntime-node": "^1.20.0" | |
| }, | |
| "peerDependenciesMeta": { | |
| "onnxruntime-web": { "optional": true }, | |
| "onnxruntime-node": { "optional": true } | |
| }, | |
| "dependencies": { | |
| "@huggingface/jinja": "^0.3.0" | |
| }, | |
| "devDependencies": { | |
| "@types/node": "^22.0.0", | |
| "onnxruntime-node": "^1.20.0", | |
| "onnxruntime-web": "^1.20.0", | |
| "tsx": "^4.19.0", | |
| "typescript": "^5.6.0" | |
| }, | |
| "engines": { | |
| "node": ">=20" | |
| }, | |
| "publishConfig": { | |
| "access": "public" | |
| } | |
| } | |