bakllava-7b

PyTorch

1 versions

BakLLaVA is a multimodal model consisting of the Mistral 7B base model augmented with the LLaVA architecture.

Run this model

  1. Install our magic package manager:

    curl -ssL https://magic.modular.com/ | bash

    Then run the source command that's printed in your terminal.

  2. Install Max Pipelines in order to run this model.

    magic global install max-pipelines
  3. Start a local endpoint for bakllava/7b:

    max-serve serve --huggingface-repo-id SkunkworksAI/BakLLaVA-1

    The endpoint is ready when you see the URI printed in your terminal:

    Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
  4. Now open another terminal to send a request using curl:

    curl -N http://0.0.0.0:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
        "model": "bakllava/7b",
        "stream": true,
        "messages": [
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Who won the World Series in 2020?"}
        ]
    }' | grep -o '"content":"[^"]*"' | sed 's/"content":"//g' | sed 's/"//g' | tr -d '
    ' | sed 's/\n/
    /g'
  5. ๐ŸŽ‰ Hooray! Youโ€™re running Generative AI. Our goal is to make this as easy as possible.

About

About BakLLaVA

BakLLaVA v1 can be found here: https://huggingface.co/SkunkworksAI/BakLLaVA-1

A project in collaboration with LAION (www.laion.ai), Ontocord (www.ontocord.ai) and Skunkworks OSS AI group. Baking SOTA multimodality into language models.

By implementing better base models, modified training process, custom datasets, and significant architecture changes to the original LLaVA implementation.

References

GitHub

HuggingFace

DETAILS

MODEL CLASS
PyTorch

MODULAR GITHUB

Modular

CREATED BY

SkunkworksAI

MODEL

SkunkworksAI/BakLLaVA-1

TAGS

autotrain_compatible
dataset:SkunkworksAI/BakLLaVA-1-FT
en
endpoints_compatible
license:apache-2.0
llava_mistral
pytorch
region:us
text-generation
transformers

@ Copyright - Modular Inc - 2024