Repository navigation
Commit 1d9f632
fix: improve warning message and docstring for config-mode token IDs
- Warning now says 'missing, None, or not mapped' and logs raw_type (%r)
so users can diagnose which value caused the fallback to 'unknown'
- Update hf_model_id param docstring to describe the new config-field
fallback (bos/eos/pad read from ArchitectureConfig when hf_model_id
is None) instead of the old 'defaults to None' description
Addresses Copilot review comments on PR #152.
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Justin Chu <[email protected]>1 parent 5f60a20 commit 1d9f632
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| |||
254 | 256 | | |
255 | 257 | | |
256 | 258 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
0 commit comments