SmolLM2-135M-Instruct.Q4_1 for LLM
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a14f7fbec7a4612c99eb8d1d458b2763e189f082220d36c88d2eeaed153469
|
|
| MD5 |
d999af48956749b3924c34d9c231e68f
|
|
| BLAKE2b-256 |
ca760f6954a442e68f33741857f0aa56a3a412faea2302a116322be9d4d22fdf
|
Provenance
The following attestation bundles were made for llm_smollm2-0.1.2.tar.gz:
Publisher:
publish.yml on simonw/llm-smollm2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_smollm2-0.1.2.tar.gz -
Subject digest:
97a14f7fbec7a4612c99eb8d1d458b2763e189f082220d36c88d2eeaed153469 - Sigstore transparency entry: 169531619
- Sigstore integration time:
-
Permalink:
simonw/llm-smollm2@afed0963b3a8bcca17c83f451a161eb2edbc59fe -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@afed0963b3a8bcca17c83f451a161eb2edbc59fe -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcc81830d10ce7d9e76640cad826a4b79ed3e4547c78a0be5c4f2fb0e2448c70
|
|
| MD5 |
256234ff71d0c933d0cec42b316cd6fc
|
|
| BLAKE2b-256 |
06be9df8343f073e455d94f4acda2c211e84dec4d2879ee959c8dfbaa40d7d1b
|
Provenance
The following attestation bundles were made for llm_smollm2-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on simonw/llm-smollm2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_smollm2-0.1.2-py3-none-any.whl -
Subject digest:
bcc81830d10ce7d9e76640cad826a4b79ed3e4547c78a0be5c4f2fb0e2448c70 - Sigstore transparency entry: 169531621
- Sigstore integration time:
-
Permalink:
simonw/llm-smollm2@afed0963b3a8bcca17c83f451a161eb2edbc59fe -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@afed0963b3a8bcca17c83f451a161eb2edbc59fe -
Trigger Event:
release
-
Statement type: