@huggingface/transformers
Version:
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
10 lines (7 loc) • 352 B
JavaScript
import { Qwen2VLForConditionalGeneration, Qwen2VLForCausalLM } from '../qwen2_vl/modeling_qwen2_vl.js';
export class Qwen2_5_VLForConditionalGeneration extends Qwen2VLForConditionalGeneration {
image_grid_thw_name = 'image_grid_thw';
}
export class Qwen2_5_VLForCausalLM extends Qwen2VLForCausalLM {
image_grid_thw_name = 'image_grid_thw';
}