mirror of
https://github.com/huggingface/candle.git
synced 2025-06-22 04:22:50 +00:00
Documentation Pass for Models (#2617)
* links in chinese_clip * links for clip model * add mod docs for flux and llava * module doc for MMDIT and MIMI * add docs for a few more modesl * mod docs for bert naser and beit * add module docs for convmixer colpali codegeex and chatglm * add another series of moddocs * add fastvit-llama2_c * module docs mamba -> mobileone * module docs from moondream-phi3 * mod docs for quantized and qwen * update to yi * fix long names * Update llama2_c.rs * Update llama2_c_weights.rs * Fix the link for mimi + tweaks --------- Co-authored-by: Laurent Mazare <laurent.mazare@gmail.com>
This commit is contained in:
@ -1,3 +1,19 @@
|
||||
//! BLIP model implementation with quantization support.
|
||||
//!
|
||||
//! BLIP is a vision-language model for image understanding and generation tasks.
|
||||
//! This implementation provides quantization for reduced memory and compute.
|
||||
//!
|
||||
//! Key characteristics:
|
||||
//! - Vision encoder using ViT architecture
|
||||
//! - Text decoder using BERT-style transformer
|
||||
//! - Cross-attention between vision and text features
|
||||
//! - Support for 8-bit quantization
|
||||
//!
|
||||
//! References:
|
||||
//! - [BLIP Paper](https://arxiv.org/abs/2201.12086)
|
||||
//! - [Hugging Face Implementation](https://huggingface.co/docs/transformers/model_doc/blip)
|
||||
//!
|
||||
|
||||
use super::quantized_blip_text as blip_text;
|
||||
use crate::quantized_nn::{layer_norm, linear, Linear};
|
||||
pub use crate::quantized_var_builder::VarBuilder;
|
||||
|
Reference in New Issue
Block a user