Skip to content

Conversation

@danilojsl
Copy link
Contributor

Description

Adding changes to load models with complex objects. The change is being tested with EntityRuler annotator

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Code improvements with no or little impact
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING page.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

DevinTDHa and others added 11 commits June 3, 2025 15:45
Introduces the LegacyObjectInputStream to load objects, that were
serialized in Scala 2.12

- Replacement for HashMap Serialization Proxy
- Replacement for List deserialization
- Explicit mutable sequences to numerous tests
- ViT: Lazy model for test
- Fix PerceptronApproach MapView
…dification

genVocab would not iterate over all vocab in the mutable.HashMap. This is due to
the iterator state of the mutable.HashMap being changed during iteration. Fixed by
using mapValuesInPlace.
- protected features: fix no captured input during test
@danilojsl danilojsl requested a review from DevinTDHa November 3, 2025 14:57
@danilojsl danilojsl marked this pull request as ready for review November 3, 2025 14:57
@danilojsl danilojsl force-pushed the migration/scala213-loading-complex-objects branch from b7fc33e to 251aeb0 Compare November 3, 2025 22:04
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.

3 participants