TechChat

TechChat is a domain-specific chatbot fine-tuned from Mistral-7B-v0.1 using LoRA.

Model Details

  • Base model: mistralai/Mistral-7B-v0.1
  • Fine-tuning method: LoRA (Low-Rank Adaptation)
  • Max sequence length: 512 tokens

Intended Use

  • Technical Q&A in [your domain]
  • Chat-style interactions

Example

from transformers import AutoTokenizer, AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained("hari7261/TechChat")
tokenizer = AutoTokenizer.from_pretrained("hari7261/TechChat")

prompt = "Explain DNS in simple terms."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
18
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for hari7261/TechChat

Finetuned
(967)
this model

Space using hari7261/TechChat 1