docs: add HuggingFace token classification offset_mapping documentation
- Dominant language
- MDX
- Stars
- 113
- Forks
- 193
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 3
Description
## Summary
KServe v0.18 added `offset_mapping` output support for HuggingFace token classification tasks. The existing token classification doc (`docs/model-serving/predictive-inference/frameworks/huggingface/token-classification/token-classification.md`) does not mention this feature.
## What needs to be documented
- How to enable `offset_mapping` output for token classification tasks
- What `offset_mapping` provides (character-level position information for each classified token)
- Use cases: NER and span-extraction applications
- Example request/response showing offset_mapping output
## Related PR
- https://github.com/kserve/kserve/pull/5244
## Since
KServe v0.18
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading docs/model-serving/predictive-inference/frameworks/huggingface/token-classification/token-classification.md and the related PR 5244. Document how to enable offset_mapping, explain its character-level token positions and NER/span-extraction uses, and add a request/response example showing the output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100