Downloads · 30 days
31
2% of all-time downloads
small-models-for-glam/Qwen3.5-2B-SFT-name-parser-yaml
Qwen3.5-2B-SFT-name-parser-yaml is a text generation model from small-models-for-glam. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a fine-tuned version of Qwen 3.5 (2B parameters) designed to parse unstructured, highly varied historical person names into a strict, structured YAML format. It was developed to process millions of recor…
Downloads · 30 days
31
2% of all-time downloads
All-time downloads
1.9K
Public
Parameters
2.4B
115 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.8 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Qwen 3.5 (2B parameters) designed to parse unstructured, highly varied historical person names into a strict, structured YAML format. It was developed to process millions of records for cultural heritage platforms efficiently and cost-effectively.
This model addresses a specific entity extraction problem in the Galleries, Libraries, Archives, and Museums (GLAM) sector. Large frontier models proved too expensive and struggled with strict JSON syntax and component isolation when parsing messy historical names (achieving only ~70% accuracy).
By fine-tuning a small open-source model (2B parameters) on high-quality synthetic data and changing the target output format from JSON to YAML, this model achieves 94% to 96% accuracy while remaining small enough to run highly efficiently on local hardware. It extracts components such as first names, last names, middle names, life dates, flourished dates, titles, and extra information.
small-models-for-glamen), with multi-lingual naming conventions included (e.g., French, German, Italian, Arabic, Chinese).The model is intended to be used directly for extracting structured data from raw text strings of historical names.
Given an input string like "Cynthia Ponce'Hayes (born 1633), born 1633", the model will output syntactically valid YAML identifying the parsed components:
first_name: Cynthia
last_name: Ponce'Hayes
middle_names: []
temporal:
- start: 1633
end: null
type: life_span
titles: []
extra_info: []