test
test
Discover curated training and testing scripts for HuggingFace, PyTorch, LoRA & more. Load directly into FrameTrain – in seconds.
8 scripts found
test
Teach CLIP your own products, style or domain terms for image search and zero-shot classification. Reads metadata.csv (file_name, caption) or an image with a .txt file of the same name and reports contrastive loss and retrieval recall@1 before and after.
Find unusual rows without labels: an autoencoder learns what a normal row looks like and scores every row by its reconstruction error. Works on CSV, TSV or Parquet with numeric and categorical columns and writes the scores of all rows plus a threshold. The base model's weights are not used, so a blank Tabular model is enough.
Adapt Whisper to your speakers, accent or vocabulary with little memory: only a small LoRA adapter is trained and merged at the end, so the saved version works like a normal Whisper model in tests, laboratory and hosting. Reads audio + transcript pairs and reports word error rate before and after.
Does the prediction survive small changes? Runs the test data as it is and with lower case, removed punctuation, typos and extra spaces, then reports accuracy per variant and how often the prediction flips, with an example.
Can you trust the confidence? Compares confidence with actual accuracy in ten bins, reports the Expected Calibration Error and searches a temperature that closes the gap.
Forecast the last part of your time series with the pretrained Chronos model, without any training, and compare it with a naive forecast (MAE, MASE, coverage of the 80 % band). The number your own model has to beat. Downloads chronos-bolt-tiny (about 35 MB) unless the selected model is a Chronos checkpoint.
Continue pre-training BERT, RoBERTa, DistilBERT or ELECTRA on your own unlabeled text, so a later classification or NER fine-tuning starts from a model that knows your vocabulary. Reads any table with a text column or .txt files and reports validation loss and perplexity before and after.
A free, community-run collection of ML scripts – for anyone who wants to train or test AI models locally.
Complete Python scripts for fine-tuning HuggingFace models. From LoRA and QLoRA for LLMs to BERT classifiers and vision transformers – all scripts run directly in FrameTrain on your local GPU.
Evaluation and benchmark scripts for testing trained models. Measures accuracy, F1 score, latency, and throughput. Compatible with all model formats FrameTrain supports: PyTorch, SafeTensors, and GGUF.
The FrameTrain team reviews and verifies selected scripts for correctness, safety, and best practices. Verified scripts carry a green badge and are shown with priority.
All scripts in the Open Library are built on common open-source ML frameworks and run natively in FrameTrain on Windows, macOS (Apple Silicon), and Linux.
Use search and filters by type (training / test), framework, and verification status to find the right script.
Open the detail view, read the full script, check tags and metadata – before you download it.
In the desktop app, click "Open Library" – the script loads directly into the Dev Train or Dev Test editor.
In the desktop app, open the Open Library with one click – and load any script straight into your editor. No copy-paste, no file chaos.