-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix actions #111
Merged
Merged
Fix actions #111
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9343cba
Remove unused datasets
mruwnik fabd83a
remove reports
mruwnik b12596e
remove GdocsDataset
mruwnik 7786b2c
alignment newsletter
mruwnik 7a4c49d
update actions names
mruwnik d3461fc
weekly HF sync
mruwnik ac983fc
PR changes
mruwnik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Upload datasets to Huggingface | ||
on: | ||
workflow_dispatch: # allow manual triggering | ||
schedule: | ||
- cron: "0 3 * * 0" # Every Sunday at 3 AM | ||
|
||
jobs: | ||
update_dateset: | ||
strategy: | ||
matrix: | ||
datasource: | ||
- agentmodels | ||
- aiimpacts | ||
- aisafety.camp | ||
- aisafety.info | ||
- ai_alignment_playlist | ||
- ai_explained | ||
- ai_safety_talks | ||
- ai_safety_reading_group | ||
- ai_tech_tu_delft | ||
- alignmentforum | ||
- arbital | ||
- arxiv | ||
- carado.moe | ||
- cold_takes | ||
- deepmind_blog | ||
- deepmind_technical_blog | ||
- distill | ||
- eaforum | ||
- eleuther.ai | ||
- gdocs | ||
- generative.ink | ||
- gwern_blog | ||
- html_articles | ||
- importai | ||
- jsteinhardt_blog | ||
- lesswrong | ||
- markdown | ||
- miri | ||
- ml_safety_newsletter | ||
- openai.research | ||
- pdfs | ||
- rob_miles_ai_safety | ||
- vkrakovna_blog | ||
- yudkowsky_blog | ||
- xmls | ||
|
||
uses: ./.github/workflows/push-dataset.yml | ||
with: | ||
datasource: ${{ matrix.datasource }} | ||
coda_token: ${{ inputs.coda_token }} | ||
youtube_api_key: ${{ inputs.youtube_api_key }} | ||
db_user: ${{ inputs.db_user }} | ||
db_password: ${{ inputs.db_password }} | ||
db_host: ${{ inputs.db_host }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we pushing to HF? Or is HF pulling live data from MySQL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pushing to HF. The HF dataloader class thingy can pull from SQL, but the datasets on their page are static files which can be used by anyone. This step isn't really needed - it's just a nice bonus thing which might as well be left in