Git Product home page Git Product logo

nomonotes's Introduction

NomoNotes

NomoNotes is a tool designed to streamline your note-taking process during meetings, lectures, podcasts etc. It transcribes audio in real-time, summarizes the transcript using a language model, and saves the summary directly into Apple Notes.

Features

  • Real-time Audio Transcription: Utilizes Whisper for accurate and efficient transcription (code from https://github.com/davabase/whisper_real_time)
  • Summarization: Summarizes the transcript using an LLM.
  • Apple Notes Integration: Saves the summary into Apple Notes.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/nomonotes.git
    cd nomonotes
    
  2. Install the required dependencies: pip install -r requirements.txt

Usage

Run the script with the following command: python transcribe.py --model medium --llm_model gpt-4o --summary_prompt meeting_prompt --notes_folder_name "NOMO Notes" To end the transcription, just keyboard interrupt the process. The script will then start generating your summary and save it to Apple Notes.

Command Line Arguments

  • --model: Model to use for transcription (choices: tiny, base, small, medium, large).
  • --non_english: Use non-English model.
  • --energy_threshold: Energy level for mic to detect.
  • --llm_model: LLM model to use for summarization (this should either be an OAI model or a .gguf model you've downloaded to models/)
  • --summary_prompt: Path to the summary prompt (this is the name of the file with the prompt in the prompts/ folder)
  • --notes_folder_name: Name of the folder where the note will be created.

Example

`python transcribe.py --model medium --llm_model gpt-4o --summary_prompt meeting_prompt --notes_folder_name "NOMO Notes"`

Streamlit

If you prefer a UI, use streamlit:

python -m streamlit run ui.py

Use your own models

You can use your own local models for summarization. For example, if you have a fine-tuned model that summarizes meetings and podcasts in a specific format, you can specify it using the --llm_model argument.

To use an off-the-shelf llama, you can run run_llama.sh which downloads and runs the script with an 8b llama model.

nomonotes's People

Contributors

anmol6 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.