Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c4988be
Point to macrocosmos entity
bkb2135 Jul 12, 2024
bdad04c
Adjust project name
bkb2135 Jul 12, 2024
b914060
Increase spec version to 2.5.2
bkb2135 Jul 12, 2024
5f5f9d3
Merge pull request #286 from macrocosm-os/hot-fix/redirect-wandb
bkb2135 Jul 12, 2024
75546a6
v2.5.2 (#287) (#293)
dbobrenko Jul 18, 2024
2c35a27
v2.5.2 (#287) (#298)
bkb2135 Jul 22, 2024
ef7dedc
Fix README logo image to adapt to color scheme (#303)
minopeef Jul 22, 2024
bfdb5fb
Raised an exception after trying 3 times to generate the challenge qu…
frozenmafia Jul 22, 2024
91af582
SN1-13: Organic Scoring implementation (#268)
dbobrenko Jul 25, 2024
3142088
Hotfix undefined challenge_time (#308)
dbobrenko Jul 25, 2024
02dc70f
Raise version to 2.6.0 (#310)
bkb2135 Jul 25, 2024
b643f10
Remove Reliance on Wikipedia Sections (#306)
bkb2135 Jul 25, 2024
15de83a
Restart on bittensor error (#278)
bkb2135 Jul 25, 2024
142c19b
Resolve merge conflicts with main branch (#311)
dbobrenko Jul 25, 2024
8abe06c
Resolve merge conflict with main (#312)
dbobrenko Jul 25, 2024
6346a72
Merge branch 'main' into staging
Hollyqui Jul 25, 2024
2407921
Fix Dataset Creation (#314)
bkb2135 Jul 25, 2024
592b345
Fix Wiki IndexError and uninstall uvloop (#315)
bkb2135 Jul 25, 2024
3582d67
Enable organic weight set, fix WASM errors (#324)
dbobrenko Aug 6, 2024
3a1efb0
Fix Mock model and pipeline (#326)
dbobrenko Aug 6, 2024
2914af4
Fix wikipedia summary and date (#325)
bkb2135 Aug 6, 2024
b63beed
Increase version to 2.6.1 (#327)
dbobrenko Aug 6, 2024
42e4974
Merge branch 'main' into staging
dbobrenko Aug 6, 2024
2851ebf
Remove code duplicate (#330)
dbobrenko Aug 6, 2024
42f4ba1
Add miner UIDs to wandb
dbobrenko Aug 6, 2024
a613d7b
Add miner UIDs wandb logging
dbobrenko Aug 6, 2024
c0d8841
Merge pull request #331 from macrocosm-os/feature/SN1-173-log-organic…
bkb2135 Aug 6, 2024
f8eddc9
Merge pull request #332 from macrocosm-os/main
bkb2135 Aug 7, 2024
ecb3378
Hotfix: add content check for summary (#333)
bkb2135 Aug 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prompting/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# DEALINGS IN THE SOFTWARE.

# Define the version of the template module.
__version__ = "2.6.1"
__version__ = "2.6.2"
version_split = __version__.split(".")
__spec_version__ = (
(10000 * int(version_split[0]))
Expand Down
6 changes: 4 additions & 2 deletions prompting/tools/datasets/wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ def process_page(
sections = {k: v for k, v in sections.items() if k not in exclude_sections}

if selector == "all":
return ("Full Page", "\n\n".join(sections.values())) , sections.keys()

content = "\n\n".join(sections.values())
if not valid_section or valid_section(content):
return ("Full Page", content), sections.keys()
return None, sections.keys()
valid_sections = [(key, value) for key, value in sections.items() if not valid_section or valid_section(sections[key])]

if valid_sections:
Expand Down