Downloads · 30 days
0
chaitanya42/Falcon-7b-chat-new-finetune
Falcon-7b-chat-new-finetune is a text generation model from chaitanya42. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
This model is a fine-tuned version of ybelkada/falcon-7b-sharded-bf16 using the timdettmers/openassistant-guanaco dataset. It has been fine-tuned using LoRA (Low-Rank Adaptation), PEFT (Parameter-Efficient Fine-Tuning…
Downloads · 30 days
0
Access
Public
Updated Oct 14, 2024
Repo size
27.7 GB
Likes
0
Public
Click a slice to open those files.
.bin13.8 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of ybelkada/falcon-7b-sharded-bf16 using the timdettmers/openassistant-guanaco dataset. It has been fine-tuned using LoRA (Low-Rank Adaptation), PEFT (Parameter-Efficient Fine-Tuning), and TRL (Transformer Reinforcement Learning) techniques. It also leverages BitsAndBytes for 4-bit quantization.
This model is intended for conversational AI tasks, such as chatbots and dialogue systems. It has been trained on a large dataset of human conversations and is capable of generating human-like text.
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
prompt = "Explain AI vs ML vs DL vs Generative AI."
model_name = "chaitanya42/Falcon-7b-chat-new-finetune"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer, max_length=200)
result = pipe(f"{prompt} \n")
print(result[0]['generated_text'])
This model was fine-tuned by chaitanya42.