YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co./docs/hub/model-cards#model-card-metadata)
Use following code to use English - Roman Urdu translation
Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Alisaeed001/Llama-2-7b-English-RomanUrdu-finetune")
Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Alisaeed001/Llama-2-7b-English-RomanUrdu-finetune") model = AutoModelForCausalLM.from_pretrained("Alisaeed001/Llama-2-7b-English-RomanUrdu-finetune")
- Downloads last month
- 28
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.