tumblrbot 1.4.7__tar.gz → 1.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tumblrbot-1.5.0/.github/FUNDING.yml +15 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/.gitignore +4 -2
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/PKG-INFO +5 -4
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/README.md +3 -3
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/pyproject.toml +2 -1
- tumblrbot-1.5.0/sample_custom_prompts.jsonl +1580 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/__main__.py +5 -1
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/flow/download.py +12 -12
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/flow/examples.py +16 -22
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/flow/generate.py +13 -12
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/utils/models.py +14 -3
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/utils/tumblr.py +7 -5
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/.github/dependabot.yml +0 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/UNLICENSE +0 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/__init__.py +0 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/flow/__init__.py +0 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/flow/fine_tune.py +0 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/utils/__init__.py +0 -0
- {tumblrbot-1.4.7 → tumblrbot-1.5.0}/src/tumblrbot/utils/common.py +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# These are supported funding model platforms
|
|
2
|
+
|
|
3
|
+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
|
4
|
+
patreon: # Replace with a single Patreon username
|
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
|
6
|
+
ko_fi: maidscientistizutsumimarin
|
|
7
|
+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
|
11
|
+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
|
12
|
+
polar: # Replace with a single Polar username
|
|
13
|
+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
|
|
14
|
+
thanks_dev: # Replace with a single thanks.dev username
|
|
15
|
+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tumblrbot
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: An updated bot that posts to Tumblr, based on your very own blog!
|
|
5
5
|
Requires-Python: >= 3.13
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -13,6 +13,7 @@ Requires-Dist: requests-oauthlib
|
|
|
13
13
|
Requires-Dist: rich
|
|
14
14
|
Requires-Dist: tiktoken
|
|
15
15
|
Requires-Dist: tomlkit
|
|
16
|
+
Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
|
|
16
17
|
Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
|
|
17
18
|
|
|
18
19
|
# tumblrbot
|
|
@@ -30,8 +31,8 @@ Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
|
|
|
30
31
|
[OpenAI]: https://pypi.org/project/openai
|
|
31
32
|
[OpenAI Pricing]: https://platform.openai.com/docs/pricing#fine-tuning
|
|
32
33
|
[OpenAI Tokens]: https://platform.openai.com/settings/organization/api-keys
|
|
34
|
+
[OpenAI Moderation API]: https://platform.openai.com/docs/guides/moderation
|
|
33
35
|
[Fine-Tuning Portal]: https://platform.openai.com/finetune
|
|
34
|
-
[Moderation API]: https://platform.openai.com/docs/api-reference/moderations
|
|
35
36
|
|
|
36
37
|
[Tumblr]: https://tumblr.com
|
|
37
38
|
[Tumblr Tokens]: https://tumblr.com/oauth/apps
|
|
@@ -62,9 +63,8 @@ Features:
|
|
|
62
63
|
- Shows progress and previews the current post.
|
|
63
64
|
1. [Creates examples][Examples] to fine-tune the model from your posts.
|
|
64
65
|
- Filters out posts that contain more than just text data.
|
|
65
|
-
- Filters out any posts flagged by the [OpenAI] [Moderation API] (optional).
|
|
66
|
-
- Shows progress and previews the current post.
|
|
67
66
|
- Adds custom user messages and assistant responses to the dataset from the [configured][config] file.
|
|
67
|
+
1. Filters out any posts flagged by the [OpenAI Moderation API].
|
|
68
68
|
1. [Uploads examples][Fine-Tune] to [OpenAI] and begins the fine-tuning process.
|
|
69
69
|
- Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
|
|
70
70
|
- Resumes monitoring the same fine-tuning process when restarted.
|
|
@@ -80,6 +80,7 @@ Features:
|
|
|
80
80
|
**To-Do:**
|
|
81
81
|
|
|
82
82
|
- Add code documentation.
|
|
83
|
+
- Add reblog generation logic.
|
|
83
84
|
|
|
84
85
|
**Known Issues:**
|
|
85
86
|
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
[OpenAI]: https://pypi.org/project/openai
|
|
14
14
|
[OpenAI Pricing]: https://platform.openai.com/docs/pricing#fine-tuning
|
|
15
15
|
[OpenAI Tokens]: https://platform.openai.com/settings/organization/api-keys
|
|
16
|
+
[OpenAI Moderation API]: https://platform.openai.com/docs/guides/moderation
|
|
16
17
|
[Fine-Tuning Portal]: https://platform.openai.com/finetune
|
|
17
|
-
[Moderation API]: https://platform.openai.com/docs/api-reference/moderations
|
|
18
18
|
|
|
19
19
|
[Tumblr]: https://tumblr.com
|
|
20
20
|
[Tumblr Tokens]: https://tumblr.com/oauth/apps
|
|
@@ -45,9 +45,8 @@ Features:
|
|
|
45
45
|
- Shows progress and previews the current post.
|
|
46
46
|
1. [Creates examples][Examples] to fine-tune the model from your posts.
|
|
47
47
|
- Filters out posts that contain more than just text data.
|
|
48
|
-
- Filters out any posts flagged by the [OpenAI] [Moderation API] (optional).
|
|
49
|
-
- Shows progress and previews the current post.
|
|
50
48
|
- Adds custom user messages and assistant responses to the dataset from the [configured][config] file.
|
|
49
|
+
1. Filters out any posts flagged by the [OpenAI Moderation API].
|
|
51
50
|
1. [Uploads examples][Fine-Tune] to [OpenAI] and begins the fine-tuning process.
|
|
52
51
|
- Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
|
|
53
52
|
- Resumes monitoring the same fine-tuning process when restarted.
|
|
@@ -63,6 +62,7 @@ Features:
|
|
|
63
62
|
**To-Do:**
|
|
64
63
|
|
|
65
64
|
- Add code documentation.
|
|
65
|
+
- Add reblog generation logic.
|
|
66
66
|
|
|
67
67
|
**Known Issues:**
|
|
68
68
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tumblrbot"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.5.0"
|
|
4
4
|
description = "An updated bot that posts to Tumblr, based on your very own blog!"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">= 3.13"
|
|
@@ -17,6 +17,7 @@ dependencies = [
|
|
|
17
17
|
]
|
|
18
18
|
|
|
19
19
|
[project.urls]
|
|
20
|
+
Funding = "https://ko-fi.com/maidscientistizutsumimarin"
|
|
20
21
|
Source = "https://github.com/MaidScientistIzutsumiMarin/tumblrbot"
|
|
21
22
|
|
|
22
23
|
[project.scripts]
|