mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 12:06:35 +00:00
Module Docs (#2624)
* update whisper * update llama2c * update t5 * update phi and t5 * add a blip model * qlamma doc * add two new docs * add docs and emoji * additional models * openclip * pixtral * edits on the model docs * update yu * update a fe wmore models * add persimmon * add model-level doc * names * update module doc * links in heira * remove empty URL * update more hyperlinks * updated hyperlinks * more links * Update mod.rs --------- Co-authored-by: Laurent Mazare <laurent.mazare@gmail.com>
This commit is contained in:
@ -1,18 +1,15 @@
|
||||
//! Microsoft Phi model implementation
|
||||
//!
|
||||
//! See Phi model details at:
|
||||
//! - [Phi-2 Model](https://huggingface.co/microsoft/phi-2)
|
||||
//!
|
||||
//! The Phi series are decoder-only transformers designed for code and language tasks.
|
||||
//!
|
||||
//! Key characteristics:
|
||||
//! - Decoder-only transformer architecture
|
||||
//! - RoPE embeddings
|
||||
//! - Layer normalization
|
||||
//! - QK normalization
|
||||
//!
|
||||
//! References:
|
||||
//! - [Hugging Face Implementation](https://huggingface.co/microsoft/phi-2)
|
||||
//! - [Alternative Implementation](https://huggingface.co/microsoft/phi-2/tree/main)
|
||||
//! - ⚡ [Interactive Wasm Example](https://huggingface.co/spaces/radames/Candle-phi1-phi2-wasm-demo)
|
||||
//! - 🤗 [HF Link](https://huggingface.co/microsoft/phi-2)
|
||||
//!
|
||||
|
||||
use crate::models::with_tracing::{layer_norm, linear, Embedding, LayerNorm, Linear};
|
||||
|
Reference in New Issue
Block a user