llm-smollm2
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
Metadata
Release files for llm-smollm2 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_smollm2-0.1.2.tar.gz | 92.9 MB | With provenance | Details for llm_smollm2-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_smollm2-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for llm_smollm2-0.1.2-py3-none-any.whl |
Total release size: 185.7 MB
Release files / llm_smollm2-0.1.2.tar.gz
| Download URL | llm_smollm2-0.1.2.tar.gz |
|---|---|
| Size | 92.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97a14f7fbec7a4612c99eb8d1d458b2763e189f082220d36c88d2eeaed153469
|
|
BLAKE2b-256 checksum How to use checksums |
ca760f6954a442e68f33741857f0aa56a3a412faea2302a116322be9d4d22fdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 7, 2025.
Transparency logRelease files / llm_smollm2-0.1.2-py3-none-any.whl
| Download URL | llm_smollm2-0.1.2-py3-none-any.whl |
|---|---|
| Size | 92.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcc81830d10ce7d9e76640cad826a4b79ed3e4547c78a0be5c4f2fb0e2448c70
|
|
BLAKE2b-256 checksum How to use checksums |
06be9df8343f073e455d94f4acda2c211e84dec4d2879ee959c8dfbaa40d7d1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 7, 2025.
Transparency logSecurity for llm-smollm2 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llm_smollm2-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 7, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.