ONNX Model Zoo

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

  1. Create and activate a virtualenv:
python -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Download and save the base model into ./base_model/:
python download_base_model.py
  1. 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

fill-mask transformers
transformers onnx safetensors fill-mask ps dataset:tasal9/ZamAI-Pashto-Dataset-Cleaned base_model:FacebookAI/xlm-roberta-base base_model:quantized:FacebookAI/xlm-roberta-base license:mit endpoints_compatible region:us
↓ 0 ♥ 0

Created: 2025-07-26

Updated: 2025-11-28

View on Hugging Face

Files (19)

.gitattributes
.gitignore
README.md
adapters/pashto-lora/README.md
adapters/pashto-lora/adapter_config.json
adapters/pashto-lora/adapter_model.safetensors
base_model/README.md
base_model/config.json
base_model/flax_model.msgpack
base_model/model.onnx ONNX
base_model/model.safetensors
base_model/pytorch_model.bin
base_model/sentencepiece.bpe.model
base_model/tf_model.h5
base_model/tokenizer.json
base_model/tokenizer_config.json
download_base_model.py
inference.py
requirements.txt

Related models