![Daniel Clough](/img/default-banner.jpg)
- 20
- 52 244
Daniel Clough
Приєднався 11 тра 2007
Pure Rust LLM interface using HuggingFace/Candle, Axum, Websockets, SQLite, Leptos (Wasm) and Tauri!
The Fireside Chat (prev. Candle Chat) Bot is an LLM interface implemented in pure Rust using HuggingFace/Candle over Axum Websockets, an SQLite Database, and a Leptos (Wasm) frontend packaged with Tauri!
I have finally released packages (Linux only for now) for beta testing!
Commits and feedback welcome!
Github:
⭐Fireside Chat: github.com/danielclough/fireside-chat ⭐
🔙 Backend
Axum: github.com/tokio-rs/axum
HuggingFace/Candle: github.com/huggingface/candle/
💻 Frontend
Leptos: github.com/leptos-rs/leptos
Leptonic: github.com/lpotthast/leptonic/
Docs:
Shuttle.rs: docs.shuttle.rs/introduction/welcome
Github Pages: docs.github.com/en/pages
Discord:
HuggingFace/Candle: discord.gg/hugging-face-879548962464493619
Leptos: discord.gg/YdRAhS7eQB
Shuttle.rs: discord.gg/shuttle
I have finally released packages (Linux only for now) for beta testing!
Commits and feedback welcome!
Github:
⭐Fireside Chat: github.com/danielclough/fireside-chat ⭐
🔙 Backend
Axum: github.com/tokio-rs/axum
HuggingFace/Candle: github.com/huggingface/candle/
💻 Frontend
Leptos: github.com/leptos-rs/leptos
Leptonic: github.com/lpotthast/leptonic/
Docs:
Shuttle.rs: docs.shuttle.rs/introduction/welcome
Github Pages: docs.github.com/en/pages
Discord:
HuggingFace/Candle: discord.gg/hugging-face-879548962464493619
Leptos: discord.gg/YdRAhS7eQB
Shuttle.rs: discord.gg/shuttle
Переглядів: 648
Відео
Config new models, tokenizer.json, and load .pdf and .txt for Fireside Chat (Pure Rust AI Chat Bot).
Переглядів 236Рік тому
The Fireside Chat (prev. Candle Chat) Bot is implemented in pure Rust using Mistral-7B with HuggingFace/Candle over Axum Websockets (mutli-user) and a Leptos (Wasm) frontend using the Leptonic UI library! Following up on the last video, in this video I explain how to config new models, including the tokenizer.json, and how to load .pdf and .txt files. It is important to note that .gguf files pr...
Create safetensors and quantized files for Candle Chat (Pure Rust AI Chat Bot with a WASM frontend).
Переглядів 412Рік тому
The Fireside Chat (prev. Candle Chat) Bot is implemented in pure Rust using Mistral-7B with HuggingFace/Candle over Axum Websockets (mutli-user) and a Leptos (Wasm) frontend using the Leptonic UI library! In this video I explain how to create .safetensors and quantized files (.gguf) using my convenience scripts (which you can fork and modify as you please). It is important to note that .gguf fi...
Pure Rust Serverless AI Chat Bot with a WASM frontend hosted statically on Github Pages.
Переглядів 266Рік тому
The Fireside Chat (prev. Candle Chat) Bot is implemented in pure Rust using Mistral-7B with HuggingFace/Candle over Axum Websockets (mutli-user) and a Leptos (Wasm) frontend using the Leptonic UI library!!! The `serverless` branch now demonstrates how to host the frontend on GitHub Pages and the backend on Shuttle.rs 🚀 Github: ⭐Fireside Chat: github.com/danielclough/fireside-chat ⭐ 🔙 Backend Ax...
Addition of Leptonic user interface to Candle Chat frontend, and REST API to change inference args.
Переглядів 233Рік тому
The Fireside Chat (prev. Candle Chat) Bot is implemented in pure Rust using Mistral-7B with HuggingFace/Candle over Axum Websockets (mutli-user) and a Leptos (Wasm) frontend using the Leptonic UI libraryi!! I just ordered a desktop that should be able to cut through video like butter, so quality will be improving soon! Github: ⭐Fireside Chat: github.com/danielclough/fireside-chat ⭐ 🔙 Backend Ax...
A pure Rust Chat Bot using Mistral-7B, HuggingFace/Candle, Axum, Websockets, and Leptos (Wasm).
Переглядів 3 тис.Рік тому
The Fireside Chat (prev. Candle Chat) Bot is implemented in pure Rust using Mistral-7B with HuggingFace/Candle over Axum Websockets (mutli-user) and a Leptos (Wasm) frontend!! The project is just started, so it's not super fantastic yet. But, if you are into Rust, HuggingFace/Candle is Supercalafajalistickexpialadojus[1]! Github: ⭐Fireside Chat: github.com/danielclough/fireside-chat ⭐ HuggingFa...
StableDiffusion-XL Bot for Discord using Docker and the Nvidia Container Toolkit.
Переглядів 142Рік тому
In this video I explain how to setup a StableDiffusion-XL Bot for Discord using Docker and the Nvidia Container Toolkit. Github: github.com/danielclough/sdxl-bot Bot Setup (previous video): ua-cam.com/video/KA6zG1xRax8/v-deo.html Chapters 0:00 Intro 1:01 Docker README 1:24 Clone Repos 1:41 README wrap up 2:08 docker-compose.yaml 2:57 Dockerfile 4:29 Ungraceful Exit
StableDiffusion-XL Bot for Discord using Linux Containers (LXC) and an Nvida GPU (Cuda).
Переглядів 298Рік тому
In this video I demonstrate how to setup a StableDiffusion-XL Bot for Discord using Linux Containers (LXC) and an Nvida GPU (Cuda). Github: github.com/danielclough/sdxl-bot I like using LXC when needing the highest degree of containerization (for security). If you skip the LXC part you can use the same steps to install on locally on Ubutnu directly. Read about LXC vs. Docker: earthly.dev/blog/l...
Jesus, Aliens, Reincarnation, and Doomsday!
Переглядів 30Рік тому
⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡ ⛔⚠️⛔ Trigger Warning ⛔⚠️⛔ ⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡ I went to the park to interview someone for generative AI art input. My goal was to to record someone else's experience of reality. I don't endorse (or even understand) the speakers opinions or beliefs. I am testing out a survey concept with a tablet for interaction and quick reference. But, he talks about things way different than the que...
Hood to Hood (New Era Las Vegas) 6-20-2020
Переглядів 964 роки тому
Audio is collected from a direct action support event called Hood to Hood, hosted by New Era Las Vegas. - Podcast RSS Feed: IHeardThat.podbean.com Image of Stretch Sanders from We Deserve To Live Rally, March, and Candlelight Vigil. - Full Album: pg/DanielCloughPhotography/photos/?tab=album&album_id=679361182622388 New Era Las Vegas New-Era-Las-Vegas-609429346219510/ F...
Kachina Tea Intro
Переглядів 504 роки тому
Keith Duquitto of Kachina Tea preparing a Custom Tea Blend. "Helping people across the Southwest to Eat Healthy, Live Right and Stay Well through Culturally Lateral Collaboration, Awareness, Science and Nature.The past twenty years have seen our research and development support systems strategically seeking out and acquiring the world's finest natural, organic and fair trade ingredients from a ...
Playing at XiaGuan - Wudang Mountain Hostel
Переглядів 36812 років тому
Residents of the Wudang Mountain Hostel playing. The hostel is located at the Lower Temple of the Jade Terrace on Wudang Mountain in Hubei Province China. The 600 year old temple has been converted into a farm and hostel that is owned by a collection of families. For more information contact 飞虎 at Danielclough@gmail.com Check out our webpage at www.wudanghostel.com
司师父medley.mp4
Переглядів 69012 років тому
Video of Si Shifu (司师父) teaching and practicing Chinese kung fu. The forms are part of the internal martial arts system of Wudang style (武当拳) from Wudang mountain (武当山).
what a godsend video
I am very happy that it helps you. :D
Would love a full guided video tutorial on using candle. Especially if you include training/fine tuning
Full guided video tutorials take a lot of time and effort, but I have thought about it. Even these quick videos have taken more time than I guessed they would. I have a bunch more features I want to put into this project. Once it is a bit more feature complete I may take some time to do a real tutorials. But, my skills are more aligned with coding than video production...
Les go! 🎉
I was thinking about sending you a message about if you could help me figure out CI for mac?
Well, I did the CI for mac after thinking about it yesterday. :D Hope to see you soon!
Very nice work. Will you implement mixtral 8*7 model also?
Not real soon, although it wouldn't be that difficult to manage. I can't run it on my server or desktop. Once Candle can do quantized models with Cuda I'll add it. :D Since I don't have much time to work on this I've been working on local changes that I'll share soon. I have added Phi models, and plan to add Llama very soon. Once Llama is working I'll push changes.
Thank you so much ! I was trying to learn Rust by working on a chatBot project with quantized Mistral for non-english language with Candle, but with no example to follow on this particular setup, it was quite hard for me. Now, I have a whole repo to learn ! 👏
Fantastic! That's exactly what I created this for. I'll be improving things a bit soon - once the new year settles in.
Only left channel of audio.
Thank you for pointing this out. I'll be more careful next time.
It will be a pleasure to contribute ❤
Feel free! I have a lot of changes coming soon, but I have to pass through a busy period first. The biggest improvement that needs doing is fixing the websocket to work as a mpsc.
Nice ❤
Glad you like it. Big improvements coming soon-ish.
I found this video very useful and informative, thank you for posting
Glad it was helpful!
Awesome!! I’m hoping for more videos like this! I’m looking into candle and wonder if it can be implemented with RAG for PDFs. I’m sure there’s RAG that can work well with rust and candle. If you ever get around to it, that will be very neat to see :)) but thank you for this video
I plan on doing RAG for text/PDF eventually, but it's a bit down in the list of priorities. I will try to remember to comment here when get to it. :D
@@danielcloughyou’re awesome; ya on your own time whenever you get to it. Putting this out for free is enough and grateful :)
👍
🤗
Hey nice Work, looking into something similar. why did you split frontend and backend completely and did not go fullstack with leptos-axum?
Mostly because lepto-axum is slower to develop because it would restart the backend (and reload the model) every time I make a change in the frontend.
Liked the project 👍! Can you also make something for serverless using rust or may be show around a bit on this as serverless? than would be great.
I think that is a great idea. I am going to finish updating the frontend a bit, probably tomorrow, then I could make it work with shuttle.rs. First I will want to incorporate the lama.cpp format .gguf in this project - because serverless won't run on GPU - and the more standard format is already a requested feature. I skipped it initially because it's currently CPU only with candle. Not sure about an ETA to have a serverless example up, but I think it's a great idea to make it a priority. Thanks for the suggestion.
I have made a serverless branch. Github in video description. ua-cam.com/video/awuE_-6omxY/v-deo.html
I am also very interested in candle, but what are the advantages of candle?just wasm?
The main benefits, from my perspective are: 1) no python/pip (faster, simpler package management, no GIL) 2) strongly typed 3) memory safe If planning on running the project serverless you will have lightweight binaries to publish. I actually wasn't even going to use wasm before a friend was like, 'you might as well make the project "Pure Rust"'.
My anecdote: If you're building desktop applications or things that are designed to be run by end users, it's nice to get a single (small-ish) executable. My application is 22mb and takes about 100 megs of ram. It's a single file with no install or virtualenv setup. My Python virtualenv is 4 gigabytes, for comparison, and if I made a stripped down Docker container that still used the GPU it would be around the same size because of the Torch library overhead.
Amazing!!!
Thank you! Cheers!
Very good performance, smooth and connecting with inner power
😇😇😇😇🩶🖤💫🩶🖤💫🖤🖤🖤🖤💫💫💫💫💫💫💥💛💫💫💫💫💫🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🫀🤳💪🏻🙋♀️🧎♀️
คิดถึงวันวานจังเลย
very skilled, his movement through his waist is sensational
这个配乐叫什么名字?
好功夫 ! 俐落。穩健。
Pu xa wu BU qwuan zao fu Tai shan Cai Wan cai
Han si Chi hu dai fa Chuan Shu ka Ma ghji ti Pu xa
San liu Hui Chuan Shu nenng Cheng FA te Hai ka Ma ghji ti Tai zai Tai Hai she Tai Zen xa
Thanks for the posting. I wish I could learn the full routine.
Great!!
Absolutely fantastic form. What style is it? Some very remote resemblance to Chen Taiji. Definitely not Wu Xing I've seen elsewhere in UA-cam
It's a rare form of Wudang Wuxingquan.
For couple of years I’ve mastered the form from this video (and few scraps found in chinese videoservices). Still making improvements in my routine though, not all details are clearly visible. Next month will demonstrate it on local wushu competitions.
很好看好功夫谢谢阿弥陀佛
不错。
Looks like my kinda place.