Giter VIP home page Giter VIP logo

henokd11 / largelanguagemodels-llm- Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 496 KB

Large Language Models coupled with multiple AI capabilities are able to generate images and text, and also approach/achieve human level performance on a number of tasks. The world is going through a revolution in art (DALL-E, MidJourney, Imagine, etc.), science (AlphaFold), medicine, and other key areas, and this approach is playing a role in this revolution.

License: MIT License

Jupyter Notebook 65.73% Python 34.27%
gpt-3 langauagemodeling

largelanguagemodels-llm-'s Introduction

Large Language Models - LLM

About

A client has a system that collects news artifacts from web pages, tweets, facebook posts, etc. The client is interested in scoring a given new artifact against a topic.

The client needs the news items to get scored in the range from 0 to 10; a score of 0 means the news item is totally NOT relevant while a score of 10 means the news item is very relevant.

The range of results between 0 and 10 signifies the degree of relevance of the news item to the topic.

The task is to prompt engineer GPT3-like LLMs for downstream task like news scoring and named entity extraction.

Objective

Prompt engineer Large Language Models for news scoring and Named Entity Extraction

Data

The data used for this project can be found News scoring and named_entity

Repository overview

Structure of the repository -

├── models  (contains trained model)
├── .github  (github workflows for CI/CD, CML)
├── screenshots  (Important screenshots)
├── mlruns  (contains MLflow runs)
├── train (contains training scripts) 
├── assets  (contains assets)
├── data    (contains data of train, store, and test)
├── scripts (contains the main script)	
│   ├── logger.py (logger for the project)
overview)
│   ├── plot.py (handles plots)
│   ├── preprocess.py (Data preprocessing)
├── notebooks	
|   ├── api_connection.ipynb(setting up api connection with CO:here)
│   ├── eda.ipynb (overview of the Data)
│   ├── preprocess.ipynb (Preparing the data)
│   ├── model.ipynb (LLM model)
├── tests 
│   ├── test_preprocess.py (test for the the preprocess testing script)
├── README.md (contains the project description)
├── requirements.txt (contains the required packages)
|── LICENSE (license of the project)
├── setup.py (contains the setup of the project)
└── .dvc (contains the dvc configuration)

Requirements

The project requires the following: python3 Pip3

Usage

Local Development

  1. Activate environement or create one:

conda create -n <env-name> && conda activate <env-name>

  1. Install required packages

pip install -r requirements.txt

  1. Run the app

python3 wsgi.py

Contributers

Henok Desalegn

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

largelanguagemodels-llm-'s People

Contributors

henokd11 avatar

Stargazers

Danny avatar  avatar

Watchers

Kostas Georgiou avatar  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.