Spaces:
Running
Running
Download PATCH.llguidance_regexvec from FINAL-Bench/LiteRT-LM: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/FINAL-Bench/LiteRT-LM/resolve/main/PATCH.llguidance_regexvec
- Command line
-
hf download hf://spaces/FINAL-Bench/LiteRT-LM/PATCH.llguidance_regexvec
-
curl -L -o PATCH.llguidance_regexvec https://huggingface.co/spaces/FINAL-Bench/LiteRT-LM/resolve/main/PATCH.llguidance_regexvec
383 Bytes
| --- src/earley/regexvec.rs | |
| +++ src/earley/regexvec.rs | |
| // return StateID::DEAD; | |
| // } | |
| - assert!(lst.len().is_multiple_of(2)); | |
| + assert!(lst.len() % 2 == 0); | |
| let id = StateID::new(self.rx_sets.insert(&lst)); | |
| if id.as_usize() >= self.state_descs.len() { | |
| let state_desc = self.compute_state_desc(id); | |