Overview of FedNLP datasets and tasks
masterFedNLP contains 12 datasets designed for training models on four primary NLP tasks:
- text classification
- span extraction
- sequence tagging
- sequence-to-sequence
repository·master·Indexed 26 days ago
https://github.com/fedml-ai/fedmlA unified and scalable machine learning library for training and deployment jobs at any scale, with specialized support for federated learning. The ecosystem includes a Python library for distributed training and serving (FEDML®Launch, FEDML®Deploy, FEDML®Train), a dedicated Android SDK for edge devices, IoT implementations, and DevOps tooling for Kubernetes and Docker deployment.
FedNLP contains 12 datasets designed for training models on four primary NLP tasks:
FedLLM is an MLOps-supported training pipeline designed to help users build Large Language Models (LLMs) on proprietary or private data. It provides minimalist examples for efficient LLM training, fine-tuning, and evaluation using both conventional (centralized) and federated learning approaches.
Key features include:
transformers.Trainer logic, integrates with peft for LoRA, supports DeepSpeed, and uses HuggingFace datasets.FedML provides examples for various Federated Learning (FL) scenarios and machine learning frameworks.
light_sec_agg_example.FedML DevOps utilizes Jenkins for pipeline automation. The infrastructure is organized into three primary components:
Dockerfile definitions required to build the FedML training client, server, and model serving components.This guide demonstrates how to build and run LLaMA models using TensorRT-LLM across various configurations, including single GPU, single node multi-GPU, and multi-node multi-GPU setups.
The implementation relies on three primary scripts located in the examples/llama directory:
build.py: Used to build the TensorRT engines required to run the LLaMA model.run.py: Used to perform inference on input text.summarize.py: Used to summarize articles from the cnn_dailymail dataset using the model.The TensorRT-LLM LLaMA implementation supports single GPU, single node multi-GPU, and multi-node multi-GPU configurations. It supports various data types and optimizations including FP16, FP8, INT8 & INT4 Weight-Only quantization, FP8 KV CACHE, Tensor Parallelism, and STRONGLY TYPED modes.
The implementation consists of three primary components:
build.py: Used to build the TensorRT engine(s) required for the LLaMA model.run.py: Used to execute inference on input text.summarize.py: Used to perform summarization tasks on the cnn_dailymail dataset.FedML provides an AllReduce-based Federated Learning simulation framework that supports Multi-Process simulation. This mode allows users to maximize GPU utilization by assigning multiple clients to different GPUs.
The framework consists of three primary roles:
LocalAggregator instances and broadcasting the global model. It uses NCCL acceleration for communication and schedules/assigns specific clients to different LocalAggregator instances (GPUs) in each round.FedML is a unified machine learning library designed for running training and deployment at any scale. It provides APIs for several key machine learning paradigms:
The FedML framework provides built-in APIs and references for a wide variety of datasets across different domains to facilitate experimentation. Supported domains include:
edge_case_examples (specifically tailored for the paper "Attack of the Tails: Yes, You Really Can Backdoor Federated Learning").FEDML supports various autonomous driving datasets for tasks such as object detection, tracking, segmentation, and motion forecasting. The following datasets are documented within the fedml.data.AutonomousDriving module: