Downloads · 30 days
0
Aurumz/RCT-Reviewer
RCT-Reviewer is a machine learning model from Aurumz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gpl-3.0.
<p align="center" <img src="bannertransparent.png" alt="Banner" width="80%"/ </p
Downloads · 30 days
0
Access
Public
Updated Jun 14, 2026
Repo size
342 MB
Likes
1
Public
Click a slice to open those files.
.npz72.7 MB · 88%
From the Hugging Face model README
This repository contains the machine learning model weights and artifacts required to run the RCT-Reviewer application. It includes models for Risk of Bias assessment, PICO extraction, and RCT classification.
This repository contains joblib-converted model artifacts originally developed in RobotReviewer. The models are redistributed here for ease of deployment in the RCT-Reviewer Streamlit application.
This repository strictly provides models in modern, Python-native formats optimized for the RCT-Reviewer application:
.joblib: Compressed serialized models (typically classifiers or vectorizers)..npz: NumPy/Numpy sparse matrices (typically model weights or embeddings).Note: Legacy .pickle, .pck, and TensorFlow/CNN files are not included in this repository. You may find those here: https://huggingface.co/Aurumz/RCT-Reviewer-pickle
You can load these models directly in Python using joblib and scipy/numpy.
Ensure you have the necessary libraries installed:
pip install joblib scikit-learn scipy numpy huggingface_hub
The RCT-Reviewer application uses the huggingface_hub library to download the models to a local cache directory. You can replicate this behavior using the following snippet:
from huggingface_hub import snapshot_download
from pathlib import Path
# Define cache directory
models_dir = Path.home() / ".cache" / "rct_reviewer" / "models"
# Download the entire repository
snapshot_download(
repo_id="Aurumz/RCT-Reviewer",
repo_type="model",
local_dir=models_dir,
max_workers=1
)
print(f"Models downloaded to: {models_dir}")
.joblib ModelsUse the joblib library to load classifier artifacts directly.
import joblib
from huggingface_hub import hf_hub_download
# Example: Downloading a specific joblib model
model_path = hf_hub_download(
repo_id="Aurumz/RCT-Reviewer",
filename="data/bias/bias_classifier.joblib"
)
# Load the model
model = joblib.load(model_path)
print(f"Model loaded successfully: {type(model)}")
.npz Weight FilesThe .npz files typically contain sparse matrices used for Linear SVM weights or TF-IDF vectors.
import numpy as np
from scipy.sparse import load_npz
from huggingface_hub import hf_hub_download
# Example: Downloading sparse weights
weights_path = hf_hub_download(
repo_id="Aurumz/RCT-Reviewer",
filename="data/rct/rct_svm_weights.npz"
)
# Load the sparse matrix
weights = load_npz(weights_path)
# If it is a standard dense numpy array, use:
# weights = np.load(weights_path)
print(f"Weights shape: {weights.shape}")
The artifacts are organized by task within the data directory:
data/
├── bias/ # Risk of Bias models (.npz, .joblib)
├── pico/ # PICO extraction models (.npz)
├── rct/ # RCT classification weights (.npz)
└── vocab/ # Vocabulary and embedding files (.npz)