Downloads · 30 days
46
18% of all-time downloads
loom-ai-org/smollm2-360m-instruct-loom
smollm2-360m-instruct-loom is a text generation model from loom-ai-org. Use it when you need the model to write or continue text. It is set up for loom-py-rt. The card lists the license as apache-2.0.
HuggingFaceTB's SmolLM2 360M instruct-tuned LM, exported for loom.cpp.
Downloads · 30 days
46
18% of all-time downloads
All-time downloads
261
Public
Repo size
5.8 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.4 GB · 100%
From the Hugging Face model README
HuggingFaceTB's SmolLM2 360M instruct-tuned LM, exported for loom.cpp.
This is a loom.cpp export: a single self-describing GGUF that carries its own graph topologies, tokenizer (if any) and driver script, produced by loom-exporter.
Exported from HuggingFaceTB/SmolLM2-360M-Instruct. Weights are unmodified; this repo packages the same parameters into
loom.cpp's GGUF format.
apache-2.0, inherited from the base model above.
en
Run it with loom-py -- loom-py-rt on PyPI:
pip install -U "loom-py-rt[hub]"
import loom
model = loom.Model.from_pretrained("loom-ai-org/smollm2-360m-instruct-loom")
print(model.text2text.chat("Who discovered Brazil?", max_new_tokens=256))
# The same model, one turn at a time, and with the decode rule named rather than inherited:
print(model.chat([("user", "Name one river in Brazil.")], temperature=0.0))
The call above is the high-level door: one per task, named for the modality pair it maps between, with
the windowing, sampling and assembly this model needs already applied. Under it, model.infer(...)
passes your arguments straight to the driver this GGUF embeds -- which is where you go for a knob the
door does not name.
model.driver_source prints that driver, including a header comment documenting every argument it
accepts for this model, and is the authority on it. See loom-py for the API and
loom.cpp for what the engine does between the two.
smollm2-360m-instruct.gguf -- the model, exported with loom-exporter.