xTuring
safetensors_util
xTuring | safetensors_util | |
---|---|---|
31 | 3 | |
2,525 | 64 | |
0.9% | - | |
8.4 | 8.1 | |
about 1 month ago | 4 months ago | |
Python | Python | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xTuring
-
I'm developing an open-source AI tool called xTuring, enabling anyone to construct a Language Model with just 5 lines of code. I'd love to hear your thoughts!
Explore the project on GitHub here.
-
LLaMA 2 fine-tuning made easier and faster
If you're curious, I encourage you to: - Dive deeper with the LLaMA 2 tutorial here. - Explore the project on GitHub here. - Connect with our community on Discord here.
-
RAG vs. Fine-Tuning
If you want best performance, you need to do both RAG and fine-tuning very well. There are plenty of resources on doing fine-tuning thought. I'm one of the contributors to https://github.com/stochasticai/xturing project focused on fine-tuning LLMs. You can find help in the discord channel listed on the GitHub.
- Build, customize and control your own personal LLMs via xTuring OSS
-
Finetuning LLaMA 2 (the base models) ?
What tools do you use and achieved great results ? … For me i have tried xturing and SFTTrainer and they got me a semi okay results.
-
Finetuning using Google Colab (Free Tier)
Code: https://github.com/stochasticai/xTuring/blob/main/examples/llama/llama_lora_int8.py Colab: https://colab.research.google.com/drive/1SQUXq1AMZPSLD4mk3A3swUIc6Y2dclme?usp=sharing
-
I would like to try my hand at finetuning some models. What is the best way to start? I have some questions that I'd appreciate your help on.
We are a group of researchers out of Harvard working on open-source library called xTuring, focused on fine-tuning LLMs: https://github.com/stochasticai/xturing.
-
Fine tuning on my tweets
Fine tuning I was thinking about using this (low GPU memory footprint): https://github.com/stochasticai/xturing/blob/main/examples/int4_finetuning/README.md
-
Colab for finetuning llama models in 4-bit?
I can't speak for QLORA, as I haven't had a chance to get an implementation working, but I've had success with StochasticAI's Xturing. It's by far the most streamlined method of finetuning I've come across, and they offer int8 and int4 fintuning (but only for llama-7B).
- Just wanna say this.
safetensors_util
-
Training for concepts other than styles or a specific person
There is also this tool: https://github.com/by321/safetensors_util which can show captions used to train a LoRA. It probably works on mine. You could try it on CIVITAI models to get an idea of other peoples captions.
-
Is there a way to extract the settings of a LyCORIS model?
If it's a safetensors file then you might be able to read the metadata with this, I have no idea about anything LyCORIS tho lol sorry, no idea if they're even safetensors or what. Figured I'd link the Reddit post so you can leave the person a like if you use their app and it helps you, but if you'd rather just skip to the Github for it that's your decision :) I've tried it and can confirm it works with Loras and regular models in safetensors format, so LyCORIS should be at least possible, as long as it's a safetensors file.
-
Do you want to see how your favorite LoRA was trained ? You might be in luck, many files have a metadata field that records training information/parameters.
Many safetensors files, especially LoRA files, have a metadata field in the file header that records training information. This small python utility program lets you see this information, run it like this:
What are some alternatives?
quivr - Your GenAI Second Brain 🧠 A personal productivity assistant (RAG) ⚡️🤖 Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq that you can share with users ! Local & Private alternative to OpenAI GPTs & ChatGPT powered by retrieval-augmented generation.
fastsdcpu - Fast stable diffusion on CPU
axolotl - Go ahead and axolotl questions
kohya-sd-scripts-webui - Gradio wrapper for sd-scripts by kohya
FinGPT - FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
Dreambooth - Fine-tuning of diffusion models
awesome-totally-open-chatgpt - A list of totally open alternatives to ChatGPT
StableDiffusionUI - Stable Diffusion UI: Diffusers (CUDA/ONNX)
Meshtasticator - Discrete-event and interactive simulator for Meshtastic.
Once-Upon-AI-Time - GPT-3 and Stable Diffusion powered short story generator
Zicklein - Finetuning instruct-LLaMA on german datasets.
StableDiffusion-CheatSheet - A list of StableDiffusion styles and some notes for offline use. Pure HTML, CSS and a bit of JS.