Downloads · 30 days
21
15% of all-time downloads
Ksgk-fy/iblm
iblm is a text generation model from Ksgk-fy. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
A custom GPT model trained on FineWeb 10B dataset.
Downloads · 30 days
21
15% of all-time downloads
All-time downloads
143
Public
Parameters
124M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.1 GB · 70%
From the Hugging Face model README
A custom GPT model trained on FineWeb 10B dataset.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Load model and tokenizer
model = AutoModelForCausalLM.from_pretrained(
"Ksgk-fy/iblm",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("gpt2")
# Generate text
input_ids = tokenizer("Hello, world", return_tensors="pt").input_ids
with torch.no_grad():
outputs = model.generate(input_ids, max_new_tokens=50)
print(tokenizer.decode(outputs[0]))
If you use this model, please cite...