Downloads · 30 days
26
8% of all-time downloads
MarkrAI/RAG-KO-Mixtral-7Bx2-v2.0
RAG-KO-Mixtral-7Bx2-v2.0 is a text generation model from MarkrAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
Downloads · 30 days
26
8% of all-time downloads
All-time downloads
336
Public
Parameters
12.9B
25.8 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors25.8 GB · 100%
From the Hugging Face model README
MarkrAI - AI Researchers
DopeorNope/Ko-Mixtral-v1.4-MoE-7Bx2.
Using QLoRA.
4-bit quantization
Lora_r: 64
Lora_alpha: 64
Lora_dropout: 0.05
Lora_target_modules: [embed_tokens, q_proj, k_proj, v_proj, o_proj, gate, w1, w2, w3, lm_head]
Epoch: 5
Batch size: 64
Learning_rate: 1e-5
Learning scheduler: linear
Warmup_ratio: 0.06
Private datasets: HumanF-MarkrAI/Korean-RAG-ver2
Aihub datasets 활용하여서 제작함.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
repo = "MarkrAI/RAG-KO-Mixtral-7Bx2-v2.0"
markrAI_RAG = AutoModelForCausalLM.from_pretrained(
repo,
return_dict=True,
torch_dtype=torch.float16,
device_map='auto'
)
markrAI_RAG_tokenizer = AutoTokenizer.from_pretrained(repo)