Downloads · 30 days
196
49% of all-time downloads
sohv/nanokimi-mini
nanokimi-mini is a text generation model from sohv. 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.
This repository contains the nanoKimi model pre-trained on Shakespeare dataset. An upgraded version of nanokimi trained on OpenWebText will be up on HuggingFace in a few days.
Downloads · 30 days
196
49% of all-time downloads
All-time downloads
403
Public
Repo size
2.1 GB
Likes
1
Public
Click a slice to open those files.
.bin2.1 GB · 100%
From the Hugging Face model README
This repository contains the nanoKimi model pre-trained on Shakespeare dataset. An upgraded version of nanokimi trained on OpenWebText will be up on HuggingFace in a few days.
pytorch_model.bin - Model weightsconfig.json - Model configurationsrc/ - Source code for model architecturemodeling_kimik2.py - HuggingFace wrapperimport torch
import json
from huggingface_hub import hf_hub_download
# Download files
config_path = hf_hub_download(repo_id="sohv/nanokimi-mini", filename="config.json")
weights_path = hf_hub_download(repo_id="sohv/nanokimi-mini", filename="pytorch_model.bin")
# Load config and weights
with open(config_path) as f:
config = json.load(f)
weights = torch.load(weights_path, map_location="cpu")
print("Model downloaded successfully!")
MIT License
Raise an issue in Files and Version or reach out to me here for any feedback or enquiry.