Aide-AI

Model Description

Aide-AI is a fine-tuned GPT-2 model designed for generating conversational text. It is based on the gpt2 base model and has been trained on a small dataset of conversational exchanges.

Usage

Load and use the model with the Transformers library:

from transformers import GPT2LMHeadModel, GPT2Tokenizer

model = GPT2LMHeadModel.from_pretrained("YMDChain/Aide-AI")
tokenizer = GPT2Tokenizer.from_pretrained("YMDChain/Aide-AI")
tokenizer.pad_token = tokenizer.eos_token

input_text = "Hello, how are you?"
encodings = tokenizer(input_text, return_tensors="pt")
output = model.generate(**encodings, max_length=50, do_sample=True, top_p=0.95)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Downloads last month
19
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support