Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,54 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pretty_name: GitHub Repo Embeddings
|
| 5 |
+
license: cc-by-4.0
|
| 6 |
+
tags:
|
| 7 |
+
- github
|
| 8 |
+
- embeddings
|
| 9 |
+
- repositories
|
| 10 |
+
- recommender-system
|
| 11 |
+
task_categories:
|
| 12 |
+
- graph-ml
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1M<n<10M
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# GitHub Repo Embeddings (Dataset)
|
| 18 |
+
|
| 19 |
+
This dataset contains:
|
| 20 |
+
- GitHub repository embeddings learned from star co-occurrence.
|
| 21 |
+
- Raw data for training such embeddings (2016 - 2025 years)
|
| 22 |
+
|
| 23 |
+
It is generated by the same pipeline as [this repo](https://github.com/Puzer/github-repo-embeddings) and is intended for offline
|
| 24 |
+
analysis, research, and downstream search/indexing.
|
| 25 |
+
|
| 26 |
+
[See Demo which uses trained embeddings](http://puzer.github.io/)
|
| 27 |
+
|
| 28 |
+
## Summary
|
| 29 |
+
- Source: GitHub Archive (BigQuery) WatchEvent + repo metadata.
|
| 30 |
+
- Signal: repositories starred together by the same user.
|
| 31 |
+
- Model: `torch.nn.EmbeddingBag` trained with MultiSimilarityLoss.
|
| 32 |
+
- Embedding size: 128 dims.
|
| 33 |
+
|
| 34 |
+
## Files
|
| 35 |
+
### `starred_repos.parquet`
|
| 36 |
+
User-level training data.
|
| 37 |
+
- `repo_ids`: list[int], repo ids starred by a user (order preserved from events).
|
| 38 |
+
|
| 39 |
+
### `repos_meta.parquet`
|
| 40 |
+
Repository metadata aligned with the training data.
|
| 41 |
+
- `repo_id`: int
|
| 42 |
+
- `repo_name`: str (owner/name)
|
| 43 |
+
- `stars`: int, frequency of stars in this dataset
|
| 44 |
+
- `created_at`: datetime, repo creation date (first push event)
|
| 45 |
+
- `last_updated`: datetime, last push event
|
| 46 |
+
|
| 47 |
+
### `repo_embeddings_with_meta.parquet`
|
| 48 |
+
Repository metadata + learned embeddings aligned by `repo_id`.
|
| 49 |
+
- Includes columns from `repos_meta.parquet`
|
| 50 |
+
- `embedding`: list[float], 128-dim vector
|
| 51 |
+
|
| 52 |
+
## Notes
|
| 53 |
+
- The dataset is derived from public GitHub Archive data and is intended for
|
| 54 |
+
research and demo purposes.
|