3 ms·
why does this require trust_remote_code
by seydor 3y ago
why does this require trust_remote_code
- minimaxir 3y agoBecause it requires shenanigans to get to the 128k context window. It's not malicious, you can view the code yourself in the .py files: https://huggingface.co/NousResearch/Yarn-Mistral-7b-128k/tree/main https://huggingface.co/NousResearch/Yarn-Mistral-7b-128k/tre...
- luke-stanley 3y agoYou could also ask, why Pickle and not Safer Tensors or Msgpack?
- sp332 3y agoI think any model type that is not built in to the huggingface library needs that.