Skip to content

cryp71c/rbac_llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role-Based Access Control (RBAC) in Large Language Models (LLMs)

Overview

This project explores the implementation of Role-Based Access Control (RBAC) in Large Language Models (LLMs). The objective is to train an LLM on an organization's data while ensuring that users only access information they are permitted to see. By using an "Impersonation" token, the LLM can summarize data according to the user's permissions, guaranteeing data confidentiality and integrity.

Learning Gameplan

1. Understand Role-Based Access Control (RBAC)

  • Objective: Gain a foundational understanding of RBAC principles.
  • Key Topics:
    • Basic concepts of RBAC (Roles, Permissions, Users, and Role Assignments) for Windows and *NIX devices.
    • How RBAC is implemented in software systems.
  • Resources:

2. Learn About Large Language Models (LLMs)

  • Objective: Familiarize yourself with LLMs, their architecture, and training processes.
  • Key Topics:
    • Overview of GPT-2 and other transformer-based models.
    • How LLMs are trained and fine-tuned.
  • Resources:

3. Implementing RBAC in LLMs

4. Experiment and Validate

Project Structure

  • data/: Contains the dataset used for training and evaluation.
  • results/: Contains trained models and evaluation metrics.
  • / : Contains primary ipynotebook

Contributing

Contributions are welcome! Please follow the standard GitHub workflow for contributions: fork the repository, make your changes, and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published