Downloads · 30 days
146
3% of all-time downloads
OuteAI/Lite-Oute-1-65M
Lite-Oute-1-65M is a text generation model from OuteAI. 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.
<style table { border-collapse: collapse; width: 100%; margin-bottom: 20px; } th, td { border: 1px solid ddd; padding: 8px; text-align: center; } .best { font-weight: bold; text-decoration: underline; } </style
Downloads · 30 days
146
3% of all-time downloads
All-time downloads
5.1K
Public
Parameters
65M
261 MB on disk
Likes
12
Public
Click a slice to open those files.
.safetensors260 MB · 99%
From the Hugging Face model README
Lite-Oute-1-65M (Base) is an experimental ultra-compact base model in the Lite series, built on the LLaMA architecture and comprising approximately 65 million parameters. <br> This model is intended as a starting point for fine-tuning on highly specific or narrow tasks. <br> Due to its extremely small size, this model demonstrates basic text generation abilities but struggle with instructions or maintaining topic coherence.
<a href="https://huggingface.co/OuteAI/Lite-Oute-1-65M-Instruct">Lite-Oute-1-65M-Instruct</a> <br> <a href="https://huggingface.co/OuteAI/Lite-Oute-1-65M-Instruct-GGUF">Lite-Oute-1-65M-Instruct-GGUF</a> <br> <a href="https://huggingface.co/OuteAI/Lite-Oute-1-65M">Lite-Oute-1-65M</a> <br> <a href="https://huggingface.co/OuteAI/Lite-Oute-1-65M-GGUF">Lite-Oute-1-65M-GGUF</a> <br>
The model can be used with HuggingFace's transformers library:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = AutoModelForCausalLM.from_pretrained("OuteAI/Lite-Oute-1-65M").to(device)
tokenizer = AutoTokenizer.from_pretrained("OuteAI/Lite-Oute-1-65M")
def generate_response(message: str, temperature: float = 0.4, repetition_penalty: float = 1.12) -> str:
# Convert message to PyTorch tensors
input_ids = tokenizer.encode(
message, return_tensors="pt"
).to(device)
# Generate the response
output = model.generate(
input_ids,
max_length=256,
temperature=temperature,
repetition_penalty=repetition_penalty,
do_sample=True
)
# Decode the generated output
generated_text = tokenizer.decode(output[0], skip_special_tokens=True)
return generated_text
message = "Scientists have made a breakthrough in renewable energy by developing a new type of"
response = generate_response(message)
print(response)
By using this model, you acknowledge that you understand and assume the risks associated with its use. You are solely responsible for ensuring compliance with all applicable laws and regulations. We disclaim any liability for problems arising from the use of this open-source model, including but not limited to direct, indirect, incidental, consequential, or punitive damages. We make no warranties, express or implied, regarding the model's performance, accuracy, or fitness for a particular purpose. Your use of this model is at your own risk, and you agree to hold harmless and indemnify us, our affiliates, and our contributors from any claims, damages, or expenses arising from your use of the model.