HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
huggingface
optimum
Python2023–2023
huggingface / optimum

optimum

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

2Distinct people
2Mentions
0Explicit recommenders
3.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month2 dated mentions

Observed mentions: 2023-03-31 07:48:49 UTC to 2023-11-16 21:58:00 UTC.

012023-03-01 00:00:00 UTC to 2023-04-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 20232023-04-01 00:00:00 UTC to 2023-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-01 00:00:00 UTC to 2023-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-01 00:00:00 UTC to 2023-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-01 00:00:00 UTC to 2023-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJul 20232023-08-01 00:00:00 UTC to 2023-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-09-01 00:00:00 UTC to 2023-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-10-01 00:00:00 UTC to 2023-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 00:00:00 UTC to 2023-12-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 20232023-03-01 00:00:00 UTC2023-04-01 00:00:00 UTC101
Apr 20232023-04-01 00:00:00 UTC2023-05-01 00:00:00 UTC000
May 20232023-05-01 00:00:00 UTC2023-06-01 00:00:00 UTC000
Jun 20232023-06-01 00:00:00 UTC2023-07-01 00:00:00 UTC000
Jul 20232023-07-01 00:00:00 UTC2023-08-01 00:00:00 UTC000
Aug 20232023-08-01 00:00:00 UTC2023-09-01 00:00:00 UTC000
Sep 20232023-09-01 00:00:00 UTC2023-10-01 00:00:00 UTC000
Oct 20232023-10-01 00:00:00 UTC2023-11-01 00:00:00 UTC000
Nov 20232023-11-01 00:00:00 UTC2023-12-01 00:00:00 UTC101

What Hacker News says

2 sources
The name "Tiny LLMs" does not make sense. LLM stands for large language model. So tiny is kind of the opposite of large. Large usually means >=7B parameters (2023). If it's less, we would just call it language model, not large language model. And language model has a very specific meaning: It models text. Usually we mean an auto-regressive language model, i.e. input is partial text, and output is the the prediction of the following text. Although there are also other kind of language models. Language model always means text-only. E.g, a model for speech recognition is a speech recognition model, not a language model. You might use a language model in addition here (shallow fusion etc), but it's not necessary (end-to-end models). None of the models I see here are language models. So, to put a title here, you could maybe "neural network mod
Read the rest
els in browser" or so. Or maybe "natural language models". "Natural language processing (NLP)" has a different meaning (https://en.wikipedia.org/wiki/Natural_language_processing) (compared to "language model", https://en.wikipedia.org/wiki/Language_model) and includes speech recognition. Sometimes this was also referred to as "human language technology (HLT)" (https://en.wikipedia.org/wiki/Language_technology), which would also include all those models. It would also be nice to add a bit more details on what kind of models we see here, how large they are, etc. E.g. for speech recognition, I see that this uses a port of Whisper to the web (https://github.com/xenova/whisper-web) based on the Transformers.js library (https://github.com/xenova/transformers.js). That uses ONNX, and the standard conversion is via Hugging Face Optimum (https://github.com/huggingface/optimum), and that usually would do some dynamic quantization, i.e. compression of the model. So maybe the "tiny large" is referring to that. But I did not really find out which Whisper model this is based on, i.e. whether it is Whisper-large (which is still not too large with 1.5B parameters).
In Show HN: Tiny LLMs – Browser-based private AI models for a wide array of tasks
It would be great if you can help me with this PR as well as adding a support for exporting a model that was quantized using GPTQ, bitsandbytes, plain torch. This would bring a lot of benefit from both worlds: - Low memory footprint(thanks quantization) - Fast inference(thanks io binding) Particularly in case of alpaca I have seen a 5x decrease in latency on A100 and 10x on AMD EPYC. I believe this is the way for users to have an AI that could genereate a response as fast as it can on their hardware. I have also added a link to my profile on hf with small alpacas turned into ONNX format. Take a look into them. [1] https://github.com/huggingface/optimum/pull/922 [2] https://huggingface.co/nenkoru
In Vicuna: An open-source chatbot impressing GPT-4 with 90% ChatGPT quality

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.