Mistral 7B Interview Coach

Published by @hire_coach_ai · Community adapter

Technical and behavioural interview preparation. Generates STAR-method answer frameworks, algorithm walkthrough explanations, and company-specific culture fit questions.

Usage

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3")
base = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3")
model = PeftModel.from_pretrained(base, "modelforgelab/mistral-7b-interview-prep-lora")

inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Compatibility

  • transformers>=4.38
  • vLLM

You might also like