alhdrawi / README.md
Alhdrawi's picture
README.md
26fb3e6 verified
metadata
license: mit
language: en
tags:
  - custom
  - text-generation
  - arabic
  - chatbot

Alhdrawi AI Model

This is a custom large language model trained by Alhdrawi.
It supports Arabic and English text generation and is intended for use in chatbot systems, text completion, and more.

Example

You can run this model using the Hugging Face Inference API:

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("Alhdrawi/alhdrawi")
tokenizer = AutoTokenizer.from_pretrained("Alhdrawi/alhdrawi")

inputs = tokenizer("مرحبا، كيف أستطيع مساعدتك؟", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0]))