Skip to main content

doc_links

Function doc_links 

Source
pub fn doc_links(raw: &str) -> Vec<(String, String)>
Expand description

The download links one variant’s doc carries, by file name.

Read from the doc’s marked region, never the whole prose. A doc’s intro may link the upstream repository holding the ORIGINAL weights, which is not the GGUF this runtime loads, so taking any URL on the page would offer an install that cannot work. A file name is the URL’s own last segment, so the name a download is recorded under and the URL it came from cannot disagree.

A doc this build does not understand yields nothing rather than a guess, and the caller reports that the doc carried no table.