cp500/infon-coref-pointer
027
1{2 "name": "@cp500/infon-coref",3 "version": "0.1.0-alpha.0",4 "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.",5 "type": "module",6 "main": "./dist/cjs/index.js",7 "module": "./dist/esm/index.js",8 "types": "./dist/types/index.d.ts",9 "exports": {10 ".": {11 "types": "./dist/types/index.d.ts",12 "import": "./dist/esm/index.js",13 "require": "./dist/cjs/index.js"14 }15 },16 "files": [17 "dist/",18 "README.md",19 "LICENSE"20 ],21 "scripts": {22 "build": "npm run build:esm && npm run build:cjs && npm run build:types",23 "build:esm": "tsc -p tsconfig.esm.json",24 "build:cjs": "tsc -p tsconfig.cjs.json",25 "build:types": "tsc -p tsconfig.types.json",26 "clean": "rm -rf dist",27 "test": "node --test --import tsx test/**/*.test.ts"28 },29 "keywords": [30 "coreference",31 "nlp",32 "multilingual",33 "onnx",34 "onnxruntime-web",35 "browser",36 "transformers.js-alternative"37 ],38 "license": "Apache-2.0",39 "author": "cp500",40 "repository": {41 "type": "git",42 "url": "https://github.com/cp500/infon-coref-js"43 },44 "homepage": "https://huggingface.co/cp500/infon-coref-pointer",45 "peerDependencies": {46 "onnxruntime-web": "^1.20.0",47 "onnxruntime-node": "^1.20.0"48 },49 "peerDependenciesMeta": {50 "onnxruntime-web": { "optional": true },51 "onnxruntime-node": { "optional": true }52 },53 "dependencies": {54 "@huggingface/jinja": "^0.3.0"55 },56 "devDependencies": {57 "@types/node": "^22.0.0",58 "onnxruntime-node": "^1.20.0",59 "onnxruntime-web": "^1.20.0",60 "tsx": "^4.19.0",61 "typescript": "^5.6.0"62 },63 "engines": {64 "node": ">=20"65 },66 "publishConfig": {67 "access": "public"68 }69}70 