You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Implementation of Weighted CRF Tagger (handling unbalanced datasets) (#5676)
* Weighted CRF: scaled emission scores
* Fixed bug in ConditionalRandomField
self.label_weights is now created as a parameter so that it will be moved to GPU whenvever the model moves.
* CRF weighting strategies
* Weighted CRF: refactoring of three methods
* Weighted CRF: refactoring of three methods
* Weighted CRF: black formatting
* Weighted CRF: moved classes to new module
Simplified Lannoy implementation.
* formatting and type checking
* Moved ConditionalRandomField to new module
Renamed module allennlp.modules.conditional_random_field_weight
to ...conditional_random_files
* Updated changelog
Co-authored-by: Dirk Groeneveld <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
- Added metric `FBetaVerboseMeasure` which extends `FBetaMeasure` to ensure compatibility with logging plugins and add some options.
13
+
- Added three sample weighting techniques to `ConditionalRandomField` by supplying three new subclasses: `ConditionalRandomFieldWeightEmission`, `ConditionalRandomFieldWeightTrans`, and `ConditionalRandomFieldWeightLannoy`.
0 commit comments