tasal9/ZamAI-Facebook-XLM-Pashto
By tasal9 · ↓ 0 · ♥ 0 · Updated 2025-11-28
What's in this repo
This page lists the files in tasal9/ZamAI-Facebook-XLM-Pashto, including model.onnx.
- 1 ONNX models (.onnx files)
- 19 files, including 4 .json, 3 .md, 2 .safetensors, 2 .py, 1 .msgpack, 1 .onnx
- Last updated 2025-11-28
ONNX files
| File | Size | Download |
|---|---|---|
| base_model/model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
ZamAI-Facebook-XLM-Pashto
Overview
This repository contains helper scripts to download and persist the base model facebook/xlm-roberta-base locally (into ./base_model/) and to run a small fill-mask inference example. Large model files should be handled using Git LFS; .gitattributes at the repo root already includes common model file patterns.
Quick start
- Create and activate a virtualenv:
python -m venv .venv
source .venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Download and save the base model into
./base_model/:
python download_base_model.py
- Run the example inference (will load from
./base_model/if present):
python inference.py
Files
download_base_model.py— downloads the Hugging Face model and saves to./base_model/.inference.py— small script to run a fill-mask example.requirements.txt— Python dependencies..gitignore— common ignores.
If you want me to download the base model into the repository now (it will download ~0.5–1.2 GB depending on files), tell me and I'll run the script and save the model into ./base_model/
license: mit datasets:
- tasal9/ZamAI-Pashto-Dataset-Cleaned language:
- ps metrics:
- accuracy base_model:
- FacebookAI/xlm-roberta-base pipeline_tag: fill-mask library_name: adapter-transformers
Model info
Created: 2025-07-26
Updated: 2025-11-28
View on Hugging FaceFiles (19)
Related models
More from tasal9
No other models by this author.