Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add examples #16

Closed
wants to merge 2 commits into from
Closed

add examples #16

wants to merge 2 commits into from

Conversation

brianjking
Copy link

No description provided.

@Blaizzy
Copy link
Owner

Blaizzy commented May 5, 2024

Hey @brianjking

Thanks for this PR!

Comment on lines +22 to +33

* Idefics 2 w/ Local Path

```sh
python -m mlx_vlm.generate --model mlx-community/idefics2-8b-4bit --max-tokens 1000 --temp 0.0 --prompt "Describe this image" --image /path/to/file.png
```

* Idefics 2 w/ Local Path

```sh
python -m mlx_vlm.generate --model mlx-community/idefics2-8b-4bit --max-tokens 1000 --temp 0.0 --prompt "Is this a logo?" --image https://pypi.org/static/images/logo-small.8998e9d1.svg
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like the direction!

How about we compress these examples.

For instance, hve a single example and then explain that what we can pass to the --image and --model. Since both are quite similar

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, there are some changes you might want to check in #17

@Blaizzy Blaizzy closed this May 27, 2024
@Blaizzy
Copy link
Owner

Blaizzy commented May 27, 2024

I'm closing this PR for now.

Let me know when you want to pick it up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants