Run this model with HF Jobs

Run tasal9/pashto-base-bloom on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/tasal9/pashto-base-bloom. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/tasal9/pashto-base-bloom on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/tasal9/pashto-base-bloom. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/tasal9/pashto-base-bloom. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

pashto base bloom

Task: text-generation / instruction-following
Languages: en, ps
Base model: bigscience/bloomz-560m
Training dataset(s): tasal9/Pashto-Dataset-Creating-Dataset

Overview

This model is part of the ZamAI Pashto language AI collection. It is fine-tuned/adapted for text-generation / instruction-following in Pashto and related languages.

Intended uses & limitations

  • Use for research, prototyping, and production assistance in Pashto NLP.
  • Evaluate outputs carefully before deploying in high-stakes applications.
  • May reflect biases present in the pre-training or fine-tuning data.

How to use

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "tasal9/pashto-base-bloom"
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)

prompt = "سلام دې وي! تاسو څنګه یاست؟"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128, do_sample=True, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Training data

The model was trained or fine-tuned on: tasal9/Pashto-Dataset-Creating-Dataset.

Evaluation

Metric Value Description
perplexity TBD Add measured value
bleu TBD Add measured value
rouge TBD Add measured value

Update this table with your measured results and link to the evaluation script/notebook.

Citation

@misc{zamai_pashto,
  title = {{pashto base bloom}},
  author = {ZamAI / Yaqoob Tasal},
  year = {2024},
  howpublished = {\url{https://huggingface.co/tasal9/pashto-base-bloom}}
}

License

This model is released under the mit license.

Downloads last month
44
Safetensors
Model size
0.6B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tasal9/pashto-base-bloom

Finetuned
(34)
this model