Downloads · 30 days
11
4% of all-time downloads
ali-arshiya/moeinGTS-1.5-8b
moeinGTS-1.5-8b is a text generation model from ali-arshiya. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
11
4% of all-time downloads
All-time downloads
290
Public
Parameters
8B
5.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors5.7 GB · 100%
How the weights are stored.
U87B · 87%
From the Hugging Face model README
moeinGTS-1.5-8b is a state-of-the-art 8-billion parameter causal language model developed and fine-tuned by moeinGTS (Software & AI Research Group). This model is meticulously optimized to understand, process, and generate fluent text in both Persian (فارسی) and English.
مدل moeinGTS-1.5-8b یک مدل زبانی بزرگ، پیشرفته و قدرتمند با ۸ میلیارد پارامتر است که توسط گروه نرمافزاری و هوش مصنوعی معین جیتیاس (moeinGTS) توسعه یافته و بهینهسازی شده است. این مدل با هدف درک عمیق، پردازش دقیق و تولید متن روان به زبانهای فارسی و انگلیسی مهندسی شده است.
| Specification / ویژگی | Detail / مقدار |
|---|---|
| Model Architecture | Transformer-based Causal LM |
| Parameters | 8 Billion (8B) |
| Quantization | 4-bit (NF4) with Double Quantization |
| Disk Footprint | ~5 GB (Super lightweight!) |
| Supported Languages | Persian (fa), English (en) |
| Tokenization | Unigram / Slow Tokenizer |
| Library | Hugging Face Transformers |
You can load and run moeinGTS-1.5-8b easily using the transformers library and 4-bit quantization:
میتوانید این مدل را به راحتی با استفاده از کتابخانه transformers و تنظیمات کوانتیزاسیون ۴ بیتی بارگذاری و اجرا کنید:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
model_id = "ali-arshiya/moeinGTS-1.5-8b"
# 1. Load Tokenizer / بارگذاری توکنایزر
print("Loading tokenizer...")
tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=False)
if tokenizer.pad_token is None:
tokenizer.pad_token = tokenizer.eos_token
# 2. Configure 4-bit Quantization (fits in ~5GB VRAM) / تنظیمات کوانتیزاسیون ۴ بیتی
quantization_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_compute_dtype=torch.bfloat16 if torch.cuda.is_bf16_supported() else torch.float16,
bnb_4bit_quant_type="nf4",
bnb_4bit_use_double_quant=True,
)
# 3. Load Model on GPU / بارگذاری مدل روی کارت گرافیک
print("Loading model...")
model = AutoModelForCausalLM.from_pretrained(
model_id,
quantization_config=quantization_config,
device_map="auto"
)
print("✅ moeinGTS-1.5-8b loaded successfully!")