Daniel Clough
Daniel Clough
  • 20
  • 52 244
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
Переглядів: 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 ...
Chamomile Face Mask
Переглядів 1214 роки тому
Chamomile Face Mask
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 (武当山).
武当功夫
Переглядів 1,7 тис.13 років тому
武当功夫
武当五行剑
Переглядів 62413 років тому
武当五行剑
六式丹功,易筋功 003212 16012012
Переглядів 1,3 тис.13 років тому
六式丹功,易筋功 003212 16012012
武当太乙棍
Переглядів 6 тис.13 років тому
武当太乙棍
武当五行拳
Переглядів 35 тис.13 років тому
武当五行拳
Taiji 39 (太极三十九式; Tai Chi form 39)
Переглядів 56713 років тому
Taiji 39 (太极三十九式; Tai Chi form 39)

КОМЕНТАРІ

  • @taykaunda7120
    @taykaunda7120 8 місяців тому

    what a godsend video

    • @danielclough
      @danielclough 7 місяців тому

      I am very happy that it helps you. :D

  • @tameflame1229
    @tameflame1229 11 місяців тому

    Would love a full guided video tutorial on using candle. Especially if you include training/fine tuning

    • @danielclough
      @danielclough 11 місяців тому

      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...

  • @carlosdesantiago1356
    @carlosdesantiago1356 11 місяців тому

    Les go! 🎉

    • @danielclough
      @danielclough 11 місяців тому

      I was thinking about sending you a message about if you could help me figure out CI for mac?

    • @danielclough
      @danielclough 11 місяців тому

      Well, I did the CI for mac after thinking about it yesterday. :D Hope to see you soon!

  • @brasseriebiolesangesdechus1374

    Very nice work. Will you implement mixtral 8*7 model also?

    • @danielclough
      @danielclough Рік тому

      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.

  • @poulpidot3087
    @poulpidot3087 Рік тому

    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 ! 👏

    • @danielclough
      @danielclough Рік тому

      Fantastic! That's exactly what I created this for. I'll be improving things a bit soon - once the new year settles in.

  • @aarontsui5116
    @aarontsui5116 Рік тому

    Only left channel of audio.

    • @danielclough
      @danielclough Рік тому

      Thank you for pointing this out. I'll be more careful next time.

  • @muhammadadribmahmud5012
    @muhammadadribmahmud5012 Рік тому

    It will be a pleasure to contribute ❤

    • @danielclough
      @danielclough Рік тому

      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.

  • @zendr0
    @zendr0 Рік тому

    Nice ❤

    • @danielclough
      @danielclough Рік тому

      Glad you like it. Big improvements coming soon-ish.

  • @JunkJrawer
    @JunkJrawer Рік тому

    I found this video very useful and informative, thank you for posting

  • @user-ve1gj3pm5g
    @user-ve1gj3pm5g Рік тому

    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

    • @danielclough
      @danielclough Рік тому

      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

    • @user-ve1gj3pm5g
      @user-ve1gj3pm5g Рік тому

      @@danielcloughyou’re awesome; ya on your own time whenever you get to it. Putting this out for free is enough and grateful :)

  • @alvinxu8520
    @alvinxu8520 Рік тому

    👍

  • @colquin
    @colquin Рік тому

    Hey nice Work, looking into something similar. why did you split frontend and backend completely and did not go fullstack with leptos-axum?

    • @danielclough
      @danielclough Рік тому

      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.

  • @zendr0
    @zendr0 Рік тому

    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.

    • @danielclough
      @danielclough Рік тому

      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.

    • @danielclough
      @danielclough Рік тому

      I have made a serverless branch. Github in video description. ua-cam.com/video/awuE_-6omxY/v-deo.html

  • @alvinxu8520
    @alvinxu8520 Рік тому

    I am also very interested in candle, but what are the advantages of candle?just wasm?

    • @danielclough
      @danielclough Рік тому

      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"'.

    • @JosephCatrambone
      @JosephCatrambone Рік тому

      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.

  • @elocopana
    @elocopana Рік тому

    Amazing!!!

  • @helenenlighted5312
    @helenenlighted5312 Рік тому

    Very good performance, smooth and connecting with inner power

  • @halima1444
    @halima1444 Рік тому

    😇😇😇😇🩶🖤💫🩶🖤💫🖤🖤🖤🖤💫💫💫💫💫💫💥💛💫💫💫💫💫🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🫀🤳💪🏻🙋‍♀️🧎‍♀️

  • @นายณัฐพนธ์ผาลาวรรณ์-ฤ3ษ

    คิดถึงวันวานจังเลย

  • @seinundzeiten
    @seinundzeiten 2 роки тому

    very skilled, his movement through his waist is sensational

  • @Yy-db1ym
    @Yy-db1ym 2 роки тому

    这个配乐叫什么名字?

  • @dodomilk66
    @dodomilk66 2 роки тому

    好功夫 ! 俐落。穩健。

  • @alekx58
    @alekx58 3 роки тому

    Pu xa wu BU qwuan zao fu Tai shan Cai Wan cai

    • @alekx58
      @alekx58 3 роки тому

      Han si Chi hu dai fa Chuan Shu ka Ma ghji ti Pu xa

    • @alekx58
      @alekx58 3 роки тому

      San liu Hui Chuan Shu nenng Cheng FA te Hai ka Ma ghji ti Tai zai Tai Hai she Tai Zen xa

  • @ToOvOxo
    @ToOvOxo 3 роки тому

    Thanks for the posting. I wish I could learn the full routine.

  • @TikTok-bl1rm
    @TikTok-bl1rm 3 роки тому

    Great!!

  • @terciary
    @terciary 4 роки тому

    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

    • @danielclough
      @danielclough 4 роки тому

      It's a rare form of Wudang Wuxingquan.

    • @terciary
      @terciary 2 роки тому

      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.

  • @hiendieu3128
    @hiendieu3128 4 роки тому

    很好看好功夫谢谢阿弥陀佛

  • @pingchang8408
    @pingchang8408 6 років тому

    不错。

  • @iwontliveinfear
    @iwontliveinfear 12 років тому

    Looks like my kinda place.