Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: karuna1122v
  • License: other
  • Language: Python
  • Default Branch: update_readme
  • Size: 1.18 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

Meta Chameleon

Paper | Blog | Model Checkpoint Download | HuggingFace

This repository contains artifacts for the Meta Chameleon model from FAIR, Meta AI. In this repository is: - Standalone Inference Code — a fast inference implementation for running model checkpoints - Input-Output Viewing — a harness for richly viewing multimodal model inputs and outputs with a browser-based tool - Evaluation Prompts — mixed-modal and text-only prompts for human evaluation

System Requirements

Running constituent components for inference and the input-output viewer currently requires a CUDA-capable GPU. If you'd like to run inference on other hardware, other inference implementations, including HuggingFace, are platform agnostic.

Getting Started

First, pip install this repository: sh pip install git+https://github.com/facebookresearch/chameleon.git

If you want access to the full visualizer, you'll need to clone this repository, then pip install: sh git clone https://github.com/facebookresearch/chameleon.git cd chameleon pip install -e .

Model checkpoints and configs must be downloaded before running inference or the viewer. After requesting model access, run the following script, adding pre-signed download URL you were emailed when prompted: sh python -m chameleon.download_data [pre-signed URL] (you can also paste the command given in the email containing the download link)

Running the Viewer

The viewer visualizes multi-modal model input and output. It is most easily run with docker-compose. You'll need to clone the repository, not just a pip install.

The following runs both the service and viewer interface.

By default, this runs the 7B parameter model. You can change the model_path variable in ./config/model_viewer.yaml to select another model and alter other configuration: sh docker-compose up --build

You can open the viewer at http://localhost:7654/

Running the MiniViewer

The miniviewer is a light weight debug visualizer, that can be run with: sh python -m chameleon.miniviewer This runs the 7B parameter model. To run the 30B model, use the following command: sh python -m chameleon.miniviewer --model-size 30b

You can open the miniviewer at http://localhost:5000/

License

Use of this repository and related resources are governed by the Chameleon Research License and the LICENSE file.

Citation

To cite the paper, model, or software, please use the below: @article{Chameleon_Team_Chameleon_Mixed-Modal_Early-Fusion_2024, author = {Chameleon Team}, doi = {10.48550/arXiv.2405.09818}, journal = {arXiv preprint arXiv:2405.09818}, title = {Chameleon: Mixed-Modal Early-Fusion Foundation Models}, url = {https://github.com/facebookresearch/chameleon}, year = {2024} }

Owner

  • Login: karuna1122v
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
preferred-citation:
  type: article
  title: 'Chameleon: Mixed-Modal Early-Fusion Foundation Models'
  message: >-
    If you use this software, please cite it using the
    metadata from this file.
  authors:
    - name: Chameleon Team
  doi: "10.48550/arXiv.2405.09818"
  url: 'https://arxiv.org/abs/2405.09818'
  journal: "arXiv preprint arXiv:2405.09818"
  year: 2024
  repository-code: 'https://github.com/facebookresearch/chameleon'
  repository-artifact: >-
    https://ai.meta.com/resources/models-and-libraries/chameleon-downloads/

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Dependencies

chameleon/viewer/frontend/package-lock.json npm
  • 490 dependencies
chameleon/viewer/frontend/package.json npm
  • @tailwindcss/typography ^0.5.9 development
  • @types/react ^18.2.15 development
  • @types/react-dom ^18.2.7 development
  • @types/ws ^8.5.9 development
  • @typescript-eslint/eslint-plugin ^6.0.0 development
  • @typescript-eslint/parser ^6.0.0 development
  • @vitejs/plugin-react ^4.0.3 development
  • autoprefixer ^10.4.15 development
  • daisyui ^3.9.2 development
  • eslint ^8.45.0 development
  • eslint-plugin-react-hooks ^4.6.0 development
  • eslint-plugin-react-refresh ^0.4.3 development
  • postcss ^8.4.28 development
  • prettier ^3.0.3 development
  • tailwindcss ^3.3.3 development
  • typescript ^5.0.2 development
  • vite ^4.4.5 development
  • vitest ^0.34.6 development
  • @carbon/icons-react ^11.25.0
  • @lexical/react ^0.12.2
  • axios ^1.4.0
  • lexical ^0.12.2
  • prettier ^3.0.3
  • react ^18.2.0
  • react-cookie ^6.1.1
  • react-daisyui ^4.1.0
  • react-dnd ^16.0.1
  • react-dnd-html5-backend ^16.0.1
  • react-dom ^18.2.0
  • react-dropzone ^14.2.3
  • react-hotkeys-hook ^4.4.1
  • react-markdown ^9.0.1
  • react-router-dom ^6.15.0
  • react-use-websocket ^4.5.0
  • react18-json-view ^0.2.4
  • remark-gfm ^4.0.0
  • unique-username-generator ^1.2.0
  • ws ^8.14.2
  • zod ^3.22.2
  • zustand ^4.4.1
chameleon/viewer/backend/requirements.txt pypi
  • Pillow ==10.0.
  • albumentations ==1.3.1
  • black ==23.7.0
  • einops ==0.7.0
  • fastapi ==0.101.1
  • httpx ==0.24.1
  • hydra-core ==1.3.2
  • ipython *
  • isort ==5.12.0
  • psutil ==5.9.7
  • pudb ==2022.1.3
  • pydantic ==1.10.
  • pylint ==2.17.5
  • pytest ==7.4.0
  • python-multipart ==0.0.6
  • pytorch_lightning ==2.1.2
  • redis ==5.0.1
  • requests ==2.31.
  • rich ==13.5.
  • ruff ==0.1.2
  • submitit ==1.4.2
  • torchvision ==0.16.
  • transformers ==4.36.2
  • typer ==0.9.0
  • uvicorn ==0.23.2
  • websockets ==12.0
  • xformers ==0.0.23
pyproject.toml pypi
  • Pillow ==10.0.*
  • click *
  • flask *
  • flask_socketio *
  • numpy ==1.26.*
  • transformers ==4.36.2
  • xformers ==0.0.23