Live data from Hacker News

SmolLM2

simonwillison.net

1–10 of 51 posts

Re: SmolLM2

#2
Is there a way to run this in the browser as yet? Transformers js doesn't seem to support this. Is there another way to run this in the browser?

Re: SmolLM2

#4
Does it support anything other than English? Sadly, most open-weights models have no support for languages other than English, which makes them useless for 75% world's population who don't speak English at all.

Does anyone know of a good lightweight open-weights LLM which supports at least a few major languages (let's say, the official UN languages at least)?

Re: SmolLM2

#7
post #2

Is there a way to run this in the browser as yet? Transformers js doesn't seem to support this. Is there another way to run this in the browser?

Probably ONNX.

Re: SmolLM2

#8
What’s the context size? I couldn’t find it on the model summary page. Tangential: if it’s not on the model page, does it mean that it’s not that relevant here? If so, why?

Re: SmolLM2

#9
post #4

Does it support anything other than English? Sadly, most open-weights models have no support for languages other than English, which makes them useless for 75% world's population who don't speak English at all. Does anyone know of a good lightweight open-weights LLM which supports at least a few major languages (let's say, the official UN languages at least)?

> SmolLM2 models primarily understand and generate content in English.

https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct/b...

Re: SmolLM2

#10
Semi-related but is there a standard way to run this (or other models from huggingface) in a docker container and interact with them through a web API? ChatGPT tells me to write my own FastAPI wrapper which should work, but is there no pre-made solution for this?
Post reply on HN