Downloads · 30 days
41
26% of all-time downloads
theguywhosucks/mochaV1-mini
mochaV1-mini is a text generation model from theguywhosucks. Use it when you need the model to write or continue text. The card lists the license as other.
Mocha Mini is a tiny but mighty sentence completion model designed for fast, creative text generation without the bloat. Perfect for small projects, prototyping, or just having fun with text.
Downloads · 30 days
41
26% of all-time downloads
All-time downloads
158
Public
Repo size
25.7 MB
Likes
0
Public
Click a slice to open those files.
.safetensors25.7 MB · 100%
From the Hugging Face model README
Mocha Mini is a tiny but mighty sentence completion model designed for fast, creative text generation without the bloat. Perfect for small projects, prototyping, or just having fun with text.
<p align="center"> <img src="./banner.png" alt="Mocha Mini Banner" width="600"/> </p>stoi/itos for fully local control..
├── mocha.safetensors # Model weights
├── config.json
├── generation_config.json
├── itos.json # Index-to-string mapping
├── stoi.json # String-to-index mapping
├── logo.png # Project logo
├── banner.png # Project banner
└── README.md
No official tokenizer? No problem — Mocha Mini just needs your stoi/itos for input/output mapping:
import torch
from transformers import AutoModelForCausalLM, AutoConfig
# Load config and model
config = AutoConfig.from_pretrained("theguywhosucks/mochaV1-base", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
"theguywhosucks/mochaV1-base",
config=config,
device_map="auto",
load_in_8bit=True, # INT8 quantization for speed & memory
trust_remote_code=True,
use_safetensors=True
)
# Use your custom stoi/itos for input/output
def stoi(text): ...
def tosi(indices): ...
prompt = "The future of AI is"
tokens = stoi(prompt)
# Model inference logic here
Install all dependencies:
pip install torch transformers safetensors bitsandbytes
Licensed under the Mocha Proprietary License — usage, distribution, and modification are restricted. See LICENSE for details.
☕ Mocha Mini – tiny, fast, and ready to complete your sentences.