CoolFace
Modelpublic

pvlabs/Chytrej1.5-90M-Base

sourceHugging Faceapache-2.0updated 6mo agoView on Hugging Face
2likes27downloads
Model Card

Chytrej1.5-90M-Base

A fully custom pretrained language model built from scratch on the LLaMA architecture.

Chytrej (Czech slang for "clever/smart") is a long-term model series by PingVortex Labs. Every model in the series will be fully custom pretrained from scratch, then the model may be instruction fine-tuned on the custom base. The ongoing goal: every release must at least know the capital of France.

Built by PingVortex Labs.

![Discord](https://discord.gg/5SzkjVJBs2)


Model Details

  • —Parameters: 90M
  • —Context length: 8,192 tokens
  • —Language: English only
  • —Format: base model
  • —Architecture: LLaMA
  • —License: Apache 2.0

Benchmarks

Evaluated with lm-eval-harness, 0-shot:

TaskMetricChytrej1.5Chytrej1
ARC-Easyacc41.46%39.73%
ARC-Easyacc_norm37.04%34.47%

Usage

python
from transformers import LlamaForCausalLM, PreTrainedTokenizerFast

model = LlamaForCausalLM.from_pretrained("pvlabs/Chytrej1.5-90M-Base")
tokenizer = PreTrainedTokenizerFast.from_pretrained("pvlabs/Chytrej1.5-90M-Base")

prompt = "The capital of France is"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100, repetition_penalty=1.3)
print(tokenizer.decode(outputs[0]))

Made by [PingVortex](https://pingvortex.com).