GithubHelp home page GithubHelp logo

llm-for-logging-'s Introduction

LLM for Logging ๐Ÿš€

Python MIT License Contributions Welcome

Overview ๐Ÿ“š

This repository showcases the use of Language Models for log data processing, categorization, and analysis. By leveraging BERT, the project aims to enhance log data handling, making it efficient and insightful.

Features โœจ

  • Data Preprocessing: Extract relevant information from raw log files.
  • Log Parsing & Labeling: Identify and label error messages.
  • Model Training: Train BERT for sequence classification.
  • Evaluation: Compute metrics like accuracy, precision, recall, and F1-score.

Results ๐Ÿ“Š

  • Accuracy: 63.97%
  • Precision: 63.01%
  • Recall: 67.65%
  • F1 Score: 65.25%

Getting Started ๐Ÿ› ๏ธ

Clone the Repository

git clone https://github.com/Nani1-glitch/LLM-for-Logging-.git cd LLM-for-Logging

๐Ÿš€ Run the Notebooks

  • ๐Ÿ“˜ Final Implementation: Final.ipynb
  • ๐Ÿ““ Manual Log Categorization Examples: Manual Approach(EX).ipynb
  • ๐Ÿ“™ Training BERT from Scratch: Trained Bert Model from scratch.ipynb

๐Ÿ”‘ Key Components ๐Ÿ”

๐Ÿ“‚ Data Files:

  • ๐Ÿ—‚๏ธ cisco_log.txt
  • ๐Ÿ—ƒ๏ธ sample_logs.txt
  • ๐Ÿ“‘ enhanced_cisco_logs.csv
  • ๐Ÿ“„ structured_logs.csv
  • ๐Ÿ“ structured_output.csv

๐Ÿ› ๏ธ Libraries:

  • ๐Ÿผ Pandas
  • ๐Ÿ PyTorch
  • ๐Ÿค— Transformers
  • ๐Ÿ“Š Scikit-Learn

๐Ÿ“œ License ๐Ÿ“„

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

๐Ÿค Contributing ๐Ÿค

Contributions are welcome! Feel free to open an issue or submit a pull request.

๐Ÿ“ฌ Contact ๐Ÿ“ฌ

For any questions or feedback, please contact Nani1-glitch.

llm-for-logging-'s People

Contributors

nani1-glitch avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.