Downloads · 30 days
9
15% of all-time downloads
theminji/TinyAITA
TinyAITA is a text generation model from theminji. 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.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
9
15% of all-time downloads
All-time downloads
60
Public
Parameters
1.1B
2.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T on the None dataset.
import torch
from transformers import pipeline, AutoTokenizer, TextStreamer
import re
tokenizer = AutoTokenizer.from_pretrained("TheBossLevel123/TinyAITA")
pipe = pipeline("text-generation", model="TheBossLevel123/TinyAITA", torch_dtype=torch.bfloat16, device_map="auto")
streamer=TextStreamer(tokenizer)
prompt = 'AITA for XYZ?'
outputs = pipe(prompt, max_new_tokens=1024, do_sample=True, temperature=0.9, streamer=streamer, eos_token_id=tokenizer.encode("<|im_end|>"))
if outputs and "generated_text" in outputs[0]:
text = outputs[0]["generated_text"]
print(f"Prompt: {prompt}")
print("")
print(text)
More information needed
More information needed
The following hyperparameters were used during training: