How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="MawaredHR/MawaredHR_Assistant")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("MawaredHR/MawaredHR_Assistant")
model = AutoModelForCausalLM.from_pretrained("MawaredHR/MawaredHR_Assistant")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

MaWared HR Support Model

Model Details

Overview

This model is a finetuned version of the deepseek-r1-distill-qwen-7b model, optimized for MaWared HR support. It was trained using Unsloth and Hugging Face's TRL library, enabling 2x faster training performance.

Features

  • HR Query Assistance: Provides accurate and efficient responses to HR-related inquiries.
  • Automated HR Support: Helps automate repetitive HR tasks such as leave requests, employee benefits information, and policy clarifications.
  • Enhanced Performance: Optimized for rapid inference and contextual understanding of HR-specific terminology.

Installation

To use this model, install the required dependencies:

pip install torch transformers accelerate unsloth

Acknowledgments

This model was developed using Unsloth and Hugging Face's TRL library. Special thanks to the open-source community for their contributions.

License

This model is licensed under the Apache-2.0 license.

vbnet Copy Edit

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for MawaredHR/MawaredHR_Assistant

Quantizations
2 models