Downloads · 30 days
67
6% of all-time downloads
KumarXAI/BiniGPT-0.1B-FM
BiniGPT-0.1B-FM is a text generation model from KumarXAI. 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.
Welcome to BiniGPT-0.1B-FM! This is my very first model upload to Hugging Face.
Downloads · 30 days
67
6% of all-time downloads
All-time downloads
1K
Public
Parameters
124M
498 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
Welcome to BiniGPT-0.1B-FM! This is my very first model upload to Hugging Face.
I am uploading this to establish my deployment pipeline and lay the groundwork for my future custom model series. This repository hosts weight configurations originating from the open-source GPT-2 model series developed and released by OpenAI. All credit for the baseline architecture and primary pretraining goes to the original authors. The model is distributed under the permissive MIT License.
This model is best used to test inference performance, validate local pipeline architectures, or experiment with few-shot prompting templates to direct next-token behavior.
Quickstart: Run in 30 Seconds
Ensure you have transformers and torch installed, then run the snippet below:
pip install transformers torch
from transformers import pipeline
# Use a pipeline as a high-level helper
pipe = pipeline("text-generation", model="KumarXAI/BiniGPT-0.1B-FM")
# Run inference on a prompt
prompt = "The secret of scientific discovery is"
outputs = pipe(prompt, max_new_tokens=25, do_sample=True, temperature=0.7)
print(outputs[0]["generated_text"])
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load model directly
tokenizer = AutoTokenizer.from_pretrained("KumarXAI/BiniGPT-0.1B-FM")
model = AutoModelForCausalLM.from_pretrained("KumarXAI/BiniGPT-0.1B-FM")
# Setup input
prompt = "In the heart of Mithila, a great scholar discovered"
inputs = tokenizer(prompt, return_tensors="pt")
# Generate with custom settings
output_ids = model.generate(
**inputs,
max_new_tokens=50,
do_sample=True,
temperature=0.8,
top_p=0.95,
pad_token_id=tokenizer.eos_token_id
)
print(tokenizer.decode(output_ids[0], skip_special_tokens=True))
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]