Downloads · 30 days
1.6K
12% of all-time downloads
duyntnet/DocsGPT-7B-imatrix-GGUF
DocsGPT-7B-imatrix-GGUF is a text generation model from duyntnet. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
Quantizations of https://huggingface.co/Arc53/DocsGPT-7B
Downloads · 30 days
1.6K
12% of all-time downloads
All-time downloads
13.7K
Public
Repo size
93.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf93.1 GB · 100%
From the Hugging Face model README
Quantizations of https://huggingface.co/Arc53/DocsGPT-7B
This model is fine tuned on top of llama-2-7b
DocsGPT is optimized for Documentation: Specifically fine-tuned for providing answers that are based on documentation provided in context, making it particularly useful for developers and technical support teams.
We used 50k high quality examples to finetune it over 1.5 days on A10G GPU. We used lora fine tuning process.
Its an apache-2.0 license so you can use it for commercial purposes too.
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
model = "Arc53/docsgpt-7b"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto",
)
sequences = pipeline(
"Girafatron is obsessed with giraffes, the most glorious animal on the face of this Earth. Giraftron believes all other animals are irrelevant when compared to the glorious majesty of the giraffe.\nDaniel: Hello, Girafatron!\nGirafatron:",
max_length=200,
do_sample=True,
top_k=10,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")