Skip to content

About

πŸ”₯ for Neovim

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

79 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Qompass AI blaze.nvim

A blazingly fast mojo.vim fork

**

Under Active development expect breaking changes until stable release Repository Views GitHub all releases

LuaRocks Downloads

Lua

Lua Documentation

[![LuaRocks Downloads](https://img.shields.io/luarocks/dt/phaedrusflow/blaze.nvim?color=blue&label=LuaRocks%20downloads)](https://luarocks.org/modules/phaedrusflow/blaze.nvim)

Lua
Lua Documentation Lua Tutorials
Mojo
Mojo Documentation

License: Apache 2.0

Lua Tutorials

πŸ”₯ How to Light Up Blaze.nvim

πŸ“¦ Features

  • ❀️‍πŸ”₯ Full integration with Modular's Magic-CLI & Pixi
  • πŸ”₯ Tree-sitter support via blaze-ts.nvim
  • πŸ’‘ Autoformatting with πŸ”₯-fmt
  • πŸ§ͺ Diagnostics with null-ls
  • 🐞 Debugging via DAP
  • 🌲 Query files: highlights.scm, indents.scm, etc.
  • πŸ’‰ LSP integration
  • βœ… Healthcheck via :Fever

βš™οΈ How to setup πŸ”₯ syntax highlighting

  1. Add Mojo config files to your Neovim config:

    for FOLDER in autoload ftdetect ftplugin indent syntax; do
    mkdir -p ~/.config/nvim/$FOLDER && ln -s $FOLDER/blaze.nvim ~/.config/nvim/$FOLDER/blaze.nvim
    done
  2. Add to your init.lua or plugin loader:

-- πŸ“ ~/.config/nvim/lua/plugins/init.lua
-- If you're using lazy.nvim or packer.nvim, this goes in your plugin spec list:
-- πŸ‘‰ For lazy.nvim
{ "qompassai/blaze.nvim" }
-- πŸ‘‰ For packer.nvim
use {
  "qompassai/blaze.nvim",
  requires = {
    "qompassai/blaze-ts.nvim",
    "neovim/nvim-lspconfig",
    "mfussenegger/nvim-dap",
    "rcarriga/nvim-dap-ui",
    "mfussenegger/nvim-dap-python",
  },
  config = function()
    require("blaze").setup()
  end,
  ft = { "mojo", "πŸ”₯" }
}
-- πŸ‘‰ Manual Lua setup in your config (e.g., ~/.config/nvim/init.lua or after plugin loads)
require("blaze.config").setup({
  format_on_save = true,
  enable_linting = true,
  keymaps = true, -- Optional which-key mappings
})

πŸ“Š Lualine Integration (Still in development)

require("lualine").setup({
  sections = {
    lualine_c = {
      "filename",
      require("blaze.lualine").blaze_status,
    },
  },
})

Health Check

## 🌑️ Healthcheck

Run the following to validate setup:

```lua
:Fever

You’ll see:

🌲 Tree-sitter parser availability

πŸ”₯ Mojo file

πŸ”₯-ls LSP active

πŸ”₯-fmt Formatter available

πŸ”₯-lint Linter available

πŸ”₯-dap Debugger attached

🧠 Which-Key Mappings

If keymaps = true, the following mappings are automatically registered:

Mapping Description
<leader>fm Format Mojo file
<leader>fh Run healthcheck via :Fever

πŸ” Plugin Structure

Path Purpose
lua/blaze/autocmds/ Paired commands
lua/blaze/container.lua Rootless Containers for Magic-Docker
lua/blaze/dap.lua Debug adapter setup via nvim-dap
lua/blaze/formatting.lua Handles formatting with mojo format
lua/blaze/health.lua πŸ”₯ Which-Key Bindings
lua/blaze/keymaps.lua Which-Key bindings
lua/blaze/linting.lua Integrates with nvim-lint
lua/blaze/magic.lua Magic integration
lua/blaze/pixi.lua Pixi integration

🧰 Dependencies

πŸ“„ License

This project is licensed under the Apache License, Version 2.0.

🧭 Attribution


🧭 About Qompass AI

Matthew A. Porter
Former Intelligence Officer
Educator & Learner
DeepTech Founder & CEO

Publications

ORCID ResearchGate Zenodo

Developer Programs

NVIDIA Developer Meta Developer HackerOne HuggingFace Epic Games Developer

Professional Profiles

Personal LinkedIn Startup LinkedIn

Social Media

X/Twitter Instagram Qompass AI YouTube

πŸ”₯ How Do I Support
πŸ›οΈ Qompass AI Pre-Seed Funding 2023-2025 πŸ† Amount πŸ“… Date
RJOS/Zimmer Biomet Research Grant $30,000 March 2024
Pathfinders Intern Program
View on LinkedIn
$2,000 October 2024

🀝 How To Support Our Mission

GitHub Sponsors Patreon Liberapay Open Collective Buy Me A Coffee

πŸ” Cryptocurrency Donations

Monero (XMR):

Monero QR Code
42HGspSFJQ4MjM5ZusAiKZj9JZWhfNgVraKb1eGCsHoC6QJqpo2ERCBZDhhKfByVjECernQ6KeZwFcnq8hVwTTnD8v4PzyH
πŸ“‹ Copy Address

Funding helps us continue our research at the intersection of AI, healthcare, and education

Frequently Asked Questions

Q: How do you mitigate against bias?

TLDR - we do math to make AI ethically useful

A: We delineate between mathematical bias (MB) - a fundamental parameter in neural network equations - and algorithmic/social bias (ASB). While MB is optimized during model training through backpropagation, ASB requires careful consideration of data sources, model architecture, and deployment strategies. We implement attention mechanisms for improved input processing and use legal open-source data and secure web-search APIs to help mitigate ASB.

AAMC AI Guidelines | One way to align AI against ASB

AI Math at a glance

Forward Propagation Algorithm

$$ y = w_1x_1 + w_2x_2 + ... + w_nx_n + b $$

Where:

  • $y$ represents the model output
  • $(x_1, x_2, ..., x_n)$ are input features
  • $(w_1, w_2, ..., w_n)$ are feature weights
  • $b$ is the bias term

Neural Network Activation

For neural networks, the bias term is incorporated before activation:

$$ z = \sum_{i=1}^{n} w_ix_i + b $$ $$ a = \sigma(z) $$

Where:

  • $z$ is the weighted sum plus bias
  • $a$ is the activation output
  • $\sigma$ is the activation function

Attention Mechanism- aka what makes the Transformer (The "T" in ChatGPT) powerful

The Attention mechanism equation is:

$$ \text{Attention}(Q, K, V) = \text{softmax}\left( \frac{QK^T}{\sqrt{d_k}} \right) V $$

Where:

  • $Q$ represents the Query matrix
  • $K$ represents the Key matrix
  • $V$ represents the Value matrix
  • $d_k$ is the dimension of the key vectors
  • $\text{softmax}(\cdot)$ normalizes scores to sum to 1

Q: Do I have to buy a Linux computer to use this? I don't have time for that!

A: No. You can run Linux and/or the tools we share alongside your existing operating system:

  • Windows users can use Windows Subsystem for Linux WSL
  • Mac users can use Homebrew
  • The code-base instructions were developed with both beginners and advanced users in mind.

Q: Do you have to get a masters in AI?

A: Not if you don't want to. To get competent enough to get past ChatGPT dependence at least, you just need a computer and a beginning's mindset. Huggingface is a good place to start.

Q: What makes a "small" AI model?

A: AI models ~=10 billion(10B) parameters and below. For comparison, OpenAI's GPT4o contains approximately 200B parameters.

About

πŸ”₯ for Neovim

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages