Downloads · 30 days
26
13% of all-time downloads
harshit36/NOVA-Verse
NOVA-Verse is a text generation model from harshit36. 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.
<img src="NOVA-poster.png" alt="Logo" style="border-radius: 30px;" width="100%"/
Downloads · 30 days
26
13% of all-time downloads
All-time downloads
203
Public
Parameters
16.7M
67.3 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors66.7 MB · 98%
From the Hugging Face model README
A NOVA Finetuned model which is specifically trained for decision-driven Story generator.
NOVA)nova (Fine-tuned version)PreTrainedTokenizerFasttransformers via custom AutoModel and AutoConfig registration.| File | Description |
|---|---|
config.json | Configuration of model hyperparameters |
model.safetensors | Serialized model weights (efficient format) |
nova_modelling.py | Custom model and config class definitions |
tokenizer.json | Serialized tokenizer |
tokenizer_config.json | Tokenizer configuration metadata |
special_tokens_map.json | Mapping for special tokens (e.g., BOS, EOS) |
README.md | Model card (you’re reading it!) |
NovaForCausalLMThe model consists of:
NovaConfig){
"model_type": "nova",
"vocab_size": 6000,
"block_size": 256,
"n_embd": 640,
"n_layer": 4,
"n_head": 8
}
nova_modelling.py)git clone https://huggingface.co/harshit36/Nova-Verse
cd Nova-Verse
import sys
sys.path.append("./Nova-Verse/") # add current dir to path
from transformers import PreTrainedTokenizerFast
from nova_modelling import NovaConfig, NovaForCausalLM
# Load tokenizer
tokenizer = PreTrainedTokenizerFast.from_pretrained("harshit36/Nova-Verse")
# Load config
config = NovaConfig.from_pretrained("harshit36/Nova-Verse")
# Instantiate model using your custom class
model = NovaForCausalLM(config)
model = model.from_pretrained("harshit36/Nova-Verse")
# Use the model
input_ids = tokenizer("Hello world", return_tensors="pt").input_ids
output = model.generate(input_ids)
print(tokenizer.decode(output[0], skip_special_tokens=True).replace(" ","").replace("Ġ"," ").replace("Ċ","\n"))
Story text generation
Hybrid Positional Encoding Research model (Combination of Sinusoidal and learnable encodings)
Educational demonstrations of custom HF model integration
Rapid prototyping of transformer models