Downloads · 30 days
8
20% of all-time downloads
ashatilovdev/qwen3-8b-cars
qwen3-8b-cars is a machine learning model from ashatilovdev. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
<script type="application/ld+json" { "@context": "https://schema.org", "@type": "Dataset", "name": "Cars RU", "description": "LoRa LLM для автобизнеса.", "url": "https://github.com/AnteaterKit", "creator": { "@type":…
Downloads · 30 days
8
20% of all-time downloads
All-time downloads
40
Public
Parameters
8.2B
16.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
🇷🇺 Русскоязычная модель для консультаций по автомобилям, основанная на Qwen3-8B и дообученная на датасете автомобилей.
Эта модель была создана путем дообучения базовой модели Qwen3-8B на датасете автомобилей. Модель специализируется на ответах на вопросы об автомобилях, их характеристиках, преимуществах и особенностях.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"{HF_REPO_NAME}",
trust_remote_code=True,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("{HF_REPO_NAME}", trust_remote_code=True)
# Пример запроса
messages = [
{{"role": "system", "content": "Ты - эксперт в автомобилях."}},
{{"role": "user", "content": "Расскажи мне про автомобиль XCITE X-Cross 7"}}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id,
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)