Skip to main content

SmolLM2-135M-Instruct.Q4_1 for LLM

Project description

llm-smollm2

PyPI Changelog Tests License

SmolLM2-135M-Instruct.Q4_1 for LLM. Background on this project.

Installation

Install this plugin in the same environment as LLM.

llm install llm-smollm2

If you have uv installed you can chat with the model without any installation step like this:

uvx --with llm-smollm2 llm chat -m SmolLM2

Usage

This plugin bundles a full copy of the SmolLM2-135M-Instruct.Q4_1 quantized version of the SmolLM2-135M-Instruct model by HuggingFaceTB.

Once installed, run the model like this:

llm -m SmolLM2 'Are dogs real?'

Or to chat with the model (keeping it resident in memory):

llm chat -m SmolLM2

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-smollm2
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_smollm2-0.1.2.tar.gz (92.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_smollm2-0.1.2-py3-none-any.whl (92.9 MB view details)

Uploaded Python 3

File details

Details for the file llm_smollm2-0.1.2.tar.gz.

File metadata

  • Download URL: llm_smollm2-0.1.2.tar.gz
  • Upload date:
  • Size: 92.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for llm_smollm2-0.1.2.tar.gz
Algorithm Hash digest
SHA256 97a14f7fbec7a4612c99eb8d1d458b2763e189f082220d36c88d2eeaed153469
MD5 d999af48956749b3924c34d9c231e68f
BLAKE2b-256 ca760f6954a442e68f33741857f0aa56a3a412faea2302a116322be9d4d22fdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_smollm2-0.1.2.tar.gz:

Publisher: publish.yml on simonw/llm-smollm2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_smollm2-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: llm_smollm2-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 92.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for llm_smollm2-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc81830d10ce7d9e76640cad826a4b79ed3e4547c78a0be5c4f2fb0e2448c70
MD5 256234ff71d0c933d0cec42b316cd6fc
BLAKE2b-256 06be9df8343f073e455d94f4acda2c211e84dec4d2879ee959c8dfbaa40d7d1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_smollm2-0.1.2-py3-none-any.whl:

Publisher: publish.yml on simonw/llm-smollm2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page