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

Create caption_with_internvl.py #778

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Create caption_with_internvl.py #778

merged 1 commit into from
Aug 16, 2024

Conversation

frankchieng
Copy link
Contributor

caption3
caption2
caption1
run with CLI python toolkit/captioning/caption_with_internvl.py --input_dir /home/qm/SimpleTuner/output/test_caption_datasets/ --output_parquet output/test_caption_datasets/caption --model_name OpenGVLab/InternVL2-8B --precision fp16 --max_new_tokens 77 --query_str "Please describe the image in detail." --do_sample

add internvl model caption
@bghira bghira merged commit 7207be5 into bghira:main Aug 16, 2024
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