Skip to content

Conversation

@jeremymanning
Copy link
Member

Summary

  • POS Tagging: Add safe NER extraction for Compromise.js v14 API changes (dates() method moved to plugin)
  • BERT MLM: Fix tokenizer array type handling (Int32Array to Array conversion)
  • Attention: Add simulated attention fallback when ONNX models lack attention outputs
  • Analogies: Add null checks for Plotly container elements before rendering

Testing

  • All 1500+ tests pass
  • Browser tested all 12 demos (excluding ELIZA, Chatbot Evolution, Tokenization per prior scope)
  • Verified fixes work in live browser via Playwright automation

Files Changed

  • demos/pos-tagging/index.html
  • demos/bert-mlm/js/bert-model.js
  • demos/attention/js/attention-extractor.js
  • demos/attention/index.html
  • demos/analogies/js/visualization.js

- POS Tagging: Add safe NER extraction for Compromise.js v14 API changes
- BERT MLM: Fix tokenizer array type handling (Int32Array to Array)
- Attention: Add simulated attention fallback when ONNX lacks attention outputs
- Analogies: Add null checks for Plotly container elements
@jeremymanning jeremymanning merged commit b1ea966 into main Jan 6, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants