LMFlow
giskard
LMFlow | giskard | |
---|---|---|
10 | 7 | |
8,042 | 3,164 | |
3.5% | 12.9% | |
9.6 | 10.0 | |
4 days ago | 8 days ago | |
Python | Python | |
Apache License 2.0 | 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.
LMFlow
- Your weekly machine learning digest
-
Any guide/intro to fine-tuning anywhere?
You might want to have a look at LMFlow.
- Robin V2 Launches: Achieves Unparalleled Performance on OpenLLM!
-
[D] Have you tried fine-tuning an open source LLM?
I'd like to recommend LMFlow (https://github.com/OptimalScale/LMFlow), a fast and extensible toolkit for finetuning and inference of large foundation models.
-
[R] DetGPT: Detect What You Need via Reasoning
The "reasoning-based object detection" is a challenging problem because the detector needs to understand and reason about the user's coarse-grained/abstract instructions and analyze the current visual information to locate the target object accurately. In this direction, researchers from the Hong Kong University of Science and Technology and the University of Hong Kong have conducted some preliminary explorations. Specifically, they use a pre-trained visual encoder (BLIP-2) to extract visual features from images and align the visual features to the text space using an alignment function. They use a large-scale language model (Robin/Vicuna) to understand the user's question, combined with the visual information they see, to reason about the objects that users are truly interested in. Then, they provide the object names to the pre-trained detector (Grounding-DINO) for specific location prediction. In this way, the model can analyze the image based on any user instructions and accurately predict the location of the object of interest to the user. It is worth noting that the difficulty here mainly lies in the fact that the model needs to achieve task-specific output formats for different specific tasks as much as possible without damaging the model's original abilities. To guide the language model to follow specific patterns and generate outputs that conform to the object detection format, the research team used ChatGPT to generate cross-modal instruction data to fine-tune the model. Specifically, based on 5000 coco images, they used ChatGPT to create a 30,000 cross-modal image-text fine-tuning dataset. To improve the efficiency of training, they fixed other model parameters and only learned cross-modal linear mapping. Experimental results show that even if only the linear layer is fine-tuned, the language model can understand fine-grained image features and follow specific patterns to perform inference-based image detection tasks, showing excellent performance. This research topic has great potential. Based on this technology, the field of home robots will further shine: people in homes can use abstract or coarse-grained voice instructions to make robots understand, recognize, and locate the objects they need, and provide relevant services. In the field of industrial robots, this technology will bring endless vitality: industrial robots can cooperate more naturally with human workers, accurately understand their instructions and needs, and achieve intelligent decision-making and operations. On the production line, human workers can use coarse-grained voice instructions or text input to allow robots to automatically understand, recognize, and locate the items that need to be processed, thereby improving production efficiency and quality. With object detection models that come with reasoning capabilities, we can develop more intelligent, natural, and efficient robots to provide more convenient, efficient, and humane services to humans. This is a field with broad prospects and deserves more attention and further exploration by more researchers. DetGPT supports multiple language models and has been validated based on two language models, Robin-13B and Vicuna-13B. The Robin series language model is a dialogue model trained by the LMFlow team ( https://github.com/OptimalScale/LMFlow) at the Hong Kong University of Science and Technology, achieving results competitive to Vicuna on multiple language ability evaluation benchmarks (model download: https://github.com/OptimalScale/LMFlow#model-zoo). Previously, the LMFlow team trained a vertical GPT model using a consumer-grade 3090 graphics card in just 5 hours. Today, this team, in collaboration with the NLP Group at the University of Hong Kong, has brought us a multimodal surprise. Welcome to try our demo and open-source code! Online demo: https://detgpt.github.io/ Open-source code: https://github.com/OptimalScale/DetGPT
-
Leaderboard for LLMs? [D]
Hi LMFlow Benchmark (https://github.com/OptimalScale/LMFlow) evaluates 31 open-source LLMs with an automatic metric: negative log likelihood.
-
[R] LMFlow Benchmark: An Automatic Evaluation Framework for Open-Source LLMs
LMFlow: https://github.com/OptimalScale/LMFlow
-
[R] Foundation Model Alignment with RAFT🛶 in LMFlow
Its implementation is available from https://github.com/OptimalScale/LMFlow.
- LMFlow – Toolkit for Finetuning and Inference of Large Foundation Models
giskard
- Show HN: Evaluate LLM-based RAG Applications with automated test set generation
-
Why is it so important to evaluate Large Language Models (LLMs)? 🤯🔥
Unchecked biases in LLMs can inadvertently perpetuate harmful stereotypes or produce misleading information, which in turn can produce severe consequences. In this article, we'll demonstrate how to evaluate your LLMs using an open source model testing framework, Giskard. 🤓
- The testing framework dedicated to ML models, from tabular to LLMs
-
Show HN: Python library to scan ML models for vulnerabilities
Hi! I’ve been working on this automatic scanner for ML models to detect issues like underperforming data slices, overconfidence in predictions, robustness problems, and others. It supports all main Python ML frameworks (sklearn, torch, xgboost, …) and integrates with the quality assurance solution we are building at Giskard AI (https://giskard.ai) to systematically test models before putting them in production.
It is still a beta and I would love to hear your feedback if you have the time to try it out.
We have quite a few tutorials in the docs with ready-made colab notebooks to make it easy to get started.
If you are interested in the code:
https://github.com/Giskard-AI/giskard/tree/main/python-clien...
-
[P] Open-source solution to scan AI models for vulnerabilities
Sure! Benjamini-Hochberg is a very good recommendation, much simpler than the alpha investing procedures I mentioned which makes it easily to implement in our case. I will give it a try, if there’s an easy way to set this up it could be included in some of the next releases. I’ll let you know. FYI, I added this to our issue tracker.
-
[R] LMFlow Benchmark: An Automatic Evaluation Framework for Open-Source LLMs
This is super interesting! Thanks for sharing. We're also working on this research field from an open-source angle (https://github.com/Giskard-AI/giskard)
-
How are you testing your ML Systems?
Code repository: https://github.com/Giskard-AI/giskard
What are some alternatives?
axolotl - Go ahead and axolotl questions
deepchecks - Deepchecks: Tests for Continuous Validation of ML Models & Data. Deepchecks is a holistic open-source solution for all of your AI & ML validation needs, enabling to thoroughly test your data and models from research to production.
CogVLM - a state-of-the-art-level open visual language model | 多模态预训练模型
metaflow - :rocket: Build and manage real-life ML, AI, and data science projects with ease!
chatgpt_macro_for_texstudio - The ChatGPT Macro for TeXstudio is a user-friendly integration that connects TeXstudio with OpenAI's API.
PyBeam-QA - An simple GUI program for performing radiotherapy QA
llm-foundry - LLM training code for Databricks foundation models
awesome-ai-safety - 📚 A curated list of papers & technical articles on AI Quality & Safety
const_layout - Official implementation of the MM'21 paper "Constrained Graphic Layout Generation via Latent Optimization" (LayoutGAN++, CLG-LO, and Layout evaluation)
MindsDB - The platform for customizing AI from enterprise data
qlora - QLoRA: Efficient Finetuning of Quantized LLMs
lm-evaluation-harness - A framework for few-shot evaluation of language models.