CodersInBlack retweeted
I can't believe I've just fine-tuned a 33B-parameter LLM on Google Colab in a few hours.😱
Insane announcement for any of you using open-source LLMs on normal GPUs! 🤯
A new paper has been released, QLoRA, which is nothing short of game-changing for the ability to train and fine-tune LLMs on consumers' GPUs.
In a few words:
QLoRA reduces the memory usage of LLM fine-tuning without any performance tradeoffs compared to standard 16-bit model fine-tuning.
This method enables 33B model fine-tuning on a single 24GB GPU and 65B model fine-tuning on a single 46GB GPU. This is incredible! 😍
More specifically, QLoRA uses 4-bit quantization to compress a pre-trained language model. The LM parameters are then frozen, and a relatively small number of trainable parameters are added to the model in the form of Low-Rank Adapters.
During finetuning, QLoRA backpropagates gradients through the frozen 4-bit quantized pretrained language model into the Low-Rank Adapters. The LoRA layers are the only parameters being updated during training. Read more about LoRA in the original LoRA paper (arxiv.org/abs/2106.09685). 🤓
QLoRA has one storage data type (usually 4-bit NormalFloat) for the base model weights and a computation data type (16-bit BrainFloat) used to perform computations. QLoRA dequantizes weights from the storage data type to the computation data type to perform the forward and backward passes, but only computes weight gradients for the LoRA parameters, which use 16-bit bfloat. The weights are decompressed only when they are needed, therefore the memory usage stays low during training and inference. Beautiful!😱
QLoRA tuning is shown to match 16-bit finetuning methods in a wide range of experiments. In addition, the Guanaco models, which use QLoRA finetuning for LLaMA models on the OpenAssistant dataset (OASST1), are state-of-the-art chatbot systems and are close to ChatGPT on the Vicuna benchmark. This is an additional demonstration of the power of QLoRA tuning.
Their Guanaco models are reaching 99.3% of the performance level of ChatGPT while only requiring 24 hours of fine-tuning on a single GPU. You can actually do it in Google Colab.
📚 Links-
QLoRA Paper - arxiv.org/pdf/2305.14314.pdf
Colab for inference - colab.research.google.com/dr…
Colab for fine-tuning - colab.research.google.com/dr…
GitHub Repository- github.com/artidoro/qlora
Use it with HuggingFace - huggingface.co/blog/4bit-tra…
CodersInBlack retweeted
#Kryll is at #Biarritz 🇫🇷 for the 3rd edition of @SurfinBitcoin, the largest #Bitcoin conference in Europe!
What an amazing place meet people and to talk about $BTC #SurfinBitcoin #SurfinBitcoin2022
CodersInBlack retweeted
Kryll is listed in the Crypto.com App 🔔
Buy $KRL at true cost with USD, EUR, GBP, and 20+ fiat currencies.
Download the App to start trading #KRL now!
👉 crypto.onelink.me/J9Lg/6fd5d…
For more details - crypto.com/product-news/cryp…
@kryll_io
CodersInBlack retweeted
So many exciting things are going to happen!
Our USDT contracts are now live and we’re kicking off our launch with a giveaway - USDT 500 to 40 users!
To enter:
🚀Follow @BitMEX
🚀Like + Retweet this post
🚀Have a verified BitMEX account
Contest closes on 15 November 2021 at 00.00 UTC
Learn more: bit.ly/3Et3LFW
CodersInBlack retweeted
Petit mot encourageant à propos du projet français @kryll_io 🇫🇷
Je les suis de loin depuis longtemps, il travaille tjrs aussi dur depuis des années et ça porte tous les jours un peu plus ses fruits.
Félicitations pour le listing sur @CoinbasePro
Keep up the great work guys 🦾
CodersInBlack retweeted
Thank's guys 4 this #DevOps #commando iteration. 4 days 4 an amazing result! See u soon @CodersInBlack. #workhardplayhard #NodeJS #Angular
CodersInBlack retweeted
Lesson to learn in business that a lot of people don’t get: speed. Rapidité. Velocidad. SPEED. For God sake, please make it fast, move fast!
CodersInBlack retweeted
5 uncommon habits for accomplishing 80 hours of work in half the time - bit.ly/20MwCvq
CodersInBlack retweeted
Post-run celebration @CodersInBlack !
#pizzatime

























