Downloads · 30 days
99
26% of all-time downloads
Dmitriy-Zemskov/ViorikaLM-CHAT
ViorikaLM-CHAT is a text generation model from Dmitriy-Zemskov. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Downloads · 30 days
99
26% of all-time downloads
All-time downloads
378
Public
Repo size
6.3 GB
Likes
3
Public
Click a slice to open those files.
.bin1.1 GB · 100%
From the Hugging Face model README
(discord https://discord.gg/DUzP7CXqJt)
This model is licensed under the MIT License.
🚧 Experimental Under-Training Model (~250M parameters) based on a custom 12-layer/12-head Transformer architecture.
Primarily supports English 🇬🇧. This is my first model.
ViorikaLM-CHAT is an experimental generative language model designed for text generation and dialogue tasks.
The main goal of this project is to test the full pipeline: from implementing the architecture and training from scratch to uploading models to the Hugging Face Hub.
wikitext-103-raw-v1 (or similar WikiText format)from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "ViorikaAI/ViorikaLM-CHAT"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
input_text = "Hello, how are you?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(
**inputs,
max_new_tokens=50,
pad_token_id=tokenizer.eos_token_id,
do_sample=True,
temperature=0.9
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))