Downloads · 30 days
16
22% of all-time downloads
GoldenGekko/LinguaLaboratoriumMechanicus-Qwen-1.7B
LinguaLaboratoriumMechanicus-Qwen-1.7B is a text generation model from GoldenGekko. 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.
- Оригинал: Qwen/Qwen3-1.7B-Base - Лицензия базы: Apache-2.0
Downloads · 30 days
16
22% of all-time downloads
All-time downloads
74
Public
Parameters
1.7B
3.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
From the Hugging Face model README
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "GoldenGekko/LinguaLaboratoriumMechanicus-Qwen-1.7B"
device = "cuda" if torch.cuda.is_available() else "cpu"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
torch_dtype=torch.bfloat16,
).to(device)
prompt = "В 31-м тысячелетии Империум"
inputs = tokenizer(prompt, return_tensors="pt").to(device)
output_ids = model.generate(
**inputs,
max_new_tokens=120,
do_sample=True,
temperature=0.8,
top_k=40,
pad_token_id=tokenizer.pad_token_id,
eos_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(output_ids[0], skip_special_tokens=True))
https://huggingface.co/GoldenGekko/LinguaLaboratoriumMechanicus-Qwen-1.7B