infon-coref-pointer / js /package.json
cp500's picture
Upload js/package.json with huggingface_hub
c2597fe verified
Raw
History Blame Contribute Delete
1.92 kB
{
"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"
}
}