use serde::{ Deserialize, Serialize };
#[ derive( Debug, Clone, Serialize, Deserialize ) ]
pub struct ModelInfo
{
pub id : String,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub repository_url : Option< String >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub pipeline_tag : Option< String >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub tags : Option< Vec< String > >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub private : Option< bool >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub author : Option< String >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub likes : Option< u32 >,
#[ serde( skip_serializing_if = "Option::is_none" ) ]
pub downloads : Option< u32 >,
}
#[ derive( Debug ) ]
pub struct Models;
impl Models
{
#[ inline ]
#[ must_use ]
pub const fn kimi_k2_instruct() -> &'static str
{
"moonshotai/Kimi-K2-Instruct-0905"
}
#[ inline ]
#[ must_use ]
pub const fn llama_3_3_70b_instruct() -> &'static str
{
"meta-llama/Llama-3.3-70B-Instruct"
}
#[ inline ]
#[ must_use ]
pub const fn mistral_7b_instruct() -> &'static str
{
"mistralai/Mistral-7B-Instruct-v0.3"
}
#[ inline ]
#[ must_use ]
pub const fn code_llama_7b_instruct() -> &'static str
{
"codellama/CodeLlama-7b-Instruct-hf"
}
#[ inline ]
#[ must_use ]
pub const fn all_minilm_l6_v2() -> &'static str
{
"sentence-transformers/all-MiniLM-L6-v2"
}
#[ inline ]
#[ must_use ]
pub const fn all_minilm_l12_v2() -> &'static str
{
"sentence-transformers/all-MiniLM-L12-v2"
}
#[ inline ]
#[ must_use ]
pub const fn bge_large_en_v1_5() -> &'static str
{
"BAAI/bge-large-en-v1.5"
}
#[ inline ]
#[ must_use ]
pub const fn gpt2() -> &'static str
{
"gpt2"
}
}