Chinayangjianxin1/Firefly
Firefly: 大模型训练工具,支持训练Qwen2.5、Qwen2、Yi1.5、Phi-3、Llama3、Gemma、MiniCPM、Yi、Deepseek、Orion、Xverse、Mixtral-8x7B、Zephyr、Mistral、Baichuan2、Llma2、Llama、Qwen、Baichuan、ChatGLM2、InternLM、Ziya2、Vicuna、Bloom等大模型
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#2 Repository Của Tuần
🚀 Firefly: Công cụ huấn luyện LLM toàn diện, hỗ trợ trên 30 kiến trúc lớn
Một bộ công cụ huấn luyện LLM mã nguồn mở, hỗ trợ pretrain, SFT, DPO, đồng thời tích hợp Unsloth để tối ưu VRAM và tốc độ.
Firefly là một dự án huấn luyện lớn mã nguồn mở, hỗ trợ huấn luyện toàn bộ tham số, LoRA, và QLoRA. Dự án hỗ trợ ba giai đoạn chính: tiền huấn luyện (pretrain), tinh chỉnh theo hướng dẫn (SFT), và tối ưu theo phản hồi con người (DPO). Firefly tương thích với hơn 30 kiến trúc mô hình lớn phổ biến như Llama3, Qwen2, Yi-1.5, Gemma, MiniCPM, Baichuan2, và nhiều mô hình khác.
✨ Điểm nổi bật
- Hỗ trợ đa dạng kỹ thuật huấn luyện: Toàn bộ tham số, LoRA, QLoRA.
- Ba giai đoạn huấn luyện: Tiền huấn luyện, tinh chỉnh theo hướng dẫn, tối ưu DPO.
- Tích hợp Unsloth: Tăng tốc huấn luyện và giảm tiêu thụ VRAM.
- Hỗ trợ hơn 30 mô hình: Bao gồm Llama3, Qwen2, Yi-1.5, Gemma, MiniCPM, Baichuan2, và nhiều mô hình khác.
- Cấu hình dựa trên file: Dễ dàng chuyển đổi giữa các mô hình khác nhau.
- Kết quả trên Open LLM Leaderboard: firefly-mixtral-8x7b đạt 70.34 điểm, vượt trội hơn nhiều mô hình lớn khác.
- Dữ liệu huấn luyện mở: Bao gồm firefly-train-1.1M, moss-003-sft-data, ultrachat, WizardLM_evol_instruct_V2_143k.
- Mã nguồn mở trọng lượng: Các bản weights được công bố trên Hugging Face.
💡 Vì sao đáng chú ý
Firefly khác biệt nhờ khả năng hỗ trợ đồng thời nhiều kỹ thuật huấn luyện và nhiều kiến trúc mô hình khác nhau, khiến nó trở thành lựa chọn lý tưởng cho cả nghiên cứu và ứng dụng thực tế. Đặc biệt, sự tích hợp Unsloth giúp giảm đáng kể VRAM cần thiết, ví dụ như chỉ cần 7.75GB để huấn luyện Llama3-8B. Điều này mở ra khả năng huấn luyện mô hình lớn ngay cả trên phần cứng hạn chế.
#LLM #MachineLearning #OpenSource #LoRA #QLoRA #Unsloth #TiniX
Similar Projects
Discover other similar projects and AI models.
A high-throughput and memory-efficient inference and serving engine for LLMs
中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs)
Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Openai style api for open large language models, using LLMs just as chatgpt! Support for LLaMA, LLaMA-2, BLOOM, Falcon, Baichuan, Qwen, Xverse, SqlCoder, CodeLLaMA, ChatGLM, ChatGLM2, ChatGLM3 etc. 开源大模型的统一后端接口
a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat — a social platform for AI prompts. 📢 Notice This Hugging Face dataset is a mirror. For the latest prompts, features, and community contributions, please visit: 🌐 Website: prompts.chat 📦 GitHub: github.com/f/awesome-chatgpt-prompts About prompts.chat is an open-source platform where users can share, discover, and collect AI prompts from the community. The project can… See the full description on the dataset page: https://huggingface.co/datasets/fka/prompts.chat.
A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.