New ruleset: torch load models with safetensor
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 8
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 40
Description
Code similar to:
```
$VAR_TOKENIZER = $TOKENIZER.from_pretrained("...")
```
Should be marked, the advised fix is the same code plus the `use_safetensors=True` helper
```
$VAR_TOKENIZER = $TOKENIZER.from_pretrained("...", use_safetensors=True)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.