Skip to content
View awinml's full-sized avatar

Organizations

@avnlp
Block or Report

Block or report awinml

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
awinml/README.md

Hi there, I'm Ashwin Mathur!

NLP Developer with expertise in the development of applications using Large Language Models (LLMs). Active contributor to open-source projects.

Some interesting projects I have worked on:

Open-Ended Question-Answering Pipeline on Earnings Call Transcripts using Generative LLMs:

  • Built a Retrieval Augmented Generation (RAG) pipeline that reduced time for investors and analysts to extract actionable insights from earnings calls, enabling better investment decisions through easy information attribution and minimal hallucination. Key components include Embedding Model, Context Retriever, Prompt Generator, and Generative LLM.
  • Extracted text snippets from each section of the earnings call, chunked them dynamically based on similarity, and created embeddings which were stored in a Pinecone vector database.
  • Experimented with and selected the best SOTA embedding models (SBERT, MPNET, SGPT and INSTRUCTOR) and context retrieval strategies for the pipeline, resulting in significant improvements in accuracy and performance. The INSTRUCTOR Embedding model gave the best context retrieval. A combination of dense and hybrid retrieval strategies gave the best results.
  • Leveraged weak supervision techniques to dynamically generate few-shot examples for prompts for entity extraction and question-answering. Carried out extensive prompt tuning by iteratively refining prompt formatting, instructions and incorporating few-shot examples.
  • Experimented with the SOTA instruction-tuned LLMs for generating answers: Llama-2, Vicuna, Alpaca, Dolly, FLAN-T5 and GPT-3. The Llama-2 and GPT-3 LLMs generated the most accurate and concise answers.
  • Evaluated the generated answers on Coverage, Redundancy, and Hallucination, quantitatively comparing text generation performance while ensuring accuracy.

Effect of Few-Shot Prompting on LLM Performance and Evaluation using the EleutherAI LLM Harness:

  • Evaluated the generative performance of three language models - OPT, GPTNeo, and Dolly - across benchmark datasets (AI2’s Reasoning Challenge, Adversarial Natural Language Inference, and Winograd Schema Challenge) using various prompt settings: Zero-Shot, One-Shot, Three-Shot, and Five-Shot prompts.
  • Observed that model performance on all the benchmarks linearly scales with an increase in model size and there is a significant increase in performance as the number of few-shot (in-context) examples increases in the prompt.

Effect of Optimizer Selection and Hyperparameter Tuning on Training Efficiency and LLM Performance:

  • Investigated the impact of optimizer selection and associated hyperparameters on model performance during training across diverse tasks.
  • Evaluated the performance of five different optimizers (AdamW, RMSProp, NAG, SGD with Momentum, and SGD) on various natural language processing tasks such as Sentiment Analysis, Question Answering, and Text Summarization. Analyzed the convergence of the best-performing models on each dataset.
  • Fine-tuned DistilBERT, BERT, and FinBERT models for Sentiment Analysis on the StockTwits dataset, while DistilBERT, BERT, RoBERTa were fine-tuned for Question Answering on the CoQA dataset. For Text Summarization, BART, DistillBART, and T5 models were fine-tuned on the BillSum dataset.
  • Empirical observations highlighted that more general optimizers like RMSProp and AdamW consistently performed as well as, if not better than, specialized optimizers like SGD, Nesterov, or Momentum, given appropriately selected hyperparameters.

Open Source Contributions:

I'm best reached via Email or LinkedIn. Open to interesting conversations and collaboration.

Feel free to reach out to me:  

Email LinkedIn

Pinned

  1. avnlp/rag-pipelines avnlp/rag-pipelines Public

    Advanced RAG Pipelines

    Python 4 1

  2. voyage-embedders-haystack voyage-embedders-haystack Public

    Custom component for Haystack (2.x) for creating embeddings using the VoyageAI Embedding Models

    Python 4

  3. llama-cpp-haystack llama-cpp-haystack Public

    Custom component for Haystack (2.x) for running LLMs using the Llama.cpp LLM framework.

    Python 4

  4. llama-cpp-python-bindings llama-cpp-python-bindings Public

    Run fast LLM Inference using Llama.cpp in Python

    Jupyter Notebook 12 2

  5. financial-market-intelligence financial-market-intelligence Public

    End-to-end financial dashboard that collects and consolidates all of a business's critical observations in one place using the information obtained from the annual 10-K SEC Filings.

    Python 4 5

  6. jigsaw-toxic-comment-clf jigsaw-toxic-comment-clf Public

    Built a multilingual text classification model to predict the probability that a comment is toxic using the data provided by Google Jigsaw.

    Python 3