File size: 1,838 Bytes
246c2b2 93f029c 246c2b2 93f029c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | ---
license: gpl-3.0
tags:
- rpm
- build-time-prediction
- fedora
- copr
- lightgbm
- xgboost
---
# RPMeta — RPM Build Duration Prediction Models
Pre-trained models for [RPMeta](https://github.com/fedora-copr/rpmeta), a service that predicts RPM package build durations based on package metadata and hardware resources.
## Repository Structure
```
lightgbm/
native_model.txt # LightGBM native model
xgboost/
native_model.ubj # XGBoost native model (universal binary JSON)
categories.json # Categorical feature encoding map (shared by both models)
```
## Usage
### With RPMeta CLI
```bash
dnf copr enable @copr/rpmeta
dnf install rpmeta rpmeta+server
# Download the model
huggingface-cli download fedora-copr/rpmeta --local-dir /var/lib/rpmeta/models
```
And run the rpmeta service.
### Direct download (no authentication needed)
```bash
# LightGBM model
curl -L https://huggingface.co/fedora-copr/rpmeta/resolve/main/lightgbm/native_model.txt -o native_model.txt
# XGBoost model
curl -L https://huggingface.co/fedora-copr/rpmeta/resolve/main/xgboost/native_model.ubj -o native_model.ubj
# Categories
curl -L https://huggingface.co/fedora-copr/rpmeta/resolve/main/categories.json -o categories.json
```
## Model Details
- **Training data**: Copr build records from Fedora infrastructure
- **Task**: Regression — predict build duration in seconds from package metadata and hardware info
## Versioning
Model versions are tracked via git tags (e.g. `v2025.12.24`). To pin a specific version:
```bash
curl -L https://huggingface.co/fedora-copr/rpmeta/resolve/v2025.12.24/lightgbm/native_model.txt -o native_model.txt
```
Training history and hyperparameter tuning results are preserved on the `training-history` branch.
|