[Feature]: Change model serialization
Author: alanakbikCreated Jun 5, 2025Updated Jun 5, 2025
Labelsfeature
Problem statement
Flair models are currently serialized with Pickle. While convenient, this raises security issues.
Solution
This PR tracks the process of changing the way Flair models are serialized away from pickle and towards a method that relies on safetensors.
Additional Context
No response
Source: flairNLP/flair