Mocha β˜•

Mocha is a sentence completion model designed for lightweight, fast, and creative text generation. Built with efficiency in mind, Mocha allows you to integrate natural language completion into your projects without the overhead of larger models.

Mocha Banner


πŸ”₯ Features

  • ⚑ Lightweight – optimized for speed and deployment.
  • πŸ“ Sentence Completion – generate contextually relevant endings for text prompts.
  • πŸ“¦ Safetensors Format – stored in .safetensors for secure and efficient loading.

πŸ“‚ Project Structure

.
β”œβ”€β”€ mocha.safetensors # The model weights
β”œβ”€β”€ config.json
β”œβ”€β”€ generation_config.json
β”œβ”€β”€ itos.json
β”œβ”€β”€ stoi.json
β”œβ”€β”€ logo.png          # Project logo
β”œβ”€β”€ banner.png        # Project banner
└── README.md

πŸš€ Usage

You can load Mocha with πŸ€— Transformers and safetensors:

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("theguywhosucks/Mocha")
model = AutoModelForCausalLM.from_pretrained(
    "theguywhosucks/Mocha",
    torch_dtype=torch.float16
)

# Example usage
prompt = "The future of AI is"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=20)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

πŸ“Έ Assets

Mocha Logo


πŸ› οΈ Requirements

Install dependencies:

pip install torch transformers safetensors

πŸ“œ License

This project is licensed under the Mocha Proprietary License. Usage, distribution, and modification are restricted. Please see the LICENSE file for full details.


β˜• Mocha – lightweight sentence completion made simple.

Downloads last month
19
Safetensors
Model size
25.3M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for theguywhosucks/mochaV1-base

Finetunes
1 model

Dataset used to train theguywhosucks/mochaV1-base

Space using theguywhosucks/mochaV1-base 1

Collection including theguywhosucks/mochaV1-base