kotlarmilos/phi-4-mini-dotnet-runtime
Text Generation β’ Updated β’ 32
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This directory contains data for fine-tuning models and building RAGs for the dotnet/runtime repository.
train.parquet, test.parquet).data/
βββ raw/
| βββ sample/
β β βββ prs/
β β βββ diffs/
β βββ raw_data.tar
βββ processed/
β βββ train.parquet
β βββ test.parquet
βββ faiss/
βββ index.faiss
βββ index.pkl
PR is considered as a timeline with events. Input is PR metadata (title, description, label) and commit n-1, with all events between n-1 and n. Completion is n. It is possible to filter by time, label, authors, etc.
See scripts/README.md for details on running the crawler, dataset generation, and RAG indexing.
from datasets import load_dataset
# Load Parquet train/test splits
train = load_dataset("parquet", data_files="data/processed/train.parquet", split="train")
test = load_dataset("parquet", data_files="data/processed/test.parquet", split="train")
import faiss
import numpy as np
# Load FAISS index
index = faiss.read_index("data/faiss/index.faiss")
# Example query embedding (replace with your embedding)
query_embedding = ...
# Search
D, I = index.search(query_embedding.reshape(1, -1), k=5)
print("Top 5 similar PR indices:", I[0])
If you use this dataset, please refer to https://github.com/kotlarmilos/phi4-finetuned