7 LLM Tasks to Increase Your Machine Studying Portfolio


7 LLM Projects to Boost Your Machine Learning Portfolio

7 LLM Tasks to Increase Your Machine Studying Portfolio
Picture by Writer | Created on Canva

Giant language fashions (LLMs) are tremendous useful in a wide range of duties. Constructing LLM-powered purposes can appear fairly daunting at first. However all you want are:

  • the flexibility to code, ideally in Python or TypeScript and
  • just a few not-so-fun duties or issues that you simply’d prefer to make less complicated (I’m positive you’ve many!).

To construct LLM purposes, it is best to be capable to run and work together with LLMs, join to numerous information sources—information in your native machine, APIs , databases, and extra. The next just isn’t an exhaustive listing, however listed here are some instruments and frameworks you should utilize to construct out purposes with LLMs:

  • Programming languages: Python, TypeScript
  • Frameworks: LangChain, LlamaIndex
  • APIs: OpenAI API, Cohere API
  • Working LLMs: Ollama, Llamafile
  • Vector databases: ChromaDB, Weaviate, Pinecone, and extra

This information goes over seven attention-grabbing tasks you may construct with LLMs. Alongside the best way, you’ll be taught to work with vector databases, frameworks, and helpful APIs. We additionally share studying sources and instance tasks that can assist you hit the bottom operating. Let’s get began.

1. Retrieval-Primarily based Q&A App for Technical Documentation

Construct a Q&A system for builders that makes use of RAG to tug from numerous technical paperwork, Stack Overflow solutions, or inner docs and information bases as wanted. Such an app can summarize and make clear complicated ideas or reply particular technical questions.

Key elements within the mission embrace:

  • RAG framework that retrieves related paperwork and snippets
  • Open-source LLMs for decoding questions and producing solutions
  • Integration with APIs for exterior sources equivalent to Stack Overflow, Confluence

Helping builders with instantaneous, dependable solutions to technical questions with out manually looking by way of giant docs. This may be particularly useful for frameworks like Django the place the docs are in depth.

To be taught all about RAG, try  LangChain: Chat with Your Data from DeepLearning.AI and Learn RAG From Scratch.

2. LLM-Powered Workflow Automation Agent

Create an agent that may simplify repetitive workflows and boring duties primarily based on pure language directions. The agent ought to be capable to work by way of a sequence of steps both predefined upfront or autonomously given the top objective.

Such an agent ought to be capable to deal with duties like creating new mission folders, organising Git repositories, creating the mission’s dependency information, and extra.

Key elements, in addition to the LLM, are:

  • API integrations for numerous instruments equivalent to Docker, Git, and AWS
  • Engine to execute the LLM-generated scripts

You’ll be able to enhance the primary model you construct to get a extra useful app that reduces guide setup and admin duties for builders or groups, permitting them to concentrate on higher-value work.

3. Textual content-to-SQL Question Generator

It’s all the time intuitive and less complicated to consider enterprise questions in plain English. Nonetheless, a simple query like “What’s the quarterly gross sales of a particular product throughout numerous buyer segments?” could translate to a reasonably complicated SQL question with joins and a number of subqueries. Which is why constructing a text-to-SQL generator may help.

You’ll be able to construct an app that interprets pure language queries into SQL utilizing LLMs. The app ought to:

  • Convert person enter into SQL queries primarily based on a predefined database schema
  • Executes them in opposition to a related database to return related information

Right here’s a pattern mission walkthrough: End-To-End Text-To-SQL LLM App by Krish Naik.

4. AI-Powered Documentation Generator for Codebases

Construct a instrument that makes use of an LLM to scan code repositories and robotically generate complete documentation. together with operate summaries, module descriptions, and structure overviews. You’ll be able to construct it out as a CLI instrument or a GitHub Motion.

You’ll want:

  • Integration with repository providers to scan codebase information
  • Choices to evaluate and add suggestions to refine or edit generated docs

A extra superior model of such a generator can truly be used to auto-generate technical documentation for growth groups. Although getting excellent docs generally is a problem, such a instrument will certainly save hours of labor!

5. AI Coding Assistant

Construct an LLM-powered coding assistant that may act as a real-time pair programmer. This instrument ought to present ideas, write code snippets, debug current code, and even provide real-time explanations on complicated logic throughout a dwell coding session.

When constructing such an app, guarantee:

  • Sensible choice of LLMs which can be good at code technology
  • IDE integration, equivalent to VS Code extension, for in-editor performance.
  • Contextual consciousness from the present coding surroundings—libraries used, information open, and the like

Take a look at ADVANCED Python AI Agent Tutorial – Using RAG for a whole walkthrough of constructing a coding assistant.

6. Textual content-Primarily based Knowledge Pipeline Builder

Develop an LLM app that enables customers to explain information pipelines in pure language. Say: “Write an ETL script to ingest a CSV file from S3, clear the info, and cargo it right into a PostgreSQL database”. The app ought to then generate the code for a whole ETL pipeline—utilizing instruments like Apache Airflow or Prefect.

So that you’ll should concentrate on:

  • Help for numerous information sources (S3, databases) and locations.
  • Automation of pipeline creation and scheduling with instruments like Airflow.

This could enable you construct and schedule complicated information pipelines with minimal coding. Even when the code just isn’t fully correct, it ought to enable you begin many steps forward when in comparison with writing the pipeline from scratch.

7. LLM-Powered Code Migration Device

There are off-the-shelf options, however you can too attempt constructing code migration instruments from scratch. Construct a instrument that may analyze code written in a single programming language and convert it into one other language, utilizing LLMs to know the unique logic and reimplement it within the goal language. For instance, it’s possible you’ll wish to migrate Python code to Go or Rust.

You need to experiment with the next:

  • Selection of LLMs for code translation between languages
  • Static evaluation instruments to make sure logical correctness after translation
  • Help for various paradigms and language-specific constructs

Such an app may help migrate legacy codebases to newer, extra performant languages with minimal guide rewriting.

Wrapping Up

That’s a wrap! I hope you discovered these mission concepts attention-grabbing.

These must be an excellent start line for extra attention-grabbing and useful concepts you might have. When you’ve constructed a working app, you may discover different instructions. For instance, it’s possible you’ll wish to construct out a monetary assertion analyzer or your personalised analysis assistant utilizing RAG.

As talked about, you solely want an issue to resolve, an curiosity to construct issues, and low?

Glad coding!

Bala Priya C

About Bala Priya C

Bala Priya C is a developer and technical author from India. She likes working on the intersection of math, programming, information science, and content material creation. Her areas of curiosity and experience embrace DevOps, information science, and pure language processing. She enjoys studying, writing, coding, and low! At present, she’s engaged on studying and sharing her information with the developer neighborhood by authoring tutorials, how-to guides, opinion items, and extra. Bala additionally creates partaking useful resource overviews and coding tutorials.

Leave a Reply

Your email address will not be published. Required fields are marked *