Downloads · 30 days
69
28% of all-time downloads
0ldev/Lara-350M
Lara-350M is a text generation model from 0ldev. Use it when you need the model to write or continue text. It is set up for transformers.
A 350M parameter LLaMA-style language model pretrained from scratch on a custom corpus. This is the base pretrained checkpoint — it has not yet been instruction-tuned or fine-tuned with any persona.
Downloads · 30 days
69
28% of all-time downloads
All-time downloads
250
Public
Parameters
439M
1.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.8 GB · 100%
From the Hugging Face model README
A 350M parameter LLaMA-style language model pretrained from scratch on a custom corpus. This is the base pretrained checkpoint — it has not yet been instruction-tuned or fine-tuned with any persona.
Important: This model uses a custom tokenizer trained from scratch on the training corpus. It is NOT a standard LLaMA, GPT-2, or any other pre-existing tokenizer.
<s>), EOS (</s>), UNK (<unk>)Do NOT use a standard LLaMA tokenizer with this model — the token IDs will be completely wrong and produce garbled output.
This is a raw pretrained language model. It has:
It predicts the next token based on patterns learned during pretraining. To use it as an assistant, it would need further fine-tuning (SFT, RLHF, etc.).
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("0ldev/Lara-350M")
tokenizer = AutoTokenizer.from_pretrained("0ldev/Lara-350M")
inputs = tokenizer("The meaning of life is", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Apache 2.0