Downloads · 30 days
1
4% of all-time downloads
RichardErkhov/Kimargin_-_GPT-NEO-1.3B-wiki-4bits
Kimargin_-_GPT-NEO-1.3B-wiki-4bits is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
1
4% of all-time downloads
All-time downloads
27
Public
Parameters
1.3B
895 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors895 MB · 99%
How the weights are stored.
U81.2B · 91%
From the Hugging Face model README
Quantization made by Richard Erkhov.
GPT-NEO-1.3B-wiki - bnb 4bits
library_name: transformers language:
This model is based on EleutherAI/gpt-neo-1.3B and has been fine-tuned on the Wikipedia dataset. It is designed for text generation tasks such as summarization, question answering, and text completion in English. The model is fine-tuned to improve the fluency and factual accuracy of the generated content.
This model can be used for tasks like text generation, summarization, and question-answering. It is useful for generating coherent and factual text based on English-language prompts.
The model can be fine-tuned further for domain-specific applications such as legal or medical text generation, creating specialized question-answering systems, or generating structured content from prompts.
The model should not be used in critical applications (e.g., legal, medical, or financial advice) as it may generate biased, inaccurate, or misleading information. It is also not suited for real-time decision-making.
Since the model was trained on Wikipedia data, it may inherit biases present in the dataset. Users should be cautious when using the model for generating sensitive or potentially biased content. The model may produce inaccurate or misleading text if given ambiguous or misleading prompts.
Users should verify the outputs of the model, especially in critical use cases, and should not rely solely on the model for factual accuracy without human verification.
To use the model, you can load it as follows:
tokenizer = AutoTokenizer.from_pretrained("Kimargin/GPT-NEO-1.3B-wiki") model = AutoModelForCausalLM.from_pretrained("Kimargin/GPT-NEO-1.3B-wiki")
input_text = "What happened during World War II?" inputs = tokenizer(input_text, return_tensors="pt") outputs = model.generate(inputs["input_ids"], max_length=100) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned on a subset of the Wikipedia dataset, which contains a broad range of general knowledge topics. This dataset was chosen to improve the model's capability to generate accurate, general-domain knowledge.
The model was fine-tuned using mixed precision (float16) on multiple GPUs for three epochs. The training was done to minimize perplexity and improve fluency in generated text.
The model was evaluated using a validation subset of the Wikipedia dataset to measure its performance on general text generation tasks.
The model demonstrates good performance in generating coherent and contextually relevant text, but it may still struggle with niche or specialized topics that are underrepresented in its training data.
Training large models like GPT-Neo has a significant carbon footprint due to the computational resources required. The estimated environmental impact of fine-tuning this model is as follows:
The model is a causal language model with 1.3 billion parameters, based on the GPT-Neo architecture. It generates text by predicting the next word in a sequence, making it suitable for text completion and generation tasks.
The model was trained on NVIDIA A100 GPUs using Google Cloud infrastructure.
If you use this model, please cite the original GPT-Neo model as follows:
@article{gpt-neo,
author = {EleutherAI},
title = {GPT-Neo: Large Scale Autoregressive Language Model},
year = {2021},
url = {https://github.com/EleutherAI/gpt-neo}
}