Languagemodels

Latest version: v0.22.0

Safety actively analyzes 688126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.22

Changed

- Pin Llama 3.2 model versions
- Decrease repetition penalty for Llama 3.2 models

Added

- Support SmolLM2
- Add `embed` function
- Support Llama 3.1 8B instruct
- Use models directly from Huggingface with config.use_hf_model()
- Add "echo" config option to allow streaming tokens to stdout as they are generated

0.21

Changed

- Skip checking for model updates
- Download entire model upfront even if we only need the tokenizer initially
- Use most recent version of CTranslate2
- Add per-model repetition penalties

Added

- Support Llama 3.2 1B and 3B
- Support Danube3
- Support SmolLM

0.20

Changed

- Add new separators to document chunking heuristic

Fixed

- Allow missing query prefixes for embedding models

Added

- Support Phi-3-mini-4k-instruct
- Support GIST-small-Embedding-v0 embedding model
- Store model runtime stats to improve benchmarking and analysis

0.19

Added

- Support Meta-Llama-3-8B-Instruct
- Support gemma-2b-it
- Support h2o-danube2-1.8b-chat
- Support WizardLM-2-7B

0.18.0

Fixed

- Correct issue causing `choices` to be scored improperly

0.17.0

Added

- CUDA 12 support

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.