Kunorzn Llama 3 3B
KunoRZN-Llama-3-3B是VinkuraAI的旗艦多語言模型,支持12種以上印度語言及英語,專為教育、醫療和日常任務設計。
下載量 9,214
發布時間 : 4/15/2025
模型概述
基於Meta Llama 3構建的多語言AI助手,擅長教育應用、醫療信息傳遞和交通管理,特別適應低資源計算環境。
模型特點
多語言支持
支持12種以上印度語言及英語,特別適合印度多語言環境。
雙模式推理
可切換直覺響應模式和深度思考模式,適應不同任務需求。
低資源優化
專為印度普遍的低資源計算環境設計,運行效率高。
領域專業化
在教育、醫療和交通管理等特定領域表現優異。
模型能力
多語言文本生成
教育內容解釋
醫療信息提供
交通管理建議
長鏈思維推理
函數調用
使用案例
教育
多語言課程解釋
用多種印度語言向學生解釋複雜概念
提高非英語母語學生的理解能力
醫療
地區語言醫療信息
用當地語言提供基本醫療信息和症狀解釋
提高醫療信息在非英語人群中的可及性
交通管理
本地化交通建議
根據印度城市特點提供交通路線和避堵建議
適應印度特有的交通狀況
🚀 KunoRZN-Llama-3-3B
KunoRZN-Llama-3-3B 是 VinkuraAI 推出的一款強大的語言模型,它支持 12 種以上印度語言以及英語。該模型結合了“直覺式”傳統模式響應和長鏈思維推理響應,用戶可通過系統提示進行切換,能廣泛應用於教育、醫療、交通管理等多個領域,為印度地區提供了便捷且強大的 AI 能力。
🚀 快速開始
模型信息
屬性 | 詳情 |
---|---|
模型類型 | KunoRZN-Llama-3-3B |
基礎模型 | meta-llama/Meta-Llama-3.2-3B |
支持語言 | 英語、印地語、泰米爾語、泰盧固語、卡納達語、馬拉雅拉姆語、馬拉地語、孟加拉語、古吉拉特語、旁遮普語、奧里亞語、阿薩姆語、烏爾都語 |
許可證 | llama3.2 |
標籤 | Llama - 3、instruct、finetune、chatml、multilingual、indian - languages、reasoning、education、healthcare、low - resource、vllm |
示例配置
{
"example_title": "KunoRZN",
"messages": [
{
"role": "system",
"content": "You are KunoRZN, a multilingual AI assistant fluent in both English and Indian languages, designed to help with education, healthcare information, and daily tasks."
},
{
"role": "user",
"content": "मुझे भारत के शिक्षा प्रणाली के बारे में बताएं।"
}
]
}
推理基準
評估指標
在 IndicGLUE 數據集上進行文本生成任務,平均準確率達到 79.8%。
✨ 主要特性
- 多語言支持:支持 12 種以上印度語言和英語,打破語言障礙,為不同地區用戶提供服務。
- 混合推理模式:統一“直覺式”傳統模式響應和長鏈思維推理響應,用戶可通過系統提示靈活切換。
- 廣泛應用場景:適用於教育、醫療信息傳遞、交通管理系統等多個領域,滿足不同場景需求。
- 低資源適配:能夠在印度常見的低資源計算環境中運行。
📦 安裝指南
使用 vLLM 運行該模型,首先確保已安裝 vLLM:
pip install vllm
然後在終端運行以下命令:
vllm serve VinkuraAI/KunoRZN-Llama-3-3B
💻 使用示例
基礎用法
深度思考模式
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
import flash_attn
import time
tokenizer = AutoTokenizer.from_pretrained("VinkuraAI/KunoRZN-Llama-3-3B")
model = AutoModelForCausalLM.from_pretrained(
"VinkuraAI/KunoRZN-Llama-3-3B",
torch_dtype=torch.float16,
device_map="auto",
attn_implementation="flash_attention_2",
)
messages = [
{
"role": "system",
"content": "You are a deep thinking AI assistant who can communicate in multiple Indian languages. You may use extremely long chains of thought to deeply consider the problem and deliberate with yourself via systematic reasoning processes to help come to a correct solution prior to answering. You should enclose your thoughts and internal monologue inside <thinking> </thinking> tags, and then provide your solution or response to the problem."
},
{
"role": "user",
"content": "भारतीय संविधान के मूल अधिकारों के बारे में बताइए और उनका महत्व समझाइए।"
}
]
input_ids = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors='pt').to("cuda")
generated_ids = model.generate(input_ids, max_new_tokens=3000, temperature=0.8, repetition_penalty=1.1, do_sample=True, eos_token_id=tokenizer.eos_token_id)
print(f"Generated Tokens: {generated_ids.shape[-1:]}")
response = tokenizer.decode(generated_ids[0], skip_special_tokens=True, clean_up_tokenization_space=True)
print(f"Response: {response}")
⚠️ 重要提示
對於複雜推理任務,KunoRZN 在思考過程中可能會使用多達 10,000 個標記。對於難題,您可能需要增加
max_new_tokens
的值。
標準“直覺式”響應模式
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
import flash_attn
import time
tokenizer = AutoTokenizer.from_pretrained("VinkuraAI/KunoRZN-Llama-3-3B")
model = AutoModelForCausalLM.from_pretrained(
"VinkuraAI/KunoRZN-Llama-3-3B",
torch_dtype=torch.float16,
device_map="auto",
attn_implementation="flash_attention_2",
)
messages = [
{
"role": "system",
"content": "You are KunoRZN, a multilingual AI assistant fluent in both English and Indian languages."
},
{
"role": "user",
"content": "தமிழ்நாட்டில் உள்ள பிரபலமான சுற்றுலா தலங்கள் என்ன?"
}
]
input_ids = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors='pt').to("cuda")
generated_ids = model.generate(input_ids, max_new_tokens=2500, temperature=0.8, repetition_penalty=1.1, do_sample=True, eos_token_id=tokenizer.eos_token_id)
print(f"Generated Tokens: {generated_ids.shape[-1:]}")
response = tokenizer.decode(generated_ids[0], skip_special_tokens=True, clean_up_tokenization_space=True)
print(f"Response: {response}")
高級用法
多語言用例
教育領域
messages = [
{
"role": "system",
"content": "You are KunoRZN, an educational AI assistant that can explain concepts in simple terms for students."
},
{
"role": "user",
"content": "ಸೌರವ್ಯೂಹದ ಗ್ರಹಗಳ ಬಗ್ಗೆ ವಿವರಿಸಿ."
}
]
醫療領域
messages = [
{
"role": "system",
"content": "You are KunoRZN, a healthcare information assistant. Provide general health information while always recommending consultation with healthcare professionals."
},
{
"role": "user",
"content": "ডায়াবেটিস রোগের লক্ষণগুলি কী কী?"
}
]
交通管理領域
messages = [
{
"role": "system",
"content": "You are KunoRZN, a traffic management assistant. Help users navigate local traffic conditions and understand traffic rules."
},
{
"role": "user",
"content": "मुंबई में ट्रैफिक जाम से बचने के लिए क्या सुझाव हैं?"
}
]
函數調用
使用特定系統提示和結構進行函數調用,示例如下:
<|start_header_id|>system<|end_header_id|>
You are a function calling AI model fluent in multiple Indian languages. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions. Here are the available tools: <tools> {"type": "function", "function": {"name": "get_weather", "description": "get_weather(city: str, state: str, country: str='India') -> dict - Get weather information for a given city.\\n\\n Args:\\n city (str): The city name.\\n state (str): The state name.\\n country (str): The country name, defaults to India.\\n\\n Returns:\\n dict: A dictionary containing weather information.\\n Keys:\\n - \'city\': The city name.\\n - \'state\': The state name.\\n - \'temperature\': The current temperature in Celsius.\\n - \'humidity\': The current humidity percentage.\\n - \'description\': Weather description.\\n - \'forecast\': Forecast for next 3 days.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}, "state": {"type": "string"}, "country": {"type": "string"}}, "required": ["city", "state"]}}} </tools> Use the following pydantic model json schema for each tool call you will make: {"properties": {"arguments": {"title": "Arguments", "type": "object"}, "name": {"title": "Name", "type": "string"}}, "required": ["arguments", "name"], "title": "FunctionCall", "type": "object"} For each function call return a json object with function name and arguments within <tool_call></tool_call> XML tags as follows:
<tool_call>
{"arguments": <args-dict>, "name": <function-name>}
</tool_call><|eot_id|><|start_header_id|>user<|end_header_id|>
📚 詳細文檔
量化版本
GGUF 量化版本:https://huggingface.co/VinkuraAI/KunoRZN-Llama-3-3B-GGUF
引用方式
@misc{
title={KunoRZN-Llama-3-3B},
author={VinkuraAI},
year={2025}
}
📄 許可證
KunoRZN-Llama-3-3B 基於 Meta Llama 3 構建,並遵循 Meta Llama 3 社區許可證,版權所有 © Meta Platforms, Inc. 保留所有權利。
🔗 聯繫與支持
如需更多信息和支持,請訪問 vinkura.in 或通過 support@vinkura.in 聯繫我們。
Phi 2 GGUF
其他
Phi-2是微軟開發的一個小型但強大的語言模型,具有27億參數,專注於高效推理和高質量文本生成。
大型語言模型 支持多種語言
P
TheBloke
41.5M
205
Roberta Large
MIT
基於掩碼語言建模目標預訓練的大型英語語言模型,採用改進的BERT訓練方法
大型語言模型 英語
R
FacebookAI
19.4M
212
Distilbert Base Uncased
Apache-2.0
DistilBERT是BERT基礎模型的蒸餾版本,在保持相近性能的同時更輕量高效,適用於序列分類、標記分類等自然語言處理任務。
大型語言模型 英語
D
distilbert
11.1M
669
Llama 3.1 8B Instruct GGUF
Meta Llama 3.1 8B Instruct 是一個多語言大語言模型,針對多語言對話用例進行了優化,在常見的行業基準測試中表現優異。
大型語言模型 英語
L
modularai
9.7M
4
Xlm Roberta Base
MIT
XLM-RoBERTa是基於100種語言的2.5TB過濾CommonCrawl數據預訓練的多語言模型,採用掩碼語言建模目標進行訓練。
大型語言模型 支持多種語言
X
FacebookAI
9.6M
664
Roberta Base
MIT
基於Transformer架構的英語預訓練模型,通過掩碼語言建模目標在海量文本上訓練,支持文本特徵提取和下游任務微調
大型語言模型 英語
R
FacebookAI
9.3M
488
Opt 125m
其他
OPT是由Meta AI發佈的開放預訓練Transformer語言模型套件,參數量從1.25億到1750億,旨在對標GPT-3系列性能,同時促進大規模語言模型的開放研究。
大型語言模型 英語
O
facebook
6.3M
198
1
基於transformers庫的預訓練模型,適用於多種NLP任務
大型語言模型
Transformers

1
unslothai
6.2M
1
Llama 3.1 8B Instruct
Llama 3.1是Meta推出的多語言大語言模型系列,包含8B、70B和405B參數規模,支持8種語言和代碼生成,優化了多語言對話場景。
大型語言模型
Transformers 支持多種語言

L
meta-llama
5.7M
3,898
T5 Base
Apache-2.0
T5基礎版是由Google開發的文本到文本轉換Transformer模型,參數規模2.2億,支持多語言NLP任務。
大型語言模型 支持多種語言
T
google-t5
5.4M
702
精選推薦AI模型
Llama 3 Typhoon V1.5x 8b Instruct
專為泰語設計的80億參數指令模型,性能媲美GPT-3.5-turbo,優化了應用場景、檢索增強生成、受限生成和推理任務
大型語言模型
Transformers 支持多種語言

L
scb10x
3,269
16
Cadet Tiny
Openrail
Cadet-Tiny是一個基於SODA數據集訓練的超小型對話模型,專為邊緣設備推理設計,體積僅為Cosmo-3B模型的2%左右。
對話系統
Transformers 英語

C
ToddGoldfarb
2,691
6
Roberta Base Chinese Extractive Qa
基於RoBERTa架構的中文抽取式問答模型,適用於從給定文本中提取答案的任務。
問答系統 中文
R
uer
2,694
98