Run this Small Language Model on Raspberry Pi for Fun and PROFIT

  Рет қаралды 5,556

Hardware.ai

Hardware.ai

6 ай бұрын

Is TinyLLaMA any good? Let's run it on Raspberry Pi, benchmark the baseline and possible optimizations! Then we talk with our TinyLLaMA living inside of Raspberry Pi using a simple barebones web server for inference.
Github Gist (benchmark commands, benchmark results, prompts):
gist.github.com/AIWintermuteA...
TinyLlama/TinyLlama-1.1B-Chat-v1.0
huggingface.co/TinyLlama/Tiny...
TinyLlama/TinyLlama-1.1B-Chat-v1.0 (GGUF)
huggingface.co/TheBloke/TinyL...

Пікірлер: 15
@therobotstudio
@therobotstudio 6 ай бұрын
Great stuff as always! Will be trying this as soon as I’m back in the workshop…
@Hardwareai
@Hardwareai 6 ай бұрын
Please do! :)
@exploring-electronic
@exploring-electronic 6 ай бұрын
More no-bullsh**t tutorials! 👍
@Hardwareai
@Hardwareai 6 ай бұрын
More to come!
@ggerganov
@ggerganov 6 ай бұрын
Very good tutorial - well done! Btw, following the chat format of the model (i.e. adding the , , tokens) should improve the accuracy, though at the moment, there is not an easy way to do it with "server". It's possible to do it with "main" but it takes some extra command-line arguments
@Hardwareai
@Hardwareai 6 ай бұрын
Appreciate your work on llama.cpp! Thanks for the info, it will definitely be useful for people watching.
@sleetible
@sleetible 23 күн бұрын
Does the new Hailo AI module offer any improvement on running any of these LLMs? I know it speeds up the vision side of things but I haven't seen anyone use it for LLMs yet.
@sleetible
@sleetible 23 күн бұрын
Oh, and would it speed up Whisper at all? Allowing a larger model to be run?
@Hardwareai
@Hardwareai 21 күн бұрын
re: LLMs, not really. The question has been asked many times in different locations, here is one of the replies www.reddit.com/r/LocalLLaMA/comments/1d7shcr/comment/l71q04c re: Whisper: given that it as transformer as well, Hailo are not geared towards this type of NN. but I remember seeing a paper about modifying BERT to be run with Google Coral USB, so... your mileage may wary, but it is going to be very far from plug-n-play
@JayPixie1113
@JayPixie1113 9 күн бұрын
What raspberry pi version did you use?
@Hardwareai
@Hardwareai 9 күн бұрын
Raspberry Pi 4. I only had 4 at that time, but since then bought 5 as well.
@mandelafoggie9359
@mandelafoggie9359 2 ай бұрын
😮
@Hardwareai
@Hardwareai 2 ай бұрын
😊
@NextGenSellPOS
@NextGenSellPOS 2 ай бұрын
this tutorial needs a tutorial
@Hardwareai
@Hardwareai 2 ай бұрын
Does it though?
Using Ollama to Run Local LLMs on the Raspberry Pi 5
9:30
Ian Wootten
Рет қаралды 54 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 35 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 77 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 83 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 13 МЛН
You won't believe how fast it is | Raspberry Pi Speech-to-Text
6:54
Exploring the Rise of Small Language Models
2:42
Neudesic, an IBM Company
Рет қаралды 3,8 М.
Nvidia Jetson(s) Explained - in under 400 seconds!
6:25
Hardware.ai
Рет қаралды 12 М.
Fine-Tune Your Own Tiny-Llama on Custom Dataset
14:32
Prompt Engineering
Рет қаралды 24 М.
NAS vs. Home Server - What's the difference?
7:31
Wolfgang's Channel
Рет қаралды 305 М.
AI on a Pi? Believe it!
12:29
Data Slayer
Рет қаралды 83 М.
How to Run LLAMA 3 on your PC or Raspberry Pi 5
8:15
Gary Explains
Рет қаралды 12 М.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 2 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 147 М.
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 1,6 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 3 МЛН