Downloads · 30 days
110
6% of all-time downloads
RichardErkhov/BueormLLC_-_RAGPT-2_unfunctional-gguf
BueormLLC_-_RAGPT-2_unfunctional-gguf 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
110
6% of all-time downloads
All-time downloads
2K
Public
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf2.4 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
RAGPT-2_unfunctional - GGUF
| Name | Quant method | Size |
|---|---|---|
| RAGPT-2_unfunctional.Q2_K.gguf | Q2_K | 0.08GB |
| RAGPT-2_unfunctional.IQ3_XS.gguf | IQ3_XS | 0.08GB |
| RAGPT-2_unfunctional.IQ3_S.gguf | IQ3_S | 0.08GB |
| RAGPT-2_unfunctional.Q3_K_S.gguf | Q3_K_S | 0.08GB |
| RAGPT-2_unfunctional.IQ3_M.gguf | IQ3_M | 0.09GB |
| RAGPT-2_unfunctional.Q3_K.gguf | Q3_K | 0.09GB |
| RAGPT-2_unfunctional.Q3_K_M.gguf | Q3_K_M | 0.09GB |
| RAGPT-2_unfunctional.Q3_K_L.gguf | Q3_K_L | 0.1GB |
| RAGPT-2_unfunctional.IQ4_XS.gguf | IQ4_XS | 0.1GB |
| RAGPT-2_unfunctional.Q4_0.gguf | Q4_0 | 0.1GB |
| RAGPT-2_unfunctional.IQ4_NL.gguf | IQ4_NL | 0.1GB |
| RAGPT-2_unfunctional.Q4_K_S.gguf | Q4_K_S | 0.1GB |
| RAGPT-2_unfunctional.Q4_K.gguf | Q4_K | 0.11GB |
| RAGPT-2_unfunctional.Q4_K_M.gguf | Q4_K_M | 0.11GB |
| RAGPT-2_unfunctional.Q4_1.gguf | Q4_1 | 0.11GB |
| RAGPT-2_unfunctional.Q5_0.gguf | Q5_0 | 0.11GB |
| RAGPT-2_unfunctional.Q5_K_S.gguf | Q5_K_S | 0.11GB |
| RAGPT-2_unfunctional.Q5_K.gguf | Q5_K | 0.12GB |
| RAGPT-2_unfunctional.Q5_K_M.gguf | Q5_K_M | 0.12GB |
| RAGPT-2_unfunctional.Q5_1.gguf | Q5_1 | 0.12GB |
| RAGPT-2_unfunctional.Q6_K.gguf | Q6_K | 0.13GB |
| RAGPT-2_unfunctional.Q8_0.gguf | Q8_0 | 0.17GB |
license: mit datasets:
RAGPT-2 is a fine-tuned version of GPT-2 small, specifically adapted for context-based question answering tasks. This model has been trained to generate relevant answers based on a given context and question, similar to a Retrieval-Augmented Generation (RAG) system.
The model was fine-tuned using the "neural-bridge/rag-dataset-12000" and "neural-bridge/rag-dataset-1200" dataset, which contains:
The fine-tuning process involved:
To use the model:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("BueormLLC/RAGPT-2_unfunctional")
model = AutoModelForCausalLM.from_pretrained("BueormLLC/RAGPT-2_unfunctional")
context = "Mount Everest is the highest mountain in the world, with a height of 8,848 meters."
question = "What is the height of Mount Everest?"
input_text = f"Context: {context}\nquestion: {question}\nanswer:"
input_ids = tokenizer.encode(input_text, return_tensors="pt")
output = model.generate(input_ids, max_length=150, num_return_sequences=1)
answer = tokenizer.decode(output[0], skip_special_tokens=True)
print(f"Respuesta generada: {answer}")
Users should be aware that this model, like all language models, may reflect biases present in its training data. It should not be used as a sole source of information for critical decisions.
If you use this model in your research, please cite:
@misc{RAGPT,
author = {Bueorm},
title = {RAGPT-2: Fine-tuned GPT-2 for Context-Based Question Answering},
year = {2024},
publisher = {GitHub},
journal = {None},
howpublished = {\url{https://huggingface.co/BueormLLC/RAGPT-2_unfunctional}}
}