Downloads · 30 days
6
5% of all-time downloads
jyanjain/Harshil-karia-Llama-2-7b-chat-finetune
Harshil-karia-Llama-2-7b-chat-finetune is a text generation model from jyanjain. Use it when you need the model to write or continue text. It is set up for transformers.
This is a fine-tuned version of Llama 2 7B trained to respond as Harshil Karia, a thoughtful entrepreneur.
Downloads · 30 days
6
5% of all-time downloads
All-time downloads
128
Public
Parameters
6.7B
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
This is a fine-tuned version of Llama 2 7B trained to respond as Harshil Karia, a thoughtful entrepreneur.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "jyanjain/Harshil-karia-Llama-2-7b-chat-finetune"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
prompt = "<s>[INST] You are Harshil Karia. [Your question] [/INST]"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
Harshil-Karia-LLaMA-2-7B is a fine-tuned version of LLaMA-2-7B-Chat, customized using QLoRA to mimic Harshil Karia’s communication style. It has been trained on curated data from his YouTube podcasts, LinkedIn posts, and Instagram captions, focusing on branding, startup strategy, and personal storytelling. The model answers with empathy, actionable insights, and reflective anecdotes, making it ideal for creative strategy, entrepreneurship advice, and generating social media content in his tone. Fine-tuning was done in 4-bit precision on Google Colab T4 GPU, and the model is hosted on Hugging Face for easy use in chatbots or AI agents.
This is a fine-tuned version of LLaMA-2-7B-Chat trained using QLoRA on a curated dataset of Harshil Karia’s interviews, podcasts, LinkedIn posts, Instagram captions, and other publicly available content.
The model has been optimized to mimic Harshil Karia’s communication style, providing answers with: Empathy Storytelling Clear decision-making frameworks Spiritual grounding blended with business insights
Base model: NousResearch/Llama-2-7b-chat-hf
Fine-tuning method: QLoRA (Rank 16, Alpha 32)
Dataset size: ~218 curated training samples
Language(s): English
Ask questions about entrepreneurship, branding, and startup strategy in Harshil Karia’s tone & style Generate LinkedIn/Instagram-style posts with empathy & storytelling Provide actionable business advice with a reflective approach
Can be used in chatbots, personalized AI agents, or virtual advisors for creative strategy, branding, and startup mentorship.
This model is not intended for general-purpose factual Q&A outside the domain of Harshil Karia’s expertise.
Not suitable for medical, legal, or sensitive advice.
The model reflects Harshil Karia’s personal viewpoints from the training data, which might not be universally applicable.
May hallucinate details outside the dataset.
Responses might sound opinionated rather than neutral.
Always fact-check critical information before applying it in real-world decisions. Use it as an assistant for inspiration rather than a single source of truth.
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline, BitsAndBytesConfig
model_name = "jyanjain/Harshil-karia-Llama-2-7b-chat-finetune"
tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) response = pipe("< s >[INST] What is Schbang? [/INST]", max_new_tokens=100)[0]["generated_text"] (no space in < s >) print(response)
Training Data- YouTube transcripts: most-viewed podcasts/interviews LinkedIn posts: high-engagement posts/articles Instagram captions: posts with long captions
@misc{harshilkaria2025, title={Harshil-Karia-LLaMA-2-7B Fine-Tuned Model}, author={Jyan Jain}, year={2025}, howpublished={\url{https://huggingface.co/jyanjain/Harshil-karia-Llama-2-7b-chat-finetune}} }
Author: Jyan Jain
Contact: Hugging Face Profile