RichardErkhov/Sparkoo_-_KateAI50m-gguf
089
Quantization made by Richard Erkhov.
KateAI50m - GGUF
- Model creator: https://huggingface.co/Sparkoo/
- Original model: https://huggingface.co/Sparkoo/KateAI50m/
Original model description: --- language:
- en pipeline_tag: text-generation ---
Warning!!
This model is in the process of being moved from gpt2 architecture -> a custom architecture. Note that it may not work at certain times because of the moving. Thank you for understanding.
Kate
This is a custom model for text generation.
Model Details
model_type: GPT2*
GPT2
This model is NOT A FINETUNE!!. It uses the GPT2 architecture but it doesnt finetune it.
# Model configuration for a smaller GPT-2 style model
config = GPT2Config(
vocab_size=50257, # Standard GPT-2 vocabulary size
n_positions=512, # Maximum sequence length
n_ctx=512, # Context window size
n_embd=512, # Embedding dimension
n_layer=6, # Number of transformer layers
n_head=8, # Number of attention heads
bos_token_id=50256,
eos_token_id=50256,
pad_token_id=50256,
_name_or_path="" # Empty to ensure no pretrained weights are loaded
)
# Initialize model with random weights
model = GPT2LMHeadModel(config)